Skip to content

Commit

Permalink
New build
Browse files Browse the repository at this point in the history
  • Loading branch information
jeherve committed Jan 14, 2021
1 parent 6cf92be commit cf2e3ae
Show file tree
Hide file tree
Showing 23 changed files with 100 additions and 38 deletions.
2 changes: 1 addition & 1 deletion 3rd-party/class-domain-mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function function_exists( $function ) {
* @return Domainmap_Utils
*/
public function get_domain_mapping_utils_instance() {
return domain_map::utils();
return \domain_map::utils();
}
}

Expand Down
49 changes: 49 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,55 @@

**This is a list detailing changes for all Jetpack releases.**

= 9.3.1 =

* Release date:

**Bug fixes**

* Multisite: avoid Fatals on sites using the WPMUDEV domain mapping plugin.
* SEO Tools: prevent a PHP notice in some situations involving taxonomy or author pages.

= 9.3 =

* Release date: January 12, 2021
* Release post: https://wp.me/p1moTy-sgZ

**Enhancements**

* Autoloader: improve performance by caching known plugins.
* Instant Search: improve compatibility with IE11.
* Related Posts: use the semantic time element when displaying dates.
* Sharing: defer loading of the reCAPTCHA library by default.

**Improved compatibility**

* AMP: avoid PHP notice on sites using legacy versions of the AMP plugin.
* Dashboard: avoid errors on sites using PHP 8.
* General: use modern JavaScript best practices for loading scripts.
* Infinite Scroll: add compatibility for the TwentyTwentyOne theme.
* Search: improve styling for the TwentyTwenty theme.
* Synchronization: improve integrity of synchronization between your site and WordPress.com.
* WordPress.com Toolbar: iterate on the design and functionality of the toolbar to match the toolbar in use on WordPress.com.

**Bug fixes**

* Autoloader: resolve symbolic links in active plugin paths.
* Autoloader: ensure deactivating plugins aren't cached.
* Blocks: improve sidebar display in non-fullscreen mode.
* Content Options: do not output CSS when it is not needed.
* Instant Search: improve display of tags and categories in search results.
* Lazy Images: attempt to load all images when printing a post, and inform the user when printing if images haven't been loaded.
* Podcast Player Block: avoid PHP notices in some scenarios.
* Search: limit number of filters automatically set up.
* Slideshow Block: ensure that image captions are always shown, regardless of the theme you're using.
* Subscription Block: display the correct default placeholder and button text strings in the post editor.
* Subscriptions: fix the behavior of the toggle switches for the comment subscription settings.
* Twitter Threads: improve how Twitter Cards are generated for embeds in the thread preview.
* VideoPress: detect aspect ratios rounding to both 1.77 and 1.78 as 16:9.
* Widgets: avoid JavaScript errors when displaying the Cookies & Consent Widget.
* WordPress.com REST API: avoid fatal errors in some scenarios, when updating a post's metadata.

= 9.2.1 =

* Release date: December 10, 2020
Expand Down
4 changes: 2 additions & 2 deletions jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: https://jetpack.com
* Description: Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users.
* Author: Automattic
* Version: 9.3
* Version: 9.3.1
* Author URI: https://jetpack.com
* License: GPL2+
* Text Domain: jetpack
Expand All @@ -16,7 +16,7 @@

define( 'JETPACK__MINIMUM_WP_VERSION', '5.5' );
define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' );
define( 'JETPACK__VERSION', '9.3' );
define( 'JETPACK__VERSION', '9.3.1' );

/**
* Constant used to fetch the connection owner token
Expand Down
12 changes: 8 additions & 4 deletions modules/seo-tools/jetpack-seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,20 @@ public function meta_tags() {
$obj = get_queried_object();

$meta['description'] = sprintf(
/* translators: first property is an user's display name, the second is the site's title. */
_x( 'Read all of the posts by %1$s on %2$s', 'Read all of the posts by Author Name on Blog Title', 'jetpack' ),
$obj->display_name,
isset( $obj->display_name ) ? $obj->display_name : __( 'the author', 'jetpack' ),
get_bloginfo( 'title' )
);
} elseif ( is_tag() || is_category() || is_tax() ) {
$obj = get_queried_object();
$obj = get_queried_object();
$description = '';

$description = get_term_field( 'description', $obj->term_id, $obj->taxonomy, 'raw' );
if ( isset( $obj->term_id ) && isset( $obj->taxonomy ) ) {
$description = get_term_field( 'description', $obj->term_id, $obj->taxonomy, 'raw' );
}

if ( ! is_wp_error( $description ) && '' != $description ) {
if ( ! is_wp_error( $description ) && $description ) {
$meta['description'] = wp_trim_words( $description );
} else {
$authors = $this->get_authors();
Expand Down
11 changes: 10 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Jetpack - WP Security, Backup, Speed, & Growth ===
Contributors: automattic, adamkheckler, aduth, akirk, allendav, alternatekev, andy, annezazu, apeatling, azaozz, batmoo, barry, beaulebens, biskobe, blobaugh, brbrr, cainm, cena, cfinke, chaselivingston, chellycat, clickysteve, csonnek, danielbachhuber, davoraltman, daniloercoli, delawski, designsimply, dllh, drawmyface, dsmart, dzver, ebinnion, egregor, eliorivero, enej, eoigal, erania-pinnera, ethitter, fgiannar, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, jblz, jasmussen, jeffgolenski, jeherve, jenhooks, jenia, jessefriedman, jgs, jkudish, jmdodd, joanrho, johnjamesjacoby, jshreve, kbrownkd, keoshi, koke, kraftbj, lancewillett, leogermani, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, mdbitz, MichaelArestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, oskosk, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, robertbpugh, roccotripaldi, samhotchkiss, scarstocea, scottsweb, sdquirk, sermitr, simison, stephdau, tmoorewp, tyxla, Viper007Bond, westi, yoavf, zinigor
Tags: WP, backup, social, AMP, WooCommerce, malware, scan, spam, CDN, social
Stable tag: 9.3
Stable tag: 9.3.1
Requires at least: 5.5
Requires PHP: 5.6
Tested up to: 5.6
Expand Down Expand Up @@ -239,6 +239,15 @@ Our Cookie and Consent Banner can help you comply with GDPR. The European Union

== Changelog ==

= 9.3.1 =

* Release date:

**Bug fixes**

* Multisite: avoid Fatals on sites using the WPMUDEV domain mapping plugin.
* SEO Tools: prevent a PHP notice in some situations involving taxonomy or author pages.

= 9.3 =

* Release date: January 12, 2021
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInita35837708a7acdd1ffb0e38ef898764f::getLoader();
return ComposerAutoloaderInit0c2a830fc5e83fd354fddd8ce525ab7d::getLoader();
2 changes: 1 addition & 1 deletion vendor/autoload_packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/InstalledVersions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class InstalledVersions
'aliases' =>
array (
),
'reference' => '6428a5a1a6218e890fb6c06b05bd26ee547368e7',
'reference' => '229695368def0e1943a0b6788c544fc94e879ac1',
'name' => 'automattic/jetpack',
),
'versions' =>
Expand All @@ -41,7 +41,7 @@ class InstalledVersions
'aliases' =>
array (
),
'reference' => '6428a5a1a6218e890fb6c06b05bd26ee547368e7',
'reference' => '229695368def0e1943a0b6788c544fc94e879ac1',
),
'automattic/jetpack-a8c-mc-stats' =>
array (
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInita35837708a7acdd1ffb0e38ef898764f
class ComposerAutoloaderInit0c2a830fc5e83fd354fddd8ce525ab7d
{
private static $loader;

Expand All @@ -24,15 +24,15 @@ public static function getLoader()

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInita35837708a7acdd1ffb0e38ef898764f', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit0c2a830fc5e83fd354fddd8ce525ab7d', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInita35837708a7acdd1ffb0e38ef898764f', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit0c2a830fc5e83fd354fddd8ce525ab7d', 'loadClassLoader'));

$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';

call_user_func(\Composer\Autoload\ComposerStaticInita35837708a7acdd1ffb0e38ef898764f::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit0c2a830fc5e83fd354fddd8ce525ab7d::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
Expand All @@ -44,19 +44,19 @@ public static function getLoader()
$loader->register(true);

if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInita35837708a7acdd1ffb0e38ef898764f::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit0c2a830fc5e83fd354fddd8ce525ab7d::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequirea35837708a7acdd1ffb0e38ef898764f($fileIdentifier, $file);
composerRequire0c2a830fc5e83fd354fddd8ce525ab7d($fileIdentifier, $file);
}

return $loader;
}
}

function composerRequirea35837708a7acdd1ffb0e38ef898764f($fileIdentifier, $file)
function composerRequire0c2a830fc5e83fd354fddd8ce525ab7d($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;
Expand Down
10 changes: 5 additions & 5 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInita35837708a7acdd1ffb0e38ef898764f
class ComposerStaticInit0c2a830fc5e83fd354fddd8ce525ab7d
{
public static $files = array (
'bce4ecd6aabb2a2948e06d0e2c4ea9a6' => __DIR__ . '/..' . '/automattic/jetpack-connection/legacy/load-ixr.php',
Expand Down Expand Up @@ -150,10 +150,10 @@ class ComposerStaticInita35837708a7acdd1ffb0e38ef898764f
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInita35837708a7acdd1ffb0e38ef898764f::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInita35837708a7acdd1ffb0e38ef898764f::$prefixDirsPsr4;
$loader->prefixesPsr0 = ComposerStaticInita35837708a7acdd1ffb0e38ef898764f::$prefixesPsr0;
$loader->classMap = ComposerStaticInita35837708a7acdd1ffb0e38ef898764f::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit0c2a830fc5e83fd354fddd8ce525ab7d::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit0c2a830fc5e83fd354fddd8ce525ab7d::$prefixDirsPsr4;
$loader->prefixesPsr0 = ComposerStaticInit0c2a830fc5e83fd354fddd8ce525ab7d::$prefixesPsr0;
$loader->classMap = ComposerStaticInit0c2a830fc5e83fd354fddd8ce525ab7d::$classMap;

}, null, ClassLoader::class);
}
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'aliases' =>
array (
),
'reference' => '6428a5a1a6218e890fb6c06b05bd26ee547368e7',
'reference' => '229695368def0e1943a0b6788c544fc94e879ac1',
'name' => 'automattic/jetpack',
),
'versions' =>
Expand All @@ -18,7 +18,7 @@
'aliases' =>
array (
),
'reference' => '6428a5a1a6218e890fb6c06b05bd26ee547368e7',
'reference' => '229695368def0e1943a0b6788c544fc94e879ac1',
),
'automattic/jetpack-a8c-mc-stats' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-autoloader-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-autoloader-locator.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-container.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-hook-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-manifest-reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-path-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-plugin-locator.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-plugins-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-version-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/jetpack-autoloader/class-version-selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/

namespace Automattic\Jetpack\Autoloader\jpa35837708a7acdd1ffb0e38ef898764f;
namespace Automattic\Jetpack\Autoloader\jp0c2a830fc5e83fd354fddd8ce525ab7d;

// phpcs:ignore

Expand Down

0 comments on commit cf2e3ae

Please sign in to comment.