[wp-trac] [WordPress Trac] #36980: get_the_ID () if used outside of a loop returns first post ID
WordPress Trac
noreply at wordpress.org
Thu Jun 2 04:48:31 UTC 2016
#36980: get_the_ID () if used outside of a loop returns first post ID
--------------------------+----------------------
Reporter: Themezly | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Query | Version: 4.5.2
Severity: normal | Resolution: wontfix
Keywords: close | Focuses:
--------------------------+----------------------
Changes (by peterwilsoncc):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
I agree with DD32 here, I think fixing this would break `is_singular`
pages too many sites.
Thanks for opening the ticket @Themezly, feel free to open tickets for any
further oddities or bugs you find.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36980#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list