[wp-trac] [WordPress Trac] #45844: add_theme_support function doesn't add some features it says in comments
WordPress Trac
noreply at wordpress.org
Sun Jan 6 20:34:34 UTC 2019
#45844: add_theme_support function doesn't add some features it says in comments
-------------------------------+------------------------------
Reporter: superpoincare | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.0
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by desrosj):
* keywords: => reporter-feedback
* version: 5.0.2 => 5.0
Comment:
Hi @superpoincare,
Thanks for the ticket! Can you post code that shows this is not working as
expected? The [https://github.com/WordPress/WordPress/blob/master/wp-
includes/theme.php#L2562 last line of the function] adds theme support for
the specified feature. The `switch()` statement only handles more complex
features that have additional arguments passed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45844#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list