#1699 closed task (blessed) (fixed)
Remove deprecated function add_contextual_help
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.1 | Priority: | normal |
| Severity: | normal | Version: | 2.0 |
| Component: | General - Administration | Keywords: | has-patch |
| Cc: |
Description
With WordPress 3.3 add_contextual_help() function is deprecated, need to update them with new add_help_tab() function.
Here's dev note from Nacin about Help and screen API changes in 3.3
Attachments (1)
Change History (11)
#6
@
14 years ago
- Resolution set to fixed
- Status changed from new to closed
- Type changed from enhancement to task
Closing this as fixed,as the bulk of the code changes are in. Would love if someone would comb through the verbiage and check for feature pairity since it's largely lifted from WordPress core.
#7
@
14 years ago
- Keywords has-patch added; needs-patch removed
Previous changes to contextual help where missing forum/topic/reply Attributes box help tabs, also I believe there are no pages in Codex for forum/topic/reply Formats, so for now links will redirect users to Post Format page.
Working on a patch, but add_help_tabs is little tricky to use with CPT and how bbPress added contextual help before. One problem is that calling setup_help() in construct is early for WP_Screen, I attached setup_help() function to load-$pagenow hook but it needs extra logic like - is it forum post type, is it edit or add screen.