[wp-trac] [WordPress Trac] #49778: Deprecated: contextual_help

WordPress Trac noreply at wordpress.org
Thu Apr 2 15:20:23 UTC 2020


#49778: Deprecated: contextual_help
----------------------------+------------------------------
 Reporter:  sctf            |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  5.4
 Severity:  normal          |  Resolution:
 Keywords:  close           |     Focuses:
----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close
 * component:  General => Administration


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the report.

 The deprecated hook message is only displayed if you have any functions in
 your plugins or theme specifically hooked to the deprecated
 `contextual_help_list` filter. As noted in the message, those instances
 should be updated to use `get_current_screen()->add_help_tab()` or
 `get_current_screen()->remove_help_tab()` instead.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49778#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list