- Timestamp:
- 12/01/2014 12:32:19 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r30648 r30679 218 218 } 219 219 220 /** 221 * @global int $cat 222 * @param string $which 223 */ 220 224 protected function extra_tablenav( $which ) { 221 225 global $cat; … … 269 273 } 270 274 275 /** 276 * @global string $mode 277 * @param string $which 278 */ 271 279 protected function pagination( $which ) { 272 280 global $mode; … … 376 384 } 377 385 386 /** 387 * @global WP_Query $wp_query 388 * @global int $per_page 389 * @param array $posts 390 * @param int $level 391 */ 378 392 public function display_rows( $posts = array(), $level = 0 ) { 379 393 global $wp_query, $per_page; … … 391 405 } 392 406 407 /** 408 * @global string $mode 409 * @param array $posts 410 * @param int $level 411 */ 393 412 private function _display_rows( $posts, $level = 0 ) { 394 413 global $mode; … … 406 425 } 407 426 427 /** 428 * @global wpdb $wpdb 429 * @param array $pages 430 * @param int $pagenum 431 * @param int $per_page 432 * @return bool|null 433 */ 408 434 private function _display_rows_hierarchical( $pages, $pagenum = 1, $per_page = 20 ) { 409 435 global $wpdb; … … 543 569 } 544 570 571 /** 572 * @global string $mode 573 * @staticvar string $alternate 574 * @param WP_Post $post 575 * @param int $level 576 */ 545 577 public function single_row( $post, $level = 0 ) { 546 578 global $mode;
Note: See TracChangeset
for help on using the changeset viewer.