[wp-trac] [WordPress Trac] #49060: wp_die() to accept text_direction = 'ltr'

WordPress Trac noreply at wordpress.org
Sat Dec 21 14:59:37 UTC 2019


#49060: wp_die() to accept text_direction = 'ltr'
--------------------------+-----------------------------
 Reporter:  apedog        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 {{{wp_die()}}} only accepts {{{text_direction='rtl'}}}. It should accept
 {{{'ltr'}}} as well.

 If site language/locale is set to an rtl language, but a plugin produces a
 message that does not have a translation text to that rtl language, there
 is no way to make wp_die() style that message correctly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49060>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list