#34360 closed enhancement (fixed)
Minor text inconsistencies in includes/plugin.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.3.1 |
Component: | Administration | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
Inside /wp-admin/includes/plugin.php file, I believe there are some inconsistencies within inline comments. For example, for add_users_page() function, comments tell us (line 1283) the following:
"Add sub menu page to the Users/Profile main menu."
And that's OK.
But for add_theme_page(), the comment says:
"Add sub menu page to the themes main menu."
Which I find inconsistent. It should be Appearance, which is more clear on where submenu goes.
The biggest "problem" could be for Settings page (function add_options_page()) - on line 1220, it says:
"Add sub menu page to the options main menu."
In my view, it should say:
"Add sub menu page to the Settings main menu."
And this should be consistent for all administration menu functions, so these would match WordPress core admin menu titles.
Fixed comment inconsistencies on wp-admin functions.