[wp-trac] [WordPress Trac] #35015: Pass $id to filters in the_guid and get_the_guid()
WordPress Trac
noreply at wordpress.org
Fri Dec 11 15:41:47 UTC 2015
#35015: Pass $id to filters in the_guid and get_the_guid()
-------------------------------+-----------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.5
Component: Posts, Post Types | Version:
Severity: normal | Keywords: has-patch
Focuses: |
-------------------------------+-----------------------
Because `$id` can be passed to `the_guid()`, filter callbacks can't be
100% precise by assuming `$id` should be the global post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35015>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list