[wp-trac] [WordPress Trac] #28572: Modify get_the_ID() function to return false, if get_post() returns null, otherwise it generates a PHP warning
WordPress Trac
noreply at wordpress.org
Wed Jun 18 11:33:13 UTC 2014
#28572: Modify get_the_ID() function to return false, if get_post() returns null,
otherwise it generates a PHP warning
-------------------------------+------------------------
Reporter: UmeshSingla | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version: 2.1
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
-------------------------------+------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Duplicate of #17034.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28572#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list