[wp-trac] Re: [WordPress Trac] #6316: No context for user_func
called by 'do_meta_boxes'
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 20 22:03:24 GMT 2008
#6316: No context for user_func called by 'do_meta_boxes'
----------------------------+-----------------------------------------------
Reporter: henrikmelin | Owner: ryan
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: Administration | Version: 2.5
Severity: normal | Resolution:
Keywords: meta-box admin |
----------------------------+-----------------------------------------------
Comment (by henrikmelin):
Yes. Have a look at:
http://labs.dagensskiva.com/plugins/more-fields/
which details the plugin that enables the user to create any number boxes
without editing code. These boxes can be made out of text, selects and
textareas.
Curretly, I use JS to position the box after creating it in the footer,
but I really see using 'add_meta_box' as much more elegant, and
integrating better into the WP framework.
The function that builds the content of a box (i.e. the callback function)
would in this instance need to know what box is being build.
Cheers,
Henrik.
--
Ticket URL: <http://trac.wordpress.org/ticket/6316#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list