--- a/wp/wp-includes/pomo/translations.php Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/pomo/translations.php Wed Sep 21 18:19:35 2022 +0200
@@ -12,8 +12,8 @@
if ( ! class_exists( 'Translations', false ) ) :
class Translations {
- var $entries = array();
- var $headers = array();
+ public $entries = array();
+ public $headers = array();
/**
* Add entry to the PO structure
@@ -116,7 +116,7 @@
* This function should be overridden by the subclasses. For example MO/PO can derive the logic
* from their headers.
*
- * @param integer $count number of items
+ * @param int $count number of items
*/
function select_plural_form( $count ) {
return 1 == $count ? 0 : 1;
@@ -301,8 +301,8 @@
* Provides the same interface as Translations, but doesn't do anything
*/
class NOOP_Translations {
- var $entries = array();
- var $headers = array();
+ public $entries = array();
+ public $headers = array();
function add_entry( $entry ) {
return true;