I18N: Add a class_exists() check to Plural_Forms class for consistency with other POMO library classes.

Follow-up to [41722].

Fixes #50881.
Built from https://develop.svn.wordpress.org/trunk@48769


git-svn-id: http://core.svn.wordpress.org/trunk@48531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-08-10 11:33:09 +00:00
parent 18cd7519e1
commit 113acf42d5
2 changed files with 297 additions and 295 deletions

View File

@ -5,6 +5,7 @@
*
* @since 4.9.0
*/
if ( ! class_exists( 'Plural_Forms', false ) ) :
class Plural_Forms {
/**
* Operator characters.
@ -342,3 +343,4 @@ class Plural_Forms {
return (int) $stack[0];
}
}
endif;

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6-alpha-48767';
$wp_version = '5.6-alpha-48769';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.