Make WordPress Core


Ignore:
Timestamp:
10/15/2026 04:12:09 AM (3 days ago)
Author:
peterwilsoncc
Message:

Themes: Restore Add Theme to appearance sub-menu.

Restores the Appearance > Add Theme menu item within the dashboard. The menu item was removed in r13533 in favour of a tabbed layout that was subsequently removed in r26141.

This makes the appearance menu consistent with the posts, pages, media, plugins and users menus.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/14135.

Props afercia, aristath, audrasjb, chaion07, dhruvang21, joedolson, joyously, sergeybiryukov.
Fixes #47124.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r64347 r64352  
    56295629                $submenu['themes.php'][] = array( $menu_name, 'edit_theme_options', 'widgets.php' );
    56305630        } else {
    5631                 $submenu['themes.php'][8] = array( $menu_name, 'edit_theme_options', 'widgets.php' );
     5631                $submenu['themes.php'][9] = array( $menu_name, 'edit_theme_options', 'widgets.php' );
    56325632        }
    56335633
Note: See TracChangeset for help on using the changeset viewer.