WordPress.org

Make WordPress Core

Opened 18 months ago

Last modified 18 months ago

#22231 new enhancement

Add action to provide additional options to the Custom Background page

Reported by: thelukemcdonald Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 3.4
Component: Appearance 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 18 months ago.

Download all attachments as: .zip

Change History (9)

comment:1 thelukemcdonald18 months 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 thelukemcdonald18 months ago

  • Severity changed from normal to trivial

comment:3 thelukemcdonald18 months ago

  • Cc thelukemcdonald@… added

comment:4 SergeyBiryukov18 months 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 thelukemcdonald18 months 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 toscho18 months ago

  • Cc info@… added

comment:7 thelukemcdonald18 months ago

  • Keywords has-patch added

comment:8 SergeyBiryukov18 months ago

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

Note: See TracTickets for help on using tickets.