[wp-trac] [WordPress Trac] #24602: wp_get_single_post() should not use 'edit' context for get_post()
WordPress Trac
noreply at wordpress.org
Wed Jun 19 07:56:47 UTC 2013
#24602: wp_get_single_post() should not use 'edit' context for get_post()
--------------------------+-------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5.2
Component: Post Types | Version:
Severity: normal | Keywords:
--------------------------+-------------------
[21651] deprecated get_post_to_edit() and wp_get_single_post() at the same
time. In the process, wp_get_single_post()'s call to get_post() was
accidentally changed to use the 'edit' context, a copy-paste from
get_post_to_edit()'s deprecation.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24602>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list