From 8e0ebde5756b1c5afa502f23e6d27576f356f7f7 Mon Sep 17 00:00:00 2001 From: Noah Allen Date: Fri, 15 Mar 2024 14:24:05 -0700 Subject: [PATCH] Try updating constants to fix string substitution issue --- jetpack | 2 +- tests/files/test-vip-filesystem.php | 8 ++++---- wp-parsely | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jetpack b/jetpack index 62e845363f7..d48c3e0a9a4 160000 --- a/jetpack +++ b/jetpack @@ -1 +1 @@ -Subproject commit 62e845363f7784e1cd69ac726e94e1dd0108bc65 +Subproject commit d48c3e0a9a4db837a59f4e22595765b61924cfd4 diff --git a/tests/files/test-vip-filesystem.php b/tests/files/test-vip-filesystem.php index 496b0e8d63d..c23692bd69e 100644 --- a/tests/files/test-vip-filesystem.php +++ b/tests/files/test-vip-filesystem.php @@ -29,8 +29,8 @@ class VIP_Filesystem_Test extends WP_UnitTestCase { public static function configure_constant_mocker(): void { Constant_Mocker::clear(); - define( 'LOCAL_UPLOADS', '/wp/uploads' ); - define( 'WP_CONTENT_DIR', '/wp/wordpress/wp-content' ); + define( 'LOCAL_UPLOADS', '/tmp/uploads' ); + define( 'WP_CONTENT_DIR', '/tmp/wordpress/wp-content' ); } public function setUp(): void { @@ -397,8 +397,8 @@ public function test_wp_font_dir() { $font_dir = \wp_get_font_dir(); $this->assertEquals( $font_dir, [ - 'path' => 'vip://wp-contentt/uploads/fonts', - 'basedir' => 'vip://wp-contentt/uploads/fonts', + 'path' => 'vip://wp-content/uploads/fonts', + 'basedir' => 'vip://wp-content/uploads/fonts', 'url' => 'http://example.org/wp-content/uploads/fonts', 'baseurl' => 'http://example.org/wp-content/uploads/fonts', 'subdir' => '', diff --git a/wp-parsely b/wp-parsely index e8832ccca51..17aaceebae4 160000 --- a/wp-parsely +++ b/wp-parsely @@ -1 +1 @@ -Subproject commit e8832ccca5122045874b9e4722e6b5b747029d5a +Subproject commit 17aaceebae4c9a50747030af20f6013fa22234d6