- Timestamp:
- 09/09/2021 12:38:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-walker-nav-menu-checklist.php
r51739 r51779 62 62 * 63 63 * @since 3.0.0 64 * @since 5.9.0 Renamed `$item` to `$data_object` to match parent class for PHP 8 named parameter support. 64 * @since 5.9.0 Renamed `$item` to `$data_object` and `$id` to `$current_object_id` 65 * to match parent class for PHP 8 named parameter support. 65 66 * 66 67 * @global int $_nav_menu_placeholder 67 68 * @global int|string $nav_menu_selected_id 68 69 * 69 * @param string $output Used to append additional content (passed by reference).70 * @param WP_Post $data_object Menu item data object.71 * @param int $depth Depth of menu item. Used for padding.72 * @param stdClass $args Not used.73 * @param int $ id Not used.70 * @param string $output Used to append additional content (passed by reference). 71 * @param WP_Post $data_object Menu item data object. 72 * @param int $depth Depth of menu item. Used for padding. 73 * @param stdClass $args Not used. 74 * @param int $current_object_id Optional. ID of the current menu item. Default 0. 74 75 */ 75 public function start_el( &$output, $data_object, $depth = 0, $args = null, $ id = 0 ) {76 public function start_el( &$output, $data_object, $depth = 0, $args = null, $current_object_id = 0 ) { 76 77 global $_nav_menu_placeholder, $nav_menu_selected_id; 77 78
Note: See TracChangeset
for help on using the changeset viewer.