[wp-trac] [WordPress Trac] #49196: Copy block metadata files for dynamic blocks

WordPress Trac noreply at wordpress.org
Sun Feb 2 19:17:20 UTC 2020


#49196: Copy block metadata files for dynamic blocks
-------------------------------------+-------------------------
 Reporter:  chipsnyder               |       Owner:  gziolo
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  5.4
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+-------------------------
Changes (by gziolo):

 * owner:  (none) => gziolo
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47168" 47168]:
 {{{
 #!CommitTicketReference repository="" revision="47168"
 Build: Copy block metadata files for dynamic blocks.

 For dynamic blocks, there are several blocks whose metadata needs to be
 loaded in PHP. The attributes that are loaded via PHP are not exposed to
 the ReactNative components when Gutenberg loads the index.js files in the
 Mobile Apps. To support one master set of metadata that can be used to
 register in the PHP files and the Javascript files; with this patch, the
 block.json files are copied over with their corresponding PHP files.

 Props chipsnyder and azaozz.

 Fixes #49196.
 }}}

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


More information about the wp-trac mailing list