X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..febc815b2c9d85be5717da9e8d164bd2daa97e31:/wp-admin/menu.php diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 64f80190..6c0b38f7 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -182,7 +182,10 @@ if ( ! is_multisite() ) { add_action('admin_menu', '_add_themes_utility_last', 101); } /** + * Adds the (theme) 'Editor' link to the bottom of the Appearance menu. * + * @access private + * @since 3.0.0 */ function _add_themes_utility_last() { // Must use API on the admin_menu hook, direct modification is only possible on/before the _admin_menu hook @@ -262,7 +265,7 @@ $_wp_real_parent_file['page-new.php'] = 'edit.php?post_type=page'; $_wp_real_parent_file['wpmu-admin.php'] = 'tools.php'; $_wp_real_parent_file['ms-admin.php'] = 'tools.php'; -// ensure we're backwards compatible +// Ensure backward compatibility. $compat = array( 'index' => 'dashboard', 'edit' => 'posts',