Skip to content

Commit

Permalink
New build
Browse files Browse the repository at this point in the history
  • Loading branch information
jeherve committed Aug 14, 2020
1 parent 7cb19c0 commit 4eba223
Show file tree
Hide file tree
Showing 15 changed files with 48 additions and 28 deletions.
2 changes: 1 addition & 1 deletion _inc/build/infinite-scroll/infinity.min.js

Large diffs are not rendered by default.

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

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

= 8.8.2 =

* Release date: August 17, 2020

**Bug fixes**

* Infinite Scroll: avoid loading issues with some themes using Infinite Scroll.

= 8.8.1 =

* Release date: August 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: 8.8.1
* Version: 8.8.2
* Author URI: https://jetpack.com
* License: GPL2+
* Text Domain: jetpack
Expand All @@ -16,7 +16,7 @@

define( 'JETPACK__MINIMUM_WP_VERSION', '5.4' );
define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' );
define( 'JETPACK__VERSION', '8.8.1' );
define( 'JETPACK__VERSION', '8.8.2' );
define( 'JETPACK_MASTER_USER', true );
define( 'JETPACK__API_VERSION', 1 );
define( 'JETPACK__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
Expand Down
16 changes: 10 additions & 6 deletions modules/infinite-scroll/infinity.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,12 +486,16 @@

// If 'click' type and there are still posts to fetch, add back the handle
if ( type == 'click' ) {
// add focus to new posts, only in button mode as we know where page focus currently is
document
.querySelector( '#infinite-view-' + ( self.page + self.offset - 1 ) + ' a:first-of-type' )
.focus( {
preventScroll: true,
} );
// add focus to new posts, only in button mode as we know where page focus currently is and only if we have a wrapper
if ( infiniteScroll.settings.wrapper ) {
document
.querySelector(
'#infinite-view-' + ( self.page + self.offset - 1 ) + ' a:first-of-type'
)
.focus( {
preventScroll: true,
} );
}

if ( response.lastbatch ) {
if ( self.click_handle ) {
Expand Down
8 changes: 8 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ There are opportunities for developers at all levels to contribute. [Learn more

== Changelog ==

= 8.8.2 =

* Release date: August 17, 2020

**Bug fixes**

* Infinite Scroll: avoid loading issues with some themes using Infinite Scroll.

= 8.8.1 =

* Release date: August 10, 2020
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 ComposerAutoloaderInit430d01c96b612c440e5d3e48a916fb64::getLoader();
return ComposerAutoloaderInitc22e67954a676ae766a3df84289c5daa::getLoader();
2 changes: 1 addition & 1 deletion vendor/autoload_functions.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\jpdf10f8600d1e3fbc7a3583ae771162e8;
namespace Automattic\Jetpack\Autoloader\jpb636b56969c8ac0707394eb685333a34;

// phpcs:ignore

Expand Down
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\jpdf10f8600d1e3fbc7a3583ae771162e8;
namespace Automattic\Jetpack\Autoloader\jpb636b56969c8ac0707394eb685333a34;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/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\jpdf10f8600d1e3fbc7a3583ae771162e8;
namespace Automattic\Jetpack\Autoloader\jpb636b56969c8ac0707394eb685333a34;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/class-classes-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\jpdf10f8600d1e3fbc7a3583ae771162e8;
namespace Automattic\Jetpack\Autoloader\jpb636b56969c8ac0707394eb685333a34;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/class-files-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\jpdf10f8600d1e3fbc7a3583ae771162e8;
namespace Automattic\Jetpack\Autoloader\jpb636b56969c8ac0707394eb685333a34;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/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\jpdf10f8600d1e3fbc7a3583ae771162e8;
namespace Automattic\Jetpack\Autoloader\jpb636b56969c8ac0707394eb685333a34;

// phpcs:ignore

Expand Down
2 changes: 1 addition & 1 deletion vendor/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\jpdf10f8600d1e3fbc7a3583ae771162e8;
namespace Automattic\Jetpack\Autoloader\jpb636b56969c8ac0707394eb685333a34;

// phpcs:ignore

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 ComposerAutoloaderInit430d01c96b612c440e5d3e48a916fb64
class ComposerAutoloaderInitc22e67954a676ae766a3df84289c5daa
{
private static $loader;

Expand All @@ -22,15 +22,15 @@ public static function getLoader()
return self::$loader;
}

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

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

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

if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit430d01c96b612c440e5d3e48a916fb64::$files;
$includeFiles = Composer\Autoload\ComposerStaticInitc22e67954a676ae766a3df84289c5daa::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire430d01c96b612c440e5d3e48a916fb64($fileIdentifier, $file);
composerRequirec22e67954a676ae766a3df84289c5daa($fileIdentifier, $file);
}

return $loader;
}
}

function composerRequire430d01c96b612c440e5d3e48a916fb64($fileIdentifier, $file)
function composerRequirec22e67954a676ae766a3df84289c5daa($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;
Expand Down
8 changes: 4 additions & 4 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 ComposerStaticInit430d01c96b612c440e5d3e48a916fb64
class ComposerStaticInitc22e67954a676ae766a3df84289c5daa
{
public static $files = array (
'bce4ecd6aabb2a2948e06d0e2c4ea9a6' => __DIR__ . '/..' . '/automattic/jetpack-connection/legacy/load-ixr.php',
Expand Down Expand Up @@ -119,9 +119,9 @@ class ComposerStaticInit430d01c96b612c440e5d3e48a916fb64
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit430d01c96b612c440e5d3e48a916fb64::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit430d01c96b612c440e5d3e48a916fb64::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit430d01c96b612c440e5d3e48a916fb64::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitc22e67954a676ae766a3df84289c5daa::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitc22e67954a676ae766a3df84289c5daa::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitc22e67954a676ae766a3df84289c5daa::$classMap;

}, null, ClassLoader::class);
}
Expand Down

0 comments on commit 4eba223

Please sign in to comment.