Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#33488 closed defect (bug) (fixed)

_wp_customize_include() documentation

Reported by: ericlewis's profile ericlewis Owned by: westonruter's profile westonruter
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: Customize Keywords: needs-patch
Focuses: docs Cc:

Description


Attachments (1)

33488.diff (517 bytes) - added by ericlewis 9 years ago.

Download all attachments as: .zip

Change History (12)

@ericlewis
9 years ago

#1 @ericlewis
9 years ago

  • Milestone changed from Awaiting Review to 4.4

#2 @wonderboymusic
9 years ago

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

In 33694:

Clarify doc entry for _wp_customize_include()

Props ericlewis.
Fixes #33488.

#3 @westonruter
9 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

There are more scenarios where _wp_customize_include() runs, actually. In Widget Customizer, for instance, _wp_customize_include() sets up the WP_Customize_Manager for update-widget Ajax POST requests. It's also used in Menu Customizer partial refresh Ajax requests.

Basically the wp_customize=on request param is a signal for whether to bootstrap the Customizer when WordPress is loading. It's not necessarily tied to the preview frame.

#4 @ericlewis
9 years ago

  • Keywords needs-patch added; has-patch removed

#5 @wonderboymusic
9 years ago

  • Owner wonderboymusic deleted
  • Status changed from reopened to assigned

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


9 years ago

#7 @SergeyBiryukov
9 years ago

  • Owner set to ericlewis

This ticket was mentioned in Slack in #core-customize by eric. View the logs.


9 years ago

#9 @ericlewis
9 years ago

  • Owner changed from ericlewis to westonruter

#10 @ericlewis
9 years ago

Leaving it to Weston to update the patch with his superb knowledge

#11 @westonruter
9 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 34554:

Customizer: Flesh out phpdoc description for _wp_customize_include().

Also add brackets around single-statement inline if statement.

Fixes #33488.

Note: See TracTickets for help on using tickets.