Jetpack by WordPress.com - Version 8.4.1

Version Description

  • Release date: April 7, 2020

Bug Fixes

  • Secure Sign On: fix conflict that would block one from logging in to their site via the Secure Sign On option.
Download this release

Release Info

Developer jeherve
Plugin Icon 128x128 Jetpack by WordPress.com
Version 8.4.1
Comparing to
See all releases

Code changes from version 8.4 to 8.4.1

_inc/jetpack-strings.php CHANGED
@@ -758,15 +758,6 @@ __( "Daily Backups", "jetpack" ), // _inc/client/plans/single-product-backup/ind
758
  __( "Real-Time Backups", "jetpack" ), // _inc/client/plans/single-product-backup/index.jsx:44
759
  __( "Daily Backups", "jetpack" ), // _inc/client/plans/single-product-backup/index.jsx:58
760
  __( "Real-Time Backups", "jetpack" ), // _inc/client/plans/single-product-backup/index.jsx:64
761
- __( "Up to 100 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:32
762
- __( "Up to 1,000 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:34
763
- __( "Up to 10,000 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:36
764
- __( "Up to 100,000 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:38
765
- __( "Up to 1,000,000 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:40
766
- __( "Up to %(tierMaximumRecords)s records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:43
767
- __( "Learn more", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:87
768
- _n( "Your current site record size: %s record", "Your current site record size: %s records", 1, "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:91
769
- __( "Upgrade to Jetpack Search", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:122
770
  __( "You would save {{savings /}} by paying yearly", "jetpack" ), // _inc/client/plans/single-product-components/product-savings.jsx:33
771
  __( "You are saving {{savings /}} by paying yearly", "jetpack" ), // _inc/client/plans/single-product-components/product-savings.jsx:34
772
  __( "Up to %(percent)d%% off!", "jetpack" ), // _inc/client/plans/single-product-components/promo-nudge.jsx:16
@@ -776,6 +767,15 @@ __( "Included in your {{planLink}}Premium Plan{{/planLink}}", "jetpack" ), // _i
776
  __( "Included in your {{planLink}}Professional Plan{{/planLink}}", "jetpack" ), // _inc/client/plans/single-product-components/purchased-product-card.jsx:89
777
  /* translators: Button to purchase product upgrade. %(name)s is the product name. */
778
  __( "Upgrade to %(name)s", "jetpack" ), // _inc/client/plans/single-product-components/upgrade-button.jsx:21
 
 
 
 
 
 
 
 
 
779
  __( "Verifying…", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:79
780
  __( "Site failed to verify: %(error)s", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:101
781
  __( "Google", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:187
758
  __( "Real-Time Backups", "jetpack" ), // _inc/client/plans/single-product-backup/index.jsx:44
759
  __( "Daily Backups", "jetpack" ), // _inc/client/plans/single-product-backup/index.jsx:58
760
  __( "Real-Time Backups", "jetpack" ), // _inc/client/plans/single-product-backup/index.jsx:64
 
 
 
 
 
 
 
 
 
761
  __( "You would save {{savings /}} by paying yearly", "jetpack" ), // _inc/client/plans/single-product-components/product-savings.jsx:33
762
  __( "You are saving {{savings /}} by paying yearly", "jetpack" ), // _inc/client/plans/single-product-components/product-savings.jsx:34
763
  __( "Up to %(percent)d%% off!", "jetpack" ), // _inc/client/plans/single-product-components/promo-nudge.jsx:16
767
  __( "Included in your {{planLink}}Professional Plan{{/planLink}}", "jetpack" ), // _inc/client/plans/single-product-components/purchased-product-card.jsx:89
768
  /* translators: Button to purchase product upgrade. %(name)s is the product name. */
769
  __( "Upgrade to %(name)s", "jetpack" ), // _inc/client/plans/single-product-components/upgrade-button.jsx:21
770
+ __( "Up to 100 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:32
771
+ __( "Up to 1,000 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:34
772
+ __( "Up to 10,000 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:36
773
+ __( "Up to 100,000 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:38
774
+ __( "Up to 1,000,000 records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:40
775
+ __( "Up to %(tierMaximumRecords)s records", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:43
776
+ __( "Learn more", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:87
777
+ _n( "Your current site record size: %s record", "Your current site record size: %s records", 1, "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:91
778
+ __( "Upgrade to Jetpack Search", "jetpack" ), // _inc/client/plans/single-product-search/index.jsx:122
779
  __( "Verifying…", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:79
780
  __( "Site failed to verify: %(error)s", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:101
781
  __( "Google", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:187
jetpack.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://jetpack.com
5
  * 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.
6
  * Author: Automattic
7
- * Version: 8.4
8
  * Author URI: https://jetpack.com
9
  * License: GPL2+
10
  * Text Domain: jetpack
@@ -15,7 +15,7 @@
15
 
16
  define( 'JETPACK__MINIMUM_WP_VERSION', '5.3' );
17
  define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' );
18
- define( 'JETPACK__VERSION', '8.4' );
19
  define( 'JETPACK_MASTER_USER', true );
20
  define( 'JETPACK__API_VERSION', 1 );
21
  define( 'JETPACK__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
4
  * Plugin URI: https://jetpack.com
5
  * 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.
6
  * Author: Automattic
7
+ * Version: 8.4.1
8
  * Author URI: https://jetpack.com
9
  * License: GPL2+
10
  * Text Domain: jetpack
15
 
16
  define( 'JETPACK__MINIMUM_WP_VERSION', '5.3' );
17
  define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' );
18
+ define( 'JETPACK__VERSION', '8.4.1' );
19
  define( 'JETPACK_MASTER_USER', true );
20
  define( 'JETPACK__API_VERSION', 1 );
21
  define( 'JETPACK__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
modules/sso.php CHANGED
@@ -701,7 +701,7 @@ class Jetpack_SSO {
701
  $user = get_user_by( 'id', intval( $user_data->external_user_id ) );
702
  if ( $user ) {
703
  $expected_id = get_user_meta( $user->ID, 'wpcom_user_id', true );
704
- if ( $expected_id && $expected_id !== $user_data->ID ) {
705
  $error = new WP_Error( 'expected_wpcom_user', __( 'Something got a little mixed up and an unexpected WordPress.com user logged in.', 'jetpack' ) );
706
 
707
  /** This filter is documented in core/src/wp-includes/pluggable.php */
701
  $user = get_user_by( 'id', intval( $user_data->external_user_id ) );
702
  if ( $user ) {
703
  $expected_id = get_user_meta( $user->ID, 'wpcom_user_id', true );
704
+ if ( $expected_id && $expected_id != $user_data->ID ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
705
  $error = new WP_Error( 'expected_wpcom_user', __( 'Something got a little mixed up and an unexpected WordPress.com user logged in.', 'jetpack' ) );
706
 
707
  /** This filter is documented in core/src/wp-includes/pluggable.php */
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Jetpack by WordPress.com ===
2
  Contributors: automattic, adamkheckler, aduth, akirk, allendav, alternatekev, andy, annezazu, apeatling, azaozz, batmoo, barry, beaulebens, 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, 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, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, MichaelArestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, oskosk, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, roccotripaldi, samhotchkiss, scarstocea, scottsweb, sdquirk, simison, stephdau, tmoorewp, tyxla, Viper007Bond, westi, yoavf, zinigor
3
  Tags: Jetpack, WordPress.com, backup, security, related posts, CDN, speed, anti-spam, social sharing, SEO, video, stats
4
- Stable tag: 8.4
5
  Requires at least: 5.3
6
  Requires PHP: 5.6
7
  Tested up to: 5.4
@@ -96,6 +96,14 @@ There are opportunities for developers at all levels to contribute. [Learn more
96
 
97
  == Changelog ==
98
 
 
 
 
 
 
 
 
 
99
  = 8.4 =
100
 
101
  * Release date: April 7, 2020
1
  === Jetpack by WordPress.com ===
2
  Contributors: automattic, adamkheckler, aduth, akirk, allendav, alternatekev, andy, annezazu, apeatling, azaozz, batmoo, barry, beaulebens, 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, 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, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, MichaelArestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, oskosk, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, roccotripaldi, samhotchkiss, scarstocea, scottsweb, sdquirk, simison, stephdau, tmoorewp, tyxla, Viper007Bond, westi, yoavf, zinigor
3
  Tags: Jetpack, WordPress.com, backup, security, related posts, CDN, speed, anti-spam, social sharing, SEO, video, stats
4
+ Stable tag: 8.4.1
5
  Requires at least: 5.3
6
  Requires PHP: 5.6
7
  Tested up to: 5.4
96
 
97
  == Changelog ==
98
 
99
+ = 8.4.1 =
100
+
101
+ * Release date: April 7, 2020
102
+
103
+ **Bug Fixes**
104
+
105
+ * Secure Sign On: fix conflict that would block one from logging in to their site via the Secure Sign On option.
106
+
107
  = 8.4 =
108
 
109
  * Release date: April 7, 2020
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit00a0b31576a1023081fd30b8697c570e::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitc90b029fcbd08f6ff26c3450ef137a10::getLoader();
vendor/autoload_packages.php CHANGED
@@ -178,7 +178,7 @@ if ( ! function_exists( __NAMESPACE__ . '\autoloader' ) ) {
178
  /**
179
  * Prepare all the classes for autoloading.
180
  */
181
- function enqueue_packages_c576623a999bdeadc8d1274f99fbaeb1() {
182
  $class_map = require_once dirname( __FILE__ ) . '/composer/autoload_classmap_package.php';
183
  foreach ( $class_map as $class_name => $class_info ) {
184
  enqueue_package_class( $class_name, $class_info['version'], $class_info['path'] );
@@ -202,4 +202,4 @@ function enqueue_packages_c576623a999bdeadc8d1274f99fbaeb1() {
202
  file_loader(); // Either WordPress is not loaded or plugin is doing it wrong. Either way we'll load the files so nothing breaks.
203
  }
204
  }
205
- enqueue_packages_c576623a999bdeadc8d1274f99fbaeb1();
178
  /**
179
  * Prepare all the classes for autoloading.
180
  */
181
+ function enqueue_packages_fd6aa45807523b76b1cfaaf3adb6bb45() {
182
  $class_map = require_once dirname( __FILE__ ) . '/composer/autoload_classmap_package.php';
183
  foreach ( $class_map as $class_name => $class_info ) {
184
  enqueue_package_class( $class_name, $class_info['version'], $class_info['path'] );
202
  file_loader(); // Either WordPress is not loaded or plugin is doing it wrong. Either way we'll load the files so nothing breaks.
203
  }
204
  }
205
+ enqueue_packages_fd6aa45807523b76b1cfaaf3adb6bb45();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit00a0b31576a1023081fd30b8697c570e
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit00a0b31576a1023081fd30b8697c570e
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit00a0b31576a1023081fd30b8697c570e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit00a0b31576a1023081fd30b8697c570e', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit00a0b31576a1023081fd30b8697c570e::getInitializer($loader));
31
  } else {
32
  $classMap = require __DIR__ . '/autoload_classmap.php';
33
  if ($classMap) {
@@ -39,19 +39,19 @@ class ComposerAutoloaderInit00a0b31576a1023081fd30b8697c570e
39
  $loader->register(true);
40
 
41
  if ($useStaticLoader) {
42
- $includeFiles = Composer\Autoload\ComposerStaticInit00a0b31576a1023081fd30b8697c570e::$files;
43
  } else {
44
  $includeFiles = require __DIR__ . '/autoload_files.php';
45
  }
46
  foreach ($includeFiles as $fileIdentifier => $file) {
47
- composerRequire00a0b31576a1023081fd30b8697c570e($fileIdentifier, $file);
48
  }
49
 
50
  return $loader;
51
  }
52
  }
53
 
54
- function composerRequire00a0b31576a1023081fd30b8697c570e($fileIdentifier, $file)
55
  {
56
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
57
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitc90b029fcbd08f6ff26c3450ef137a10
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitc90b029fcbd08f6ff26c3450ef137a10', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitc90b029fcbd08f6ff26c3450ef137a10', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitc90b029fcbd08f6ff26c3450ef137a10::getInitializer($loader));
31
  } else {
32
  $classMap = require __DIR__ . '/autoload_classmap.php';
33
  if ($classMap) {
39
  $loader->register(true);
40
 
41
  if ($useStaticLoader) {
42
+ $includeFiles = Composer\Autoload\ComposerStaticInitc90b029fcbd08f6ff26c3450ef137a10::$files;
43
  } else {
44
  $includeFiles = require __DIR__ . '/autoload_files.php';
45
  }
46
  foreach ($includeFiles as $fileIdentifier => $file) {
47
+ composerRequirec90b029fcbd08f6ff26c3450ef137a10($fileIdentifier, $file);
48
  }
49
 
50
  return $loader;
51
  }
52
  }
53
 
54
+ function composerRequirec90b029fcbd08f6ff26c3450ef137a10($fileIdentifier, $file)
55
  {
56
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
57
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit00a0b31576a1023081fd30b8697c570e
8
  {
9
  public static $files = array (
10
  'bce4ecd6aabb2a2948e06d0e2c4ea9a6' => __DIR__ . '/..' . '/automattic/jetpack-connection/legacy/load-ixr.php',
@@ -109,9 +109,9 @@ class ComposerStaticInit00a0b31576a1023081fd30b8697c570e
109
  public static function getInitializer(ClassLoader $loader)
110
  {
111
  return \Closure::bind(function () use ($loader) {
112
- $loader->prefixLengthsPsr4 = ComposerStaticInit00a0b31576a1023081fd30b8697c570e::$prefixLengthsPsr4;
113
- $loader->prefixDirsPsr4 = ComposerStaticInit00a0b31576a1023081fd30b8697c570e::$prefixDirsPsr4;
114
- $loader->classMap = ComposerStaticInit00a0b31576a1023081fd30b8697c570e::$classMap;
115
 
116
  }, null, ClassLoader::class);
117
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitc90b029fcbd08f6ff26c3450ef137a10
8
  {
9
  public static $files = array (
10
  'bce4ecd6aabb2a2948e06d0e2c4ea9a6' => __DIR__ . '/..' . '/automattic/jetpack-connection/legacy/load-ixr.php',
109
  public static function getInitializer(ClassLoader $loader)
110
  {
111
  return \Closure::bind(function () use ($loader) {
112
+ $loader->prefixLengthsPsr4 = ComposerStaticInitc90b029fcbd08f6ff26c3450ef137a10::$prefixLengthsPsr4;
113
+ $loader->prefixDirsPsr4 = ComposerStaticInitc90b029fcbd08f6ff26c3450ef137a10::$prefixDirsPsr4;
114
+ $loader->classMap = ComposerStaticInitc90b029fcbd08f6ff26c3450ef137a10::$classMap;
115
 
116
  }, null, ClassLoader::class);
117
  }