Changeset 8491
- Timestamp:
- 07/29/08 22:15:22 (1 month ago)
- Files:
-
- branches/2.6/wp-admin/admin-ajax.php (modified) (2 diffs)
- branches/2.6/wp-includes/js/wp-lists.js (modified) (1 diff)
- branches/2.6/wp-includes/script-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.6/wp-admin/admin-ajax.php
r8296 r8491 393 393 list($comments, $total) = _wp_get_comment_list( $status, $search, $start, 1 ); 394 394 395 if ( get_option('show_avatars') ) 396 add_filter( 'comment_author', 'floated_admin_avatar' ); 397 395 398 if ( !$comments ) 396 399 die('1'); … … 399 402 get_comment( $comment ); 400 403 ob_start(); 401 _wp_comment_row( $comment->comment_ID, $mode, false);404 _wp_comment_row( $comment->comment_ID, $mode, $status ); 402 405 $comment_list_item = ob_get_contents(); 403 406 ob_end_clean(); branches/2.6/wp-includes/js/wp-lists.js
r7669 r8491 88 88 var res = wpAjax.parseAjaxResponse(r, s.response, s.element); 89 89 if ( !res || res.errors ) { return false; } 90 91 if ( true === res ) { return true; } 90 92 91 93 jQuery.each( res.responses, function() { branches/2.6/wp-includes/script-loader.php
r8396 r8491 51 51 $scripts->add( 'autosave', '/wp-includes/js/autosave.js', array('schedule', 'wp-ajax-response'), '20080622' ); 52 52 53 $scripts->add( 'wp-lists', '/wp-includes/js/wp-lists.js', array('wp-ajax-response'), '20080 411' );53 $scripts->add( 'wp-lists', '/wp-includes/js/wp-lists.js', array('wp-ajax-response'), '20080729' ); 54 54 $scripts->localize( 'wp-lists', 'wpListL10n', array( 55 55 'url' => admin_url('admin-ajax.php')
