diff --git wp-admin/includes/plugin.php wp-admin/includes/plugin.php
index 046ed6d..ab1639d 100644
|
|
function add_utility_page( $page_title, $menu_title, $capability, $menu_slug, $f |
1104 | 1104 | } |
1105 | 1105 | |
1106 | 1106 | /** |
| 1107 | * Add a menu separator |
| 1108 | * |
| 1109 | * @param string $position The position in the menu order the seperator should appear |
| 1110 | * |
| 1111 | * @return array |
| 1112 | */ |
| 1113 | function add_menu_separator( $position ) { |
| 1114 | global $menu; |
| 1115 | |
| 1116 | $menu[$position] = array( '', 'read', 'separator', '', 'wp-menu-separator' ); |
| 1117 | } |
| 1118 | |
| 1119 | /** |
1107 | 1120 | * Add a sub menu page |
1108 | 1121 | * |
1109 | 1122 | * This function takes a capability which will be used to determine whether |