Opened 5 years ago
Closed 5 years ago
#49778 closed defect (bug) (duplicate)
Deprecated: contextual_help
Reported by: | sctf | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.4 |
Component: | Administration | Keywords: | close |
Focuses: | Cc: |
Description
Hello,
since the newest wordpress update i get following message:
Deprecated: contextual_help ist seit Version 3.3.0 veraltet! Benutze stattdessen get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab(). in /var/www/html/wp-includes/functions.php on line 5088
how can i fix it?
Thanks for your help!
Change History (3)
#2
@
5 years ago
but i cant find "contextual" in /var/www/html/wp-includes/functions.php
Or where should i search and change it?
#3
@
5 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
Looks like we're already tracking this issue in #49593.
Does the issue still happen with all plugins disabled and a default theme (Twenty Twenty) activated?
Please note that this Trac is used for enhancements and bug reporting for the WordPress core software, not for individual support questions.
Please try the support forums to get help with your site: https://wordpress.org/support/forums/.
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 useget_current_screen()->add_help_tab()
orget_current_screen()->remove_help_tab()
instead.