[wp-trac] [WordPress Trac] #45288: Block Editor: check style-editor-rtl.css in RTL languages

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


#45288: Block Editor: check style-editor-rtl.css in RTL languages
---------------------------------+--------------------------
 Reporter:  mostafa.s1990        |       Owner:  youknowriad
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:  5.0
Component:  Editor               |     Version:  5.0
 Severity:  major                |  Resolution:  fixed
 Keywords:  has-patch fixed-5.0  |     Focuses:  rtl
---------------------------------+--------------------------
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/45288#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list