- Timestamp:
- 08/23/2016 02:32:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r37674 r38334 95 95 $comments_per_page = $this->get_per_page( $comment_status ); 96 96 97 $doing_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;97 $doing_ajax = wp_doing_ajax(); 98 98 99 99 if ( isset( $_REQUEST['number'] ) ) { … … 601 601 602 602 // Reply and quickedit need a hide-if-no-js span when not added with ajax 603 if ( ( 'reply' === $action || 'quickedit' === $action ) && ! defined('DOING_AJAX') )603 if ( ( 'reply' === $action || 'quickedit' === $action ) && ! wp_doing_ajax() ) 604 604 $action .= ' hide-if-no-js'; 605 605 elseif ( ( $action === 'untrash' && $the_comment_status === 'trash' ) || ( $action === 'unspam' && $the_comment_status === 'spam' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.