mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
18cd7519e1
commit
113acf42d5
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user