[wp-trac] [WordPress Trac] #36666: Enhance `remove_theme_support()` so that it can take additional arguments
WordPress Trac
noreply at wordpress.org
Tue May 10 18:40:04 UTC 2016
#36666: Enhance `remove_theme_support()` so that it can take additional arguments
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Themes | Review
Severity: normal | Version: 3.0
Keywords: has-patch dev-feedback has-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by flixos90):
* keywords: has-patch dev-feedback needs-unit-tests => has-patch dev-
feedback has-unit-tests
Comment:
In [attachment:36666.5.diff] I added unit tests, one function for the
`custom-header-uploads` feature and the other to actually test removing
subsets. This patch builds upon [attachment:36666.3.diff] since
[attachment:36666.4.diff] would fail on the `custom-header-uploads` test
and since `get_post_types_by_support()` cannot be used by theme support
functions at this point.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36666#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list