mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
I18N: Deprecate Gettext_Translations::parenthesize_plural_exression().
Aside from having a typo in the name, the method is unused by core as of WordPress 4.9. Follow-up to [10584], [12079], [41722]. Props tohincoderex, jrf. Fixes #59347. git-svn-id: https://develop.svn.wordpress.org/trunk@57161 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ee461f010a
commit
68ded6f3aa
@ -249,6 +249,9 @@ if ( ! class_exists( 'Translations', false ) ) :
|
||||
* Adds parentheses to the inner parts of ternary operators in
|
||||
* plural expressions, because PHP evaluates ternary oerators from left to right
|
||||
*
|
||||
* @deprecated 6.5.0 Use the Plural_Forms class instead.
|
||||
* @see Plural_Forms
|
||||
*
|
||||
* @param string $expression the expression without parentheses
|
||||
* @return string the expression with parentheses added
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user