[wp-trac] [WordPress Trac] #28502: Context needed to distinguish

WordPress Trac noreply at wordpress.org
Wed Jun 11 09:29:59 UTC 2014


#28502: Context needed to distinguish
---------------------------------------+-----------------------------
 Reporter:  extendwings                |      Owner:
     Type:  defect (bug)               |     Status:  new
 Priority:  normal                     |  Milestone:  Awaiting Review
Component:  I18N                       |    Version:  3.9.1
 Severity:  normal                     |   Keywords:
  Focuses:  administration, multisite  |
---------------------------------------+-----------------------------
 I found that `_n( 'User deleted.', '%s users deleted.', $delete_count
 )`([https://github.com/WordPress/WordPress/blob/master/wp-
 admin/users.php#L372 wp-admin/users.php#L372]) and `_e( 'User deleted.'
 )`([https://github.com/WordPress/WordPress/blob/master/wp-
 admin/network/users.php#L251 wp-admin/network/users.php#L251]) is
 conflicted. This causes strange message box in some languages:
 [[Image(https://i.cloudup.com/mjVIoDU_Zu.png)]]

 To fix this `_e( 'User deleted.' )` should be changed to `_ex( 'User
 deleted.', 'network' )`

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


More information about the wp-trac mailing list