[wp-trac] [WordPress Trac] #34034: Hook for Page Attributes Metabox

WordPress Trac noreply at wordpress.org
Mon Oct 12 22:17:18 UTC 2015


#34034: Hook for Page Attributes Metabox
--------------------------------+------------------------------
 Reporter:  markcallen          |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  administration
--------------------------------+------------------------------
Changes (by markcallen):

 * keywords:  has-patch =>


Comment:

 This adds a hook to the Publish (aka submitbox)  - this ticket refers to
 the Page Attributes metabox.

 The `post_submitbox_misc_actions` hook is sufficient because you can test
 for post types in the callback.

 It just needs, in my opinion, `do_action( 'page_attributes_misc_actions'
 );` adding in or around L777 of the wp-admin/meta-boxes.php file.

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


More information about the wp-trac mailing list