WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 23 months ago

Last modified 23 months ago

#20736 closed defect (bug) (fixed)

Move customizer to wp-admin/customize.php

Reported by: nacin Owned by: nacin
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.4
Component: Appearance Keywords:
Focuses: Cc:

Description

Move the customizer from wp-admin/customize.php. The short-circuiting is clever but weird, and it makes more sense to lock it in the admin, giving our desire to have the controls always be loaded in the admin (which came out of the cross-origin conversations).

Change History (4)

comment:1 nacin2 years ago

In [20852]:

Customize API shuffling.

  • Rename WP_Customize to WP_Customize_Manager.
  • Move customize-controls.php to wp-admin/customize.php.
  • Make customize.php the formal entry point, rather than admin.php?customize=on.
  • Rename is_current_theme_active() to is_theme_active().
  • Add getters for the theme, settings, controls, and sections properties.
  • Allow customize.php (no ?theme=) to load the active theme. Not used yet.

see #20736.

comment:2 nacin23 months ago

[20858] - Refine early bailing checks in customize.php.

comment:3 nacin23 months ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [20860]:

Remove temporary magic call method in favor of theme(), settings(), controls(), and sections() methods for WP_Customize_Manager. fixes #20736.

comment:4 koopersmith23 months ago

In [20890]:

Theme Customizer: Fix hash-based loader fallbacks. see #20736, #19910, [20886].

Note: See TracTickets for help on using tickets.