WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 6 months ago

#22231 closed enhancement (wontfix)

Add action to provide additional options to the Custom Background page

Reported by: thelukemcdonald Owned by:
Milestone: Priority: normal
Severity: trivial Version: 3.4
Component: Customize Keywords: has-patch
Focuses: Cc:

Description

The Custom Header feature of WordPress has an action to allow additional options to be attached to the Custom Header admin page. This patch allows the same functionality to be done for the Custom Background page.

Use case: I want to provide an option to allow the custom background image set to be responsive. If checked, the background image URL will be localized for use via the anystretch.js.

Attachments (1)

custom-background.diff (436 bytes) - added by thelukemcdonald 3 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 @thelukemcdonald3 years ago

  • Summary changed from Add ability to add options to the Custom Background page to Add action to provide additional options to the Custom Background page

comment:2 @thelukemcdonald3 years ago

  • Severity changed from normal to trivial

comment:3 @thelukemcdonald3 years ago

  • Cc thelukemcdonald@… added

comment:4 @SergeyBiryukov3 years ago

  • Component changed from General to Appearance
  • Keywords has-patch removed
  • Version changed from trunk to 3.4

custom-background.diff doesn't look like a proper patch.

comment:5 @thelukemcdonald3 years ago

Apologies, first time trying to figure this out. I'll give it another shot. If nothing else, the patch is minor and I'll submit the solution here, if that works.

comment:6 @toscho3 years ago

  • Cc info@… added

comment:7 @thelukemcdonald3 years ago

  • Keywords has-patch added

comment:8 @SergeyBiryukov3 years ago

Makes sense for consistency. custom_header_options was added in [15805].

comment:9 follow-up: @celloexpressions8 months ago

  • Keywords close added

This should be done with the customizer, adding controls to the background_image section. The admin page is likely to become deprecated soon in some form. Strongly suggest closing.

comment:10 in reply to: ↑ 9 @ocean906 months ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Replying to celloexpressions:

The admin page is likely to become deprecated soon in some form. Strongly suggest closing.

See #25569.

Note: See TracTickets for help on using tickets.