[wp-trac] [WordPress Trac] #27996: Show/Hide Postbox doesn't work if dynamically added
WordPress Trac
noreply at wordpress.org
Tue Apr 29 14:22:04 UTC 2014
#27996: Show/Hide Postbox doesn't work if dynamically added
----------------------------+------------------------------
Reporter: johnstonphilip | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.9
Severity: normal | Resolution:
Keywords: | Focuses: javascript
----------------------------+------------------------------
Comment (by jesin):
What plugin are you using? I am unable to reproduce this issue with my own
meta box code.
This is the code I used.
{{{
function sample_meta_box() {
add_meta_box( 'sample', 'Sample', 'sample_html', 'post' );
}
function sample_html() {
echo 'Some text here';
}
add_action( 'add_meta_boxes', 'sample_meta_box' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27996#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list