[wp-trac] [WordPress Trac] #27996: Show/Hide Postbox doesn't work if dynamically added

WordPress Trac noreply at wordpress.org
Thu Jun 18 20:14:40 UTC 2015


#27996: Show/Hide Postbox doesn't work if dynamically added
----------------------------+------------------------------
 Reporter:  johnstonphilip  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.9
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  javascript
----------------------------+------------------------------

Comment (by johnstonphilip):

 Additionally, according to the jQuery website, "bind" is no longer the
 preferred method as "on" is now preferred.


 Read more here: http://api.jquery.com/bind/
 "As of jQuery 1.7, the .on() method is the preferred method for attaching
 event handlers to a document."

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


More information about the wp-trac mailing list