[wp-trac] [WordPress Trac] #42398: WP_Query with parameter post id 'p'=0 is not considered as a single post request
WordPress Trac
noreply at wordpress.org
Tue Feb 21 16:51:33 UTC 2023
#42398: WP_Query with parameter post id 'p'=0 is not considered as a single post
request
--------------------------+----------------------
Reporter: solo14000 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Query | Version: 4.7
Severity: normal | Resolution: invalid
Keywords: close | Focuses:
--------------------------+----------------------
Changes (by hellofromTonya):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
I agree with @dd32:
>Ignoring requests for `p=0` seems like the expected behaviour to me, it's
not a valid value for the parameter and thus isn't a single/singular
request.
Closing this ticket as it is the expected behavior.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42398#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list