[wp-trac] [WordPress Trac] #65401: Docs: Correct replacement links for deprecated contextual help filters

WordPress Trac noreply at wordpress.org
Wed Jun 3 17:40:50 UTC 2026


#65401: Docs: Correct replacement links for deprecated contextual help filters
----------------------------+-----------------------------
 Reporter:  ekamran         |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:  has-patch
  Focuses:  docs            |
----------------------------+-----------------------------
 The inline documentation for the deprecated `contextual_help_list`,
 `contextual_help`, and `default_contextual_help` filters uses `@see`
 references like:

 `get_current_screen()->add_help_tab()`
 `get_current_screen()->remove_help_tab()`

 These are rendered as broken DevHub links because they are method-call
 chains rather than resolvable function or method references.

 The docs should instead reference:

 `get_current_screen()`
 `WP_Screen::add_help_tab()`
 `WP_Screen::remove_help_tab()`

 Related Documentation Issue Tracker issue:
 https://github.com/WordPress/Documentation-Issue-Tracker/issues/2290

 Pull request:
 https://github.com/WordPress/wordpress-develop/pull/12071

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65401>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list