[wp-trac] [WordPress Trac] #27996: Show/Hide Postbox doesn't work if dynamically added
WordPress Trac
noreply at wordpress.org
Thu Jun 18 23:40:39 UTC 2015
#27996: Show/Hide Postbox doesn't work if dynamically added
-------------------------------------+-----------------------------
Reporter: johnstonphilip | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version: 3.9
Severity: normal | Resolution:
Keywords: needs-refresh has-patch | Focuses: javascript
-------------------------------------+-----------------------------
Changes (by johnbillion):
* keywords: dev-feedback => needs-refresh has-patch
* type: defect (bug) => enhancement
* milestone: Awaiting Review => Future Release
Comment:
Thanks for the updated patch, johnstonphilip.
It looks like the order of the first two parameters in `.on()` needs to be
reversed.
Do the other event handlers in `add_postbox_toggles()` need to be updated
too? I would expect so, for completeness.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27996#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list