[wp-trac] [WordPress Trac] #49037: Expose all theme supports in /themes endpoint
WordPress Trac
noreply at wordpress.org
Tue Jan 21 18:01:23 UTC 2020
#49037: Expose all theme supports in /themes endpoint
----------------------------------------+-----------------------
Reporter: adamboro | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.4
Component: REST API | Version: 5.0
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: rest-api
----------------------------------------+-----------------------
Comment (by apieschel):
Replying to [comment:11 TimothyBlynJacobs]:
> Going to take a more in-depth look later, but one thing that I saw in my
initial review is that the schema format for the child properties is
wrong. See the first part of my comment here:
https://core.trac.wordpress.org/ticket/48798#comment:11
>
Thanks for this! I read that comment, but didn't get it at first for some
reason. Added a patch with the schema format for child properties
adjusted, and 'title-tag' support manually added to the
$_wp_theme_features global in the relevant unit test. I also added
supports and tests for editor-styles, dark-editor-style, align-wide, and
wp-block-styles from https://developer.wordpress.org/block-
editor/developers/themes/theme-support/. Let me know what else I need to
change!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49037#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list