Make WordPress Core

Opened 5 years ago

Last modified 6 months ago

#45945 new enhancement

Twenty Nineteen: Consider adding a filter for the featured image color filter functionality.

Reported by: kjellr's profile kjellr Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.3
Component: Bundled Theme Keywords: needs-patch 2nd-opinion
Focuses: Cc:

Description

Originally raised by @hvianna and @grapplerulrich in this GitHub thread:

https://github.com/WordPress/twentynineteen/issues/722

To make it easier for child themes to disable the featured image filter built into Twenty Nineteen, it might be helpful to add a filter for that functionality. Something along the lines of:

function twentynineteen_image_filters_enabled() {
	return apply_filters( 'twentynineteen_image_filters_enabled', 0 !== get_theme_mod( 'image_filter', 1 ) );
}

Change History (1)

#1 @sabernhardt
6 months ago

  • Keywords needs-patch 2nd-opinion added

As part of the proposal to retire default themes, Twenty Nineteen might not have any more enhancements soon.

This still would need a patch.

Note: See TracTickets for help on using tickets.