[wp-trac] [WordPress Trac] #32545: Adding actions before and after "Add New" button

WordPress Trac noreply at wordpress.org
Mon Jan 8 17:03:17 UTC 2018


#32545: Adding actions before and after "Add New" button
-------------------------------+---------------------------------------
 Reporter:  vivekbhusal        |       Owner:
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.2.2
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion        |     Focuses:  administration, template
-------------------------------+---------------------------------------

Comment (by jeremyescott):

 I was just about to write a patch for this very feature.

 This is something I've found myself wanting a couple of times for my WP-
 based applications. The ability to add behaviors up there, eg: Sync with
 External Data, etc, is something that may be more and more and common as
 WP becomes more of an app platform. Asking users to find a tools or
 settings screen to press a button is a pain.

 Yes, Javascript injection will continue to work, but its not ideal and JS
 is harder to test around, plus we get screen flickers on slow loading
 connections. I know that it may cause issues with responsiveness, but that
 should be up to the developers to address if they're adding buttons.

 +1

 I'll volunteer to revise the patch if needed.

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


More information about the wp-trac mailing list