[wp-trac] [WordPress Trac] #19572: switch_to_post() stack implementation (similar to switch_to_blog())
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 15 22:12:55 UTC 2011
#19572: switch_to_post() stack implementation (similar to switch_to_blog())
-------------------------+------------------------------
Reporter: alexkingorg | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by scribu):
Right, so then you wouldn't need to call switch_to_blog() at all. You
could just call {{{$whatever_post->content()}}} directly. Relevant ticket:
#12267
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19572#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list