[wp-trac] [WordPress Trac] #11624: Stop using $id global
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 26 01:57:42 UTC 2009
#11624: Stop using $id global
-------------------------+--------------------------------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version:
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
We already have the $post global which has the ID field.
So the $id global can be replaced with $post->ID everywhere.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11624>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list