Changeset 19593 for trunk/wp-admin/includes/plugin.php
- Timestamp:
- 12/13/2011 11:45:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r18951 r19593 986 986 987 987 // If the parent doesn't already have a submenu, add a link to the parent 988 // as the first item in the submenu. 989 // parent file someone is trying to link back to the parent manually. 988 // as the first item in the submenu. If the submenu file is the same as the 989 // parent file someone is trying to link back to the parent manually. In 990 990 // this case, don't automatically add a link back to avoid duplication. 991 991 if (!isset( $submenu[$parent_slug] ) && $menu_slug != $parent_slug ) { … … 1003 1003 1004 1004 $_registered_pages[$hookname] = true; 1005 // backwards-compatibility for plugins using add_management page. 1005 // backwards-compatibility for plugins using add_management page. See wp-admin/admin.php for redirect from edit.php to tools.php 1006 1006 if ( 'tools.php' == $parent_slug ) 1007 1007 $_registered_pages[get_plugin_page_hookname( $menu_slug, 'edit.php')] = true; … … 1590 1590 * @since 2.7.0 1591 1591 * 1592 * @param string $option_group A settings group name. 1592 * @param string $option_group A settings group name. Should correspond to a whitelisted option key name. 1593 1593 * Default whitelisted option key names include "general," "discussion," and "reading," among others. 1594 1594 * @param string $option_name The name of an option to sanitize and save. … … 1716 1716 * @since 2.7.0 1717 1717 * 1718 * @param string $option_group A settings group name. 1718 * @param string $option_group A settings group name. This should match the group name used in register_setting(). 1719 1719 */ 1720 1720 function settings_fields($option_group) {
Note: See TracChangeset
for help on using the changeset viewer.