mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +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,7 +5,8 @@
|
|||||||
*
|
*
|
||||||
* @since 4.9.0
|
* @since 4.9.0
|
||||||
*/
|
*/
|
||||||
class Plural_Forms {
|
if ( ! class_exists( 'Plural_Forms', false ) ) :
|
||||||
|
class Plural_Forms {
|
||||||
/**
|
/**
|
||||||
* Operator characters.
|
* Operator characters.
|
||||||
*
|
*
|
||||||
@ -341,4 +342,5 @@ class Plural_Forms {
|
|||||||
|
|
||||||
return (int) $stack[0];
|
return (int) $stack[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
endif;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user