Repository navigation
Commit 2704a1c
committed
Docs: Fix broken replacement links in contextual help filter docs.
The `@deprecated` tags for the legacy `contextual_help_list`, `contextual_help`, and `default_contextual_help` filters pointed to `{@see get_current_screen()->add_help_tab()}` and `{@see get_current_screen()->remove_help_tab()}`. These method-call chains are not resolvable references, so they rendered as broken links on the Developer Reference site (and in IDEs such as PhpStorm). Replace them with references that resolve: `get_current_screen()`, `WP_Screen::add_help_tab()`, and `WP_Screen::remove_help_tab()`.
Developed in #12071.
Follow-up to r46685.
Props ekamran, yusufmudagal, dhruvang21, codesmith32.
Fixes #65401.
git-svn-id: https://develop.svn.wordpress.org/trunk@62477 602fd350-edb4-49c9-b593-d223f7449a821 parent eb1dff0 commit 2704a1c
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
795 | | - | |
796 | | - | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
797 | 798 | | |
798 | 799 | | |
799 | 800 | | |
| |||
811 | 812 | | |
812 | 813 | | |
813 | 814 | | |
814 | | - | |
815 | | - | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
816 | 818 | | |
817 | 819 | | |
818 | 820 | | |
| |||
832 | 834 | | |
833 | 835 | | |
834 | 836 | | |
835 | | - | |
836 | | - | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
837 | 840 | | |
838 | 841 | | |
839 | 842 | | |
| |||
0 commit comments