[wp-trac] [WordPress Trac] #18690: Change the display layout of help tabs
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 18 23:57:01 UTC 2011
#18690: Change the display layout of help tabs
----------------------------+------------------
Reporter: jane | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.3
Component: UI | Version: 3.3
Severity: normal | Resolution:
Keywords: needs-patch |
----------------------------+------------------
Comment (by mbijon):
Hey #wcpdx guys, I couldn't make it in today to meet with you guys but
added some checks to my PHP code from yesterday:
1.) It checks to see if the tab_title is empty, if not it processes the
value in the array. If not, no output, but it still doesn't check for
unique tab_titles.
2.) I added a forced array-output in the add_contextual_help() method.
Please remove it once you have valid array-nesting in the doc files.
---
In general, this code always checks if the content is in an array or not
(so no need to update all the docs files at-once). If it's a string (like
old content) then it outputs in old style. If it's an array then it checks
for the keys 'contextual-help-tabs' and 'contextual-help-links' & if they
exist then outputs as we discussed yesterday.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18690#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list