--- a/the-events-calendar/common/src/Tribe/Main.php
+++ b/the-events-calendar/common/src/Tribe/Main.php
@@ -24,7 +24,7 @@
const OPTIONNAME = 'tribe_events_calendar_options';
const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
const FEED_URL = 'https://theeventscalendar.com/feed/';
- const VERSION = '6.10.0';
+ const VERSION = '6.10.1';
protected $plugin_context;
protected $plugin_context_class;
@@ -640,7 +640,29 @@
// Load textdomain from a custom folder or the plugin's language folder.
if ( file_exists( $file ) ) {
- return load_plugin_textdomain( $domain, false, $plugin_rel_path );
+ /**
+ * Starting from WordPress 6.7.1, the `load_plugin_textdomain` will reset the `$l10n` global variable.
+ * WorPress 6.7.0 will not, though. Here we reset that var for back-compatibility with WordPress 6.7.0.
+ */
+ if ( isset( $GLOBALS['l10n'][ $domain ] ) && $GLOBALS['l10n'][ $domain ] instanceof NOOP_Translations ) {
+ unset( $GLOBALS['l10n'][ $domain ] );
+ }
+
+ $loaded = load_plugin_textdomain( $domain, false, $plugin_rel_path );
+
+ /**
+ * If an earlier call to get a translation for a string in this domain was fired (e.g., a call to `__()`),
+ * then the text domain registry has cached a falsy value for this domain and locale to indicate no
+ * translation file is available. Here we overwrite the value if it had been set, or set it if it had not.
+ *
+ * The `load_plugin_textdomain()` function will add the custom path to the registry, but will not invalidate
+ * a previously set value.
+ */
+ /** @var WP_Textdomain_Registry $wp_textdomain_registry */
+ global $wp_textdomain_registry;
+ $wp_textdomain_registry->set( $domain, $locale, dirname( $file ) );
+
+ return $loaded;
}
// If translation files are not found in the custom folder, then load textdomain from the plugin's language folder.
--- a/the-events-calendar/common/src/Tribe/Support.php
+++ b/the-events-calendar/common/src/Tribe/Support.php
@@ -390,7 +390,7 @@
*/
public static function ajax_sysinfo_optin() {
- if ( ! isset( $_POST['confirm'] ) || ! wp_verify_nonce( $_POST['confirm'], 'sysinfo_optin_nonce' ) ) {
+ if ( ! isset( $_POST['confirm'] ) || ! wp_verify_nonce( $_POST['confirm'], 'sysinfo_optin_nonce' ) || ! current_user_can( 'manage_options' ) ) {
wp_send_json_error( __( 'Permission Error', 'tribe-common' ) );
}
--- a/the-events-calendar/common/vendor/composer/autoload_static.php
+++ b/the-events-calendar/common/vendor/composer/autoload_static.php
@@ -7,7 +7,7 @@
class ComposerStaticInit1730544c896394ef2203f2d3c727e3d7
{
public static $prefixLengthsPsr4 = array (
- 'T' =>
+ 'T' =>
array (
'Tribe\' => 6,
'TEC\Event_Automator\' => 20,
@@ -38,126 +38,126 @@
'TEC\Common\Firebase\JWT\' => 24,
'TEC\Common\' => 11,
),
- 'S' =>
+ 'S' =>
array (
'ScssPhp\ScssPhp\' => 16,
),
);
public static $prefixDirsPsr4 = array (
- 'Tribe\' =>
+ 'Tribe\' =>
array (
0 => __DIR__ . '/../..' . '/src/Tribe',
),
- 'TEC\Event_Automator\' =>
+ 'TEC\Event_Automator\' =>
array (
0 => __DIR__ . '/../..' . '/src/Common/Event_Automator',
),
- 'TEC\Common\lucatume\DI52\' =>
+ 'TEC\Common\lucatume\DI52\' =>
array (
0 => __DIR__ . '/..' . '/lucatume/di52/src',
),
- 'TEC\Common\TrustedLogin\' =>
+ 'TEC\Common\TrustedLogin\' =>
array (
0 => __DIR__ . '/..' . '/trustedlogin/client/src',
),
- 'TEC\Common\StellarWP\Uplink\Views\' =>
+ 'TEC\Common\StellarWP\Uplink\Views\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/uplink/src/views',
),
- 'TEC\Common\StellarWP\Uplink\Assets_Dir\' =>
+ 'TEC\Common\StellarWP\Uplink\Assets_Dir\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/uplink/src/assets',
),
- 'TEC\Common\StellarWP\Uplink\Admin_Views\' =>
+ 'TEC\Common\StellarWP\Uplink\Admin_Views\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/uplink/src/admin-views',
),
- 'TEC\Common\StellarWP\Uplink\' =>
+ 'TEC\Common\StellarWP\Uplink\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/uplink/src/Uplink',
),
- 'TEC\Common\StellarWP\Telemetry\Views_Dir\' =>
+ 'TEC\Common\StellarWP\Telemetry\Views_Dir\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/telemetry/src/views',
),
- 'TEC\Common\StellarWP\Telemetry\Assets_Dir\' =>
+ 'TEC\Common\StellarWP\Telemetry\Assets_Dir\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/telemetry/src/resources',
),
- 'TEC\Common\StellarWP\Telemetry\' =>
+ 'TEC\Common\StellarWP\Telemetry\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/telemetry/src/Telemetry',
),
- 'TEC\Common\StellarWP\Shepherd\' =>
+ 'TEC\Common\StellarWP\Shepherd\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/shepherd/src',
),
- 'TEC\Common\StellarWP\Schema\' =>
+ 'TEC\Common\StellarWP\Schema\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/schema/src/Schema',
),
- 'TEC\Common\StellarWP\SchemaModels\' =>
+ 'TEC\Common\StellarWP\SchemaModels\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/schema-models/src',
),
- 'TEC\Common\StellarWP\Models\' =>
+ 'TEC\Common\StellarWP\Models\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/models/src/Models',
),
- 'TEC\Common\StellarWP\Installer\Assets_JS\' =>
+ 'TEC\Common\StellarWP\Installer\Assets_JS\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/installer/src/assets/js',
),
- 'TEC\Common\StellarWP\Installer\Admin_Views\' =>
+ 'TEC\Common\StellarWP\Installer\Admin_Views\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/installer/src/admin-views',
),
- 'TEC\Common\StellarWP\Installer\' =>
+ 'TEC\Common\StellarWP\Installer\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/installer/src/Installer',
),
- 'TEC\Common\StellarWP\DB\' =>
+ 'TEC\Common\StellarWP\DB\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/db/src/DB',
),
- 'TEC\Common\StellarWP\ContainerContract\' =>
+ 'TEC\Common\StellarWP\ContainerContract\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/container-contract/src',
),
- 'TEC\Common\StellarWP\Assets\' =>
+ 'TEC\Common\StellarWP\Assets\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/assets/src/Assets',
),
- 'TEC\Common\StellarWP\Arrays\' =>
+ 'TEC\Common\StellarWP\Arrays\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/arrays/src/Arrays',
),
- 'TEC\Common\StellarWP\AdminNotices\' =>
+ 'TEC\Common\StellarWP\AdminNotices\' =>
array (
0 => __DIR__ . '/..' . '/stellarwp/admin-notices/src',
),
- 'TEC\Common\Psr\Log\' =>
+ 'TEC\Common\Psr\Log\' =>
array (
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
),
- 'TEC\Common\Psr\Container\' =>
+ 'TEC\Common\Psr\Container\' =>
array (
0 => __DIR__ . '/..' . '/psr/container/src',
),
- 'TEC\Common\Monolog\' =>
+ 'TEC\Common\Monolog\' =>
array (
0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
),
- 'TEC\Common\Firebase\JWT\' =>
+ 'TEC\Common\Firebase\JWT\' =>
array (
0 => __DIR__ . '/..' . '/firebase/php-jwt/src',
),
- 'TEC\Common\' =>
+ 'TEC\Common\' =>
array (
0 => __DIR__ . '/../..' . '/src/Common',
),
- 'ScssPhp\ScssPhp\' =>
+ 'ScssPhp\ScssPhp\' =>
array (
0 => __DIR__ . '/..' . '/scssphp/scssphp/src',
),
--- a/the-events-calendar/common/vendor/composer/installed.php
+++ b/the-events-calendar/common/vendor/composer/installed.php
@@ -1,9 +1,9 @@
<?php return array(
'root' => array(
'name' => 'the-events-calendar/tribe-common',
- 'pretty_version' => '6.10.0',
- 'version' => '6.10.0.0',
- 'reference' => 'f0a661d78829786a693f3f7f6802b9ca20050264',
+ 'pretty_version' => 'dev-main',
+ 'version' => 'dev-main',
+ 'reference' => 'c5ea6a12038a4a18ae5303acf50a4eee9d4ec57f',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -179,9 +179,9 @@
'dev_requirement' => false,
),
'the-events-calendar/tribe-common' => array(
- 'pretty_version' => '6.10.0',
- 'version' => '6.10.0.0',
- 'reference' => 'f0a661d78829786a693f3f7f6802b9ca20050264',
+ 'pretty_version' => 'dev-main',
+ 'version' => 'dev-main',
+ 'reference' => 'c5ea6a12038a4a18ae5303acf50a4eee9d4ec57f',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
--- a/the-events-calendar/common/vendor/vendor-prefixed/autoload.php
+++ b/the-events-calendar/common/vendor/vendor-prefixed/autoload.php
@@ -19,4 +19,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
-return ComposerAutoloaderInita04a5f17980117a8db724fd4a3e52d85::getLoader();
+return ComposerAutoloaderInit182048db4f5b3b0e43a83bbb09dfeac1::getLoader();
--- a/the-events-calendar/common/vendor/vendor-prefixed/composer/autoload_real.php
+++ b/the-events-calendar/common/vendor/vendor-prefixed/composer/autoload_real.php
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
-class ComposerAutoloaderInita04a5f17980117a8db724fd4a3e52d85
+class ComposerAutoloaderInit182048db4f5b3b0e43a83bbb09dfeac1
{
private static $loader;
@@ -24,12 +24,12 @@
require __DIR__ . '/platform_check.php';
- spl_autoload_register(array('ComposerAutoloaderInita04a5f17980117a8db724fd4a3e52d85', 'loadClassLoader'), true, true);
+ spl_autoload_register(array('ComposerAutoloaderInit182048db4f5b3b0e43a83bbb09dfeac1', 'loadClassLoader'), true, true);
self::$loader = $loader = new TECCommonComposerAutoloadClassLoader(dirname(__DIR__));
- spl_autoload_unregister(array('ComposerAutoloaderInita04a5f17980117a8db724fd4a3e52d85', 'loadClassLoader'));
+ spl_autoload_unregister(array('ComposerAutoloaderInit182048db4f5b3b0e43a83bbb09dfeac1', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
- call_user_func(TECCommonComposerAutoloadComposerStaticInita04a5f17980117a8db724fd4a3e52d85::getInitializer($loader));
+ call_user_func(TECCommonComposerAutoloadComposerStaticInit182048db4f5b3b0e43a83bbb09dfeac1::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
--- a/the-events-calendar/common/vendor/vendor-prefixed/composer/autoload_static.php
+++ b/the-events-calendar/common/vendor/vendor-prefixed/composer/autoload_static.php
@@ -4,7 +4,7 @@
namespace TECCommonComposerAutoload;
-class ComposerStaticInita04a5f17980117a8db724fd4a3e52d85
+class ComposerStaticInit182048db4f5b3b0e43a83bbb09dfeac1
{
public static $prefixLengthsPsr4 = array (
'T' =>
@@ -584,9 +584,9 @@
public static function getInitializer(ClassLoader $loader)
{
return Closure::bind(function () use ($loader) {
- $loader->prefixLengthsPsr4 = ComposerStaticInita04a5f17980117a8db724fd4a3e52d85::$prefixLengthsPsr4;
- $loader->prefixDirsPsr4 = ComposerStaticInita04a5f17980117a8db724fd4a3e52d85::$prefixDirsPsr4;
- $loader->classMap = ComposerStaticInita04a5f17980117a8db724fd4a3e52d85::$classMap;
+ $loader->prefixLengthsPsr4 = ComposerStaticInit182048db4f5b3b0e43a83bbb09dfeac1::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 = ComposerStaticInit182048db4f5b3b0e43a83bbb09dfeac1::$prefixDirsPsr4;
+ $loader->classMap = ComposerStaticInit182048db4f5b3b0e43a83bbb09dfeac1::$classMap;
}, null, ClassLoader::class);
}
--- a/the-events-calendar/common/vendor/vendor-prefixed/composer/installed.php
+++ b/the-events-calendar/common/vendor/vendor-prefixed/composer/installed.php
@@ -2,9 +2,9 @@
'root' =>
array (
'name' => 'the-events-calendar/tribe-common',
- 'pretty_version' => '6.10.0',
- 'version' => '6.10.0.0',
- 'reference' => 'f0a661d78829786a693f3f7f6802b9ca20050264',
+ 'pretty_version' => 'dev-main',
+ 'version' => 'dev-main',
+ 'reference' => 'c5ea6a12038a4a18ae5303acf50a4eee9d4ec57f',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../',
'aliases' =>
--- a/the-events-calendar/src/Tribe/Main.php
+++ b/the-events-calendar/src/Tribe/Main.php
@@ -40,7 +40,7 @@
const POSTTYPE = 'tribe_events';
const VENUE_POST_TYPE = 'tribe_venue';
const ORGANIZER_POST_TYPE = 'tribe_organizer';
- const VERSION = '6.15.12.2';
+ const VERSION = '6.15.13';
/**
* Min Pro Addon.
--- a/the-events-calendar/the-events-calendar.php
+++ b/the-events-calendar/the-events-calendar.php
@@ -2,7 +2,7 @@
/**
* Plugin Name: The Events Calendar
* Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
- * Version: 6.15.12.2
+ * Version: 6.15.13
* Requires at least: 6.6
* Requires PHP: 7.4
* Author: The Events Calendar
--- a/the-events-calendar/vendor/composer/autoload_static.php
+++ b/the-events-calendar/vendor/composer/autoload_static.php
@@ -7,7 +7,7 @@
class ComposerStaticInit77859a16ec599404820631ac421b3057
{
public static $prefixLengthsPsr4 = array (
- 'T' =>
+ 'T' =>
array (
'Tribe\Events\' => 13,
'TEC\Events\' => 11,
@@ -15,11 +15,11 @@
);
public static $prefixDirsPsr4 = array (
- 'Tribe\Events\' =>
+ 'Tribe\Events\' =>
array (
0 => __DIR__ . '/../..' . '/src/Tribe',
),
- 'TEC\Events\' =>
+ 'TEC\Events\' =>
array (
0 => __DIR__ . '/../..' . '/src/Events',
),
--- a/the-events-calendar/vendor/composer/installed.php
+++ b/the-events-calendar/vendor/composer/installed.php
@@ -1,9 +1,9 @@
<?php return array(
'root' => array(
'name' => 'the-events-calendar/the-events-calendar',
- 'pretty_version' => 'dev-release/T25.moonknight.2',
- 'version' => 'dev-release/T25.moonknight.2',
- 'reference' => '6939590d50e69e9ebc00897c5f1d2ec2fc082db5',
+ 'pretty_version' => 'dev-release/T25.obsidian',
+ 'version' => 'dev-release/T25.obsidian',
+ 'reference' => 'a422900d8a00e33923b13ab861fa02476ba250b7',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -11,9 +11,9 @@
),
'versions' => array(
'the-events-calendar/the-events-calendar' => array(
- 'pretty_version' => 'dev-release/T25.moonknight.2',
- 'version' => 'dev-release/T25.moonknight.2',
- 'reference' => '6939590d50e69e9ebc00897c5f1d2ec2fc082db5',
+ 'pretty_version' => 'dev-release/T25.obsidian',
+ 'version' => 'dev-release/T25.obsidian',
+ 'reference' => 'a422900d8a00e33923b13ab861fa02476ba250b7',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),