[wp-trac] [WordPress Trac] #46272: Add 'custom-logo' to feature list API

WordPress Trac noreply at wordpress.org
Tue Feb 19 02:01:17 UTC 2019


#46272: Add 'custom-logo' to feature list API
--------------------------+------------------------------
 Reporter:  DannyCooper   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by dd32):

 API Commit: https://meta.trac.wordpress.org/changeset/8273

 Before the `wide-blocks` (3 themes) and `block-styles` (4 themes) tags can
 be returned for WordPress, Core needs to be updated to add the
 translation/label here:
 https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/includes/theme.php#L250

 I've set the API to return them for WordPress 5.2+, assuming that the
 translations/labels can be added in trunk. If it gets backported into
 5.1.x we can update the API as such, but I'm hopeful there'll be more than
 a handful of themes in those tags before Core supports it, as it's not a
 nice user-experience landing on a nearly-empty tag.

 `custom-logo` is now being returned for WordPress >= 4.6.

 And requesting
 `https://api.wordpress.org/themes/info/1.1/?action=feature_list` (or
 preferably,
 https://api.wordpress.org/themes/info/1.2/?action=feature_list) will
 return those new tags regardless of core support.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46272#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list