Move plugin Settings page under Parse.ly menu#3183
Move plugin Settings page under Parse.ly menu#3183acicovic wants to merge 2 commits intoadd/traffic-boostfrom
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
I have been looking into this, and it seems that on pages under While I was investigating this, I came across a different solution than yours: instead of removing the menu from the original position, I am registering it under the new Parse.ly menu item instead. I pushed this to a branch so you can take a look if you prefer that approach. Here's the commit: 866be8a As for the notices not showing up, you can see the fix in the settings-page.php file here. |
|
I think we can close this PR and go with your solution, it's probably cleaner as it doesn't need the removal. What do you think? |
|
Closing in favor of #3186 |
Description
With this PR, we're moving the plugin's Settings page under the Parse.ly menu, removing the Parse.ly page from the Settings menu.
The settings page is still accessible using its URL and slug. In other words, trying to access
/wp-admin/options-general.php?page=parselywill still work. Although we could try to block this, I don't think we need to. @vaurdan, let me know if you have a different opinion.The remaining issue to tackle is that success/error messages don't show in the page under its new home.
Motivation and context
Keep all things Parse.ly in a single place.
How has this been tested?
Manual testing, existing tests pass.
Screenshots