[wp-trac] [WordPress Trac] #37492: Unifying translation strings in wp_die()

WordPress Trac noreply at wordpress.org
Wed Jul 27 19:01:24 UTC 2016


#37492: Unifying translation strings in wp_die()
----------------------------+-----------------------------
 Reporter:  ramiy           |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Text Changes    |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 In ticket #34521 (Unifying permission error messages) we updated hundreds
 of translation strings inside `wp_die()`, fixing error messages you
 usually see after permission check `if ( ! current_user_can( 'xxx' ) )`.

 In this ticket, we are going to fix 24 translation strings inside
 `wp_die()` that use `<h1>` and `<p>` tags.

 I should say that we can either fix over 500 strings inside `wp_die()` and
 add HTML tags (`<h1>` & `<p>`) to all of them. Or, we can remove those
 unneeded HTML tags from 24 strings and unify translation strings in
 `wp_die()`.

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


More information about the wp-trac mailing list