Changeset 53174
- Timestamp:
- 04/13/2022 04:12:51 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r53109 r53174 263 263 * @param int $per_page 264 264 * @param int $count 265 * @param int $parent 265 * @param int $parent_term 266 266 * @param int $level 267 267 */ 268 private function _rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent = 0, $level = 0 ) {268 private function _rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent_term = 0, $level = 0 ) { 269 269 270 270 $end = $start + $per_page; … … 276 276 } 277 277 278 if ( $term->parent !== $parent && empty( $_REQUEST['s'] ) ) {278 if ( $term->parent !== $parent_term && empty( $_REQUEST['s'] ) ) { 279 279 continue; 280 280 }
Note: See TracChangeset
for help on using the changeset viewer.