[wp-trac] [WordPress Trac] #11439: get_body_class() does unnecessary work
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 27 17:45:58 UTC 2010
#11439: get_body_class() does unnecessary work
------------------------------+---------------------------------------------
Reporter: filosofo | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.0
Component: Template | Version: 2.9
Severity: normal | Resolution: fixed
Keywords: has-patch tested |
------------------------------+---------------------------------------------
Changes (by ryan):
* status: new => closed
* resolution: => fixed
Comment:
(In [12877]) Avoid call to setup_postdata(). Use get_queried_object_id().
Props filosofo. fixes #11439
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11439#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list