[wp-trac] [WordPress Trac] #47620: REST API: Expose blocks registered on the server

WordPress Trac noreply at wordpress.org
Wed Nov 20 15:19:17 UTC 2019


#47620: REST API: Expose blocks registered on the server
-------------------------------------------------+-------------------------
 Reporter:  gziolo                               |       Owner:
                                                 |  spacedmonkey
     Type:  feature request                      |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  REST API                             |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  rest-api
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 The `WPDefinedAsset` object isn't specially useful. It doesn't allow a
 user to get a list of dependencies, localisation and translations, meaning
 it wouldn't work well for mobile app or lazying loading blocks. This why
 that work has moved to #48654 where the security issues can be discussed
 in more detail.

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


More information about the wp-trac mailing list