[wp-trac] [WordPress Trac] #12940: Add filter for contents of Quick Edit panel

WordPress Trac noreply at wordpress.org
Fri Dec 9 23:08:23 UTC 2022


#12940: Add filter for contents of Quick Edit panel
-----------------------------------------------+---------------------
 Reporter:  caesarsgrunt                       |       Owner:  (none)
     Type:  enhancement                        |      Status:  new
 Priority:  normal                             |   Milestone:  6.2
Component:  Quick/Bulk Edit                    |     Version:  3.0
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch reporter-feedback close  |     Focuses:
-----------------------------------------------+---------------------

Comment (by azaozz):

 Replying to [comment:14 Mte90]:
 > I have some doubts about...
 > It should be by PHP

 You mean this won't work:
 {{{
 jQuery( '.inline-edit-col-right .inline-edit-col' ).append( jQuery(
 '<input type="text" value="Here we go!">' ) );
 }}}

 It is a lot better and cleaner to use JS for this type of things than to
 try to regex through the HTML in PHP :)

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


More information about the wp-trac mailing list