[wp-trac] [WordPress Trac] #23162: Allow to call parent_dropdown() for an arbitrary post

WordPress Trac noreply at wordpress.org
Mon Sep 14 04:43:50 UTC 2015


#23162: Allow to call parent_dropdown() for an arbitrary post
-------------------------------+-----------------------------
 Reporter:  charliespider      |       Owner:  wonderboymusic
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  1.5
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"34113"]:
 {{{
 #!CommitTicketReference repository="" revision="34113"
 Add sanity checks in `map_meta_cap()`, return `'do_not_allow'` when posts
 don't exist.

 Adds unit test.

 Props ocean90, nerrad, filosofo.
 Fixes #23162.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23162#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list