[wp-trac] [WordPress Trac] #65401: Docs: Correct replacement links for deprecated contextual help filters
WordPress Trac
noreply at wordpress.org
Wed Jun 3 19:12:19 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 | Resolution:
Keywords: has-patch | Focuses: docs
----------------------------+------------------------------
Comment (by yusufmudagal):
Tested PR: https://github.com/WordPress/wordpress-develop/pull/12071
Environment:
- macOS 26.5.1
- PHP 8.5.5
- WordPress develop checkout
- Tested PR commit: 896ab221ed
- Compared against trunk: 3f1fbe7e8d
Testing performed:
- Applied the PR locally in a clean worktree.
- Confirmed the patch only changes `src/wp-admin/includes/class-wp-
screen.php`.
- Confirmed the change updates the three deprecated contextual help
docblocks from method-call `@see` references like
`get_current_screen()->add_help_tab()` to valid linkable references:
- `get_current_screen()`
- `WP_Screen::add_help_tab()`
- `WP_Screen::remove_help_tab()`
- Confirmed `WP_Screen::add_help_tab()` and `WP_Screen::remove_help_tab()`
exist in the same class.
- Confirmed `get_current_screen()` exists in `src/wp-
admin/includes/screen.php`.
- Confirmed the runtime replacement strings passed to
`apply_filters_deprecated()` are unchanged, so this is documentation-only
and does not change deprecated filter behavior.
Local checks:
- `php -l src/wp-admin/includes/class-wp-screen.php` passed.
- `git diff --check origin/trunk...HEAD -- src/wp-admin/includes/class-wp-
screen.php` passed.
Result:
The patch works as expected. The updated inline documentation should
resolve to the correct Developer Hub references while preserving the
existing runtime deprecation messages.
Note:
GitHub Actions currently shows all checks passing on the ticket/PR.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65401#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list