Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#30707 closed defect (bug) (fixed)

Customizer: Missing contexts for background uploads

Reported by: ocean90's profile ocean90 Owned by: nacin's profile nacin
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.1
Component: Customize Keywords: has-patch commit fixed-major
Focuses: javascript Cc:

Description

Related: #21483

This part is currently missing in trunk: tags/4.0.1/src/wp-admin/js/customize-controls.js#L205

Attachments (1)

30707.patch (8.2 KB) - added by ocean90 9 years ago.

Download all attachments as: .zip

Change History (6)

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


9 years ago

@ocean90
9 years ago

#2 @ocean90
9 years ago

  • Keywords has-patch added; needs-patch removed
  • Version set to trunk

30707.patch does an additional AJAX request to set _wp_attachment_is_custom_background. We do the same for headers.

#3 @ocean90
9 years ago

In 30885:

Customizer: Add _wp_attachment_is_custom_background meta to uploaded background images.

Adds $type property to WP_Customize_Background_Image_Control (PHP) and introduces wp.customize.BackgroundControl (JS).

see #30707.

#4 @ocean90
9 years ago

  • Keywords commit fixed-major added

#5 @nacin
9 years ago

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

In 30931:

Customizer: Add _wp_attachment_is_custom_background meta to uploaded background images.

Merges [30885] to the 4.1 branch.

props ocean90.
fixes #30707.

Note: See TracTickets for help on using tickets.