- Timestamp:
- 09/09/2021 01:02:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-walker-category-checklist.php
r51779 r51780 126 126 * 127 127 * @since 2.5.1 128 * @since 5.9.0 Renamed `$category` to `$data_object` to match parent class for PHP 8 named parameter support. 128 129 * 129 * @param string $output Used to append additional content (passed by reference).130 * @param WP_Term $ categoryThe current term object.131 * @param int $depth Depth of the term in reference to parents. Default 0.132 * @param array $args An array of arguments. @see wp_terms_checklist()130 * @param string $output Used to append additional content (passed by reference). 131 * @param WP_Term $data_object The current term object. 132 * @param int $depth Depth of the term in reference to parents. Default 0. 133 * @param array $args An array of arguments. @see wp_terms_checklist() 133 134 */ 134 public function end_el( &$output, $ category, $depth = 0, $args = array() ) {135 public function end_el( &$output, $data_object, $depth = 0, $args = array() ) { 135 136 $output .= "</li>\n"; 136 137 }
Note: See TracChangeset
for help on using the changeset viewer.