[wp-trac] [WordPress Trac] #45342: Docs: Description is wrong in the return of block_version()

WordPress Trac noreply at wordpress.org
Mon Dec 17 18:06:47 UTC 2018


#45342: Docs: Description is wrong in the return of block_version()
---------------------------------+--------------------------
 Reporter:  mukesh27             |       Owner:  youknowriad
     Type:  enhancement          |      Status:  closed
 Priority:  normal               |   Milestone:  5.0
Component:  Editor               |     Version:
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch fixed-5.0  |     Focuses:  docs
---------------------------------+--------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44270" 44270]:
 {{{
 #!CommitTicketReference repository="" revision="44270"
 Block Editor: Fix PHP warning when loading editor styles while in RTL.

 In RTL languages, WordPress adds `style-editor-rtl.css` editor styles to
 the global `$editor_styles`.
 This patch ignores handling these styles if the file is not preset.

 Also, clarify the docs for the return value of the `block_version`
 function.

 Props mostafa.s1990, desrosj, mukesh27.

 Merges [43923] and [43924] to trunk.

 Fixes #45288, #45342.
 }}}

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


More information about the wp-trac mailing list