Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#30726 closed enhancement (fixed)

Customizer: Export Preview instance to wp.customize.preview

Reported by: ocean90's profile ocean90 Owned by:
Milestone: 4.1 Priority: high
Severity: normal Version:
Component: Customize Keywords:
Focuses: javascript Cc:

Description

Similar to #27666/[29048] we should do the same for the Preview instance. Actually you have to do something like trunk/src/wp-includes/js/customize-preview-widgets.js@29051#L107 to get the preview instance.

This is extracted from #30409.

Attachments (1)

30726.patch (2.0 KB) - added by ocean90 10 years ago.

Download all attachments as: .zip

Change History (8)

@ocean90
10 years ago

#1 @ocean90
10 years ago

In 30891:

Customizer: Export Preview instance to wp.customize.preview.

see #30409, #30726.

#2 @ocean90
10 years ago

  • Keywords commit fixed-major added

This ticket was mentioned in Slack in #core by johnbillion. View the logs.


10 years ago

#4 @nacin
10 years ago

Looks good.

#5 @johnbillion
10 years ago

In 30923:

Customizer: Export Preview instance to wp.customize.preview.

Merges [30891] to the 4.1 branch.

see #30409, #30726.

#6 @johnbillion
10 years ago

  • Keywords has-patch commit fixed-major removed
  • Resolution set to fixed
  • Status changed from new to closed

#7 @westonruter
9 years ago

In 35783:

Customizer: Re-use public api.preview instance in widgets preview instead of unnecessarily capturing in api.Preview constructor wrapper.

The preview instance is no longer private.

Props joshlevinson, westonruter.
Fixes #30890.
See #30726.

Note: See TracTickets for help on using tickets.