Changes between Initial Version and Version 1 of Ticket #57371, comment 2
- Timestamp:
- 04/29/2023 05:02:37 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57371, comment 2
initial v1 3 3 The global `$post` variable should stay. According to the [https://developer.wordpress.org/reference/functions/setup_postdata/ setup_postdata documentation], "`setup_postdata()` does **not** assign the global `$post` variable so it’s important that you do this yourself." 4 4 5 When removing the last parameter from the `twentytwenty_filter_wp_list_pages_item_classes` and `twentytwenty_add_sub_toggles_to_main_menu` functions, also remove the parameter from those functions' documentation and decrease the count argument in the related filters. 5 When removing the last parameter from the `twentytwenty_filter_wp_list_pages_item_classes` and `twentytwenty_add_sub_toggles_to_main_menu` functions, also remove the parameter from those functions' documentation and decrease the count argument in the related filters. (See #57397)