Changes between Initial Version and Version 2 of Ticket #55722
- Timestamp:
- 05/13/2022 09:51:31 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55722
- Property Keywords has-patch added
-
Property
Milestone
changed from
Awaiting Review
to6.1
-
Ticket #55722 – Description
initial v2 1 While working on [https://core.trac.wordpress.org/ticket/55104]we noticed that other functions were also missing guard conditions.1 While working on #55104 we noticed that other functions were also missing guard conditions. 2 2 In these cases, $wp_query could be null which would cause a fatal error. It would be safer to check if $wp_query is set before.