Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in remove_menu_page() "More Information" #1363

Closed
crstauf opened this issue Nov 14, 2023 · 3 comments
Closed

Typo in remove_menu_page() "More Information" #1363

crstauf opened this issue Nov 14, 2023 · 3 comments
Assignees
Labels
code reference Issues for Code Reference portal of DevHub developer documentation (DevHub) Improvements or additions to developer documentation [Status] Done Issue is completed

Comments

@crstauf
Copy link

crstauf commented Nov 14, 2023

Reported by @skithund via User Contributed Notes.

Issue Description

There’s a typo in the second paragraph of “More Information”.

Calling it elsewhere might cause issues: either the function is not defined or the global $menu variable used but this function is not yet declared.

Should be

Calling it elsewhere might cause issues: either the function is not defined or the global $menu variable used by this function is not yet declared.

URL of the Page with the Issue

https://developer.wordpress.org/reference/functions/remove_menu_page/#more-information

Section of Page with the issue

More Information

Why is this a problem?

Suggested Fix

Calling it elsewhere might cause issues: either the function is not defined or the global $menu variable used by this function is not yet declared.

@crstauf crstauf added the [Status] To do Issue marked as Todo label Nov 14, 2023
Copy link

Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

@stevenlinx stevenlinx added developer documentation (DevHub) Improvements or additions to developer documentation code reference Issues for Code Reference portal of DevHub labels Nov 16, 2023
@stevenlinx stevenlinx self-assigned this Nov 16, 2023
Copy link

Heads up @stevenlinx - the "code reference" label was applied to this issue.

@github-actions github-actions bot added [Status] In progress Issue is in progress and removed [Status] To do Issue marked as Todo labels Nov 16, 2023
@stevenlinx
Copy link
Member

stevenlinx commented Nov 16, 2023

Thanks for filing.

I've made the revision.

I've also revised the link to remove_submenu_page() function from the Codex version to the DevHub version.

@github-actions github-actions bot added [Status] Done Issue is completed and removed [Status] In progress Issue is in progress labels Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code reference Issues for Code Reference portal of DevHub developer documentation (DevHub) Improvements or additions to developer documentation [Status] Done Issue is completed
2 participants