Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #57039, comment 1


Ignore:
Timestamp:
11/08/2022 08:13:29 PM (2 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57039, comment 1

    v1 v2  
    55This bug was introduced in [54234].
    66
    7 Related: 36905
     7Related: #36905
    88
    99@spacedmonkey I think to easiest fix would be to check whether `$page_title` is empty before constructing the `WP_Query` and calling `_doing_it_wrong()` if it is and returning `null` in that case.   Thoughts?