Changeset 35518
- Timestamp:
- 11/04/2015 09:28:55 PM (10 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r35382 r35518 1587 1587 */ 1588 1588 function wp_ajax_inline_save() { 1589 global $wp_list_table ;1589 global $wp_list_table, $mode; 1590 1590 1591 1591 check_ajax_referer( 'inlineeditnonce', '_inline_edit' ); … … 1659 1659 1660 1660 $wp_list_table = _get_list_table( 'WP_Posts_List_Table', array( 'screen' => $_POST['screen'] ) ); 1661 1662 $mode = $_POST['post_view'] === 'excerpt' ? 'excerpt' : 'list'; 1661 1663 1662 1664 $level = 0; -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r35357 r35518 491 491 * 492 492 * @since 4.4.0 493 * 493 * 494 494 * @param string $which The location of the extra table nav markup: 'top' or 'bottom'. 495 495 */ … … 506 506 507 507 return parent::current_action(); 508 }509 510 /**511 * @global string $mode512 * @param string $which513 */514 protected function pagination( $which ) {515 global $mode;516 517 parent::pagination( $which );518 508 } 519 509 … … 648 638 649 639 /** 650 * @global string $mode651 640 * @param array $posts 652 641 * @param int $level 653 642 */ 654 643 private function _display_rows( $posts, $level = 0 ) { 655 global $mode;656 657 644 // Create array of post IDs. 658 645 $post_ids = array();
Note: See TracChangeset
for help on using the changeset viewer.