Repository navigation
Commit 28343d1
SEO: Keep the menu item when SEO tools is off (#53940)
* SEO: keep the sidebar menu item visible when seo-tools module is off
Dropping 'module' => 'seo-tools' from Admin_Page::add_menu_item()'s args
stops the visibility resolver from hiding the item when the module is
inactive. The key 'jetpack-seo' is kept so hosts can still control it via
the jetpack_admin_menu_visibility filter.
Co-authored-by: matticbot <matticbot@users.noreply.github.com>
* SEO: Make the menu fix changelog entry comment-only
The new SEO page is still behind its rollout gate.
---------
Co-authored-by: haqadn <adnan.haque@automattic.com>
Co-authored-by: matticbot <matticbot@users.noreply.github.com>
Co-authored-by: Adnan Haque <adnan007.id@gmail.com>1 parent 6aed93b commit 28343d1
3 files changed
Lines changed: 34 additions & 3 deletions
File tree
- projects/packages/seo
- changelog
- src
- tests/php
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | | - | |
90 | | - | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
215 | 241 | | |
216 | 242 | | |
217 | 243 | | |
| |||
0 commit comments