diff --git a/composer.json b/composer.json index 3507ea5f8da24e5a46058fac15e109cf34190b8e..0ba4f3b6dc8c4081119573f4ffcc25b2cf22a604 100644 --- a/composer.json +++ b/composer.json @@ -119,7 +119,7 @@ "wpackagist-plugin/secure-encrypted-form": "1.0.1", "wpackagist-theme/twentytwentyone": "2.3", "wpackagist-plugin/wpgancio": "1.12", - "roots/wordpress": "6.6.2", + "roots/wordpress": "6.7", "noblogs/wplang": "0.0.9", "wpackagist-theme/twentytwentytwo": "1.8", "wpackagist-theme/twentytwentythree": "1.5", diff --git a/composer.lock b/composer.lock index 369d7d99620fc1be00384fdb2a71833411d0dc42..52ec4845cd8c5b426f499dc60726159d16dfde8e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6e55df76a14f4cdb6c43e9aca3a57356", + "content-hash": "80d653f19de3f176ac4b887cfb65e426", "packages": [ { "name": "composer/installers", @@ -708,7 +708,7 @@ }, { "name": "roots/wordpress", - "version": "6.6.2", + "version": "6.7", "source": { "type": "git", "url": "https://github.com/roots/wordpress.git", @@ -739,7 +739,7 @@ ], "support": { "issues": "https://github.com/roots/wordpress/issues", - "source": "https://github.com/roots/wordpress/tree/6.6.2" + "source": "https://github.com/roots/wordpress/tree/6.7" }, "funding": [ { @@ -822,22 +822,22 @@ }, { "name": "roots/wordpress-no-content", - "version": "6.6.2", + "version": "6.7", "source": { "type": "git", "url": "https://github.com/WordPress/WordPress.git", - "reference": "6.6.2" + "reference": "6.7" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/release/wordpress-6.6.2-no-content.zip", - "shasum": "b496b8a9bb3c6d20a781344cbe3e189f7fd83871" + "url": "https://downloads.wordpress.org/release/wordpress-6.7-no-content.zip", + "shasum": "d30558244ed409b6421a5454f9c837d0884317f2" }, "require": { "php": ">= 7.2.24" }, "provide": { - "wordpress/core-implementation": "6.6.2" + "wordpress/core-implementation": "6.7" }, "suggest": { "ext-curl": "Performs remote request operations.", @@ -888,7 +888,7 @@ "type": "other" } ], - "time": "2024-09-10T15:25:31+00:00" + "time": "2024-11-12T20:51:37+00:00" }, { "name": "wpackagist-plugin/activitypub", diff --git a/patches/core/anonymize-update.php.patch b/patches/core/anonymize-update.php.patch index 27058a40b0b056567dd7a57a37df8f60d4fa6935..c53c826e588fc4c63442e909d1e73d2fbc508306 100644 --- a/patches/core/anonymize-update.php.patch +++ b/patches/core/anonymize-update.php.patch @@ -1,15 +1,8 @@ ---- wp-includes/update.php 2022-05-24 20:10:11.000000000 +0100 -+++ wp-includes/update.php 2022-05-27 07:54:42.729857342 +0100 -@@ -91,12 +91,12 @@ - - $query = array( - 'version' => $wp_version, -- 'php' => $php_version, -- 'locale' => $locale, -- 'mysql' => $mysql_version, -+ 'php' => 'N/A', -+ 'locale' => 'C', -+ 'mysql' => 'N/A', +--- wp-includes/update.php.orig 2024-11-16 17:12:34.097951765 +0000 ++++ wp-includes/update.php 2024-11-16 17:13:46.374455940 +0000 +@@ -98,8 +98,8 @@ + 'locale' => $locale, + 'mysql' => $mysql_version, 'local_package' => isset( $wp_local_package ) ? $wp_local_package : '', - 'blogs' => $num_blogs, - 'users' => get_user_count(), @@ -17,35 +10,17 @@ + 'users' => 31337, 'multisite_enabled' => $multisite_enabled, 'initial_db_version' => get_site_option( 'initial_db_version' ), - ); -@@ -152,11 +152,7 @@ + 'extensions' => array_combine( $extensions, array_map( 'phpversion', $extensions ) ), +@@ -193,11 +193,7 @@ $options = array( 'timeout' => $doing_cron ? 30 : 3, -- 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url( '/' ), +- 'user-agent' => 'WordPress/' . wp_get_wp_version() . '; ' . home_url( '/' ), - 'headers' => array( - 'wp_install' => $wp_install, - 'wp_blog' => home_url( '/' ), - ), -+ 'user-agent' => 'WordPress/' . $wp_version . '; https://wordpress.org', ++ 'user-agent' => 'WordPress/' . wp_get_wp_version() . '; https://wordpress.org', 'body' => $post_body, ); -@@ -383,7 +379,7 @@ - 'locale' => wp_json_encode( $locales ), - 'all' => wp_json_encode( true ), - ), -- 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url( '/' ), -+ 'user-agent' => 'WordPress/' . $wp_version . '; https://wordpress.org', - ); - - if ( $extra_stats ) { -@@ -663,7 +659,7 @@ - 'translations' => wp_json_encode( $translations ), - 'locale' => wp_json_encode( $locales ), - ), -- 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url( '/' ), -+ 'user-agent' => 'WordPress/' . $wp_version . '; https://wordpress.org', - ); - - if ( $extra_stats ) {