[wp-trac] [WordPress Trac] #45109: Introduce editor block related functions

WordPress Trac noreply at wordpress.org
Thu Oct 18 22:38:47 UTC 2018


#45109: Introduce editor block related functions
----------------------------+-----------------------
 Reporter:  desrosj         |       Owner:  pento
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  5.0
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  fixed-5.0       |     Focuses:
----------------------------+-----------------------

Comment (by pento):

 Replying to [comment:7 dimadin]:
 > What about `@since` tags? Do all three classes must be in the same file?

 Because `WP_Block_Parser` comes from an external package, any `@since`
 tags are related to the package version, not the WordPress version. This
 is similar to other external packages, such as [source:/trunk/src/wp-
 includes/class-simplepie.php SimplePie], for example.

 > Also, in [43752] you probably included `/blocks` directory by mistake.

 `/src/wp-includes/blocks`? That's intentional, it contains the PHP needed
 to for the dynamic blocks that are included in Core. It's similar to the
 `/src/wp-includes/widgets` directory.

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


More information about the wp-trac mailing list