public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/wordpress] epel10: v7.1
@ 2026-08-25  5:54 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-08-25  5:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/wordpress
            Branch : epel10
            Commit : 5561b7cb0300834471baf4d2221ca2c1e1559b16
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-08-25T07:54:43+02:00
            Stats  : +110/-107 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/wordpress/c/5561b7cb0300834471baf4d2221ca2c1e1559b16?branch=epel10

            Log:
            v7.1

(cherry picked from commit 4df68962409223bf6ea5495f8384baa190de9c01)

---
diff --git a/sources b/sources
index 4358751..80ec3c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (wordpress-7.0.4.tar.gz) = c20add4a81efe7f8e44abeec6bbf28c9ef80ca400b9fce1f9605fde5599a37dbe61435bb6a57d6cfbff9a4aba9bcde0d5a37ca1198f90b707aba70d895df4893
+SHA512 (wordpress-7.1.tar.gz) = 4bb95bddeb0d30778b9d744e42f7e21507ed3070fda3e34dd41918073618181e350cf77ea8dfaacc48c59a00f50273b4a1b7a6e4c43d2a81ccfd35f27df342bc

diff --git a/wordpress-5.8-noupdate.patch b/wordpress-5.8-noupdate.patch
deleted file mode 100644
index 39dbb92..0000000
--- a/wordpress-5.8-noupdate.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-diff -up wordpress/wp-admin/includes/admin-filters.php.noupdate wordpress/wp-admin/includes/admin-filters.php
---- wordpress/wp-admin/includes/admin-filters.php.noupdate	2021-07-21 13:55:03.381224813 +0200
-+++ wordpress/wp-admin/includes/admin-filters.php	2021-07-21 13:55:11.920208285 +0200
-@@ -113,7 +113,6 @@ add_action( 'personal_options_update', '
- add_action( 'load-plugins.php', 'wp_plugin_update_rows', 20 ); // After wp_update_plugins() is called.
- add_action( 'load-themes.php', 'wp_theme_update_rows', 20 ); // After wp_update_themes() is called.
- 
--add_action( 'admin_notices', 'update_nag', 3 );
- add_action( 'admin_notices', 'deactivated_plugins_notice', 5 );
- add_action( 'admin_notices', 'paused_plugins_notice', 5 );
- add_action( 'admin_notices', 'paused_themes_notice', 5 );
-diff -up wordpress/wp-admin/includes/class-core-upgrader.php.noupdate wordpress/wp-admin/includes/class-core-upgrader.php
---- wordpress/wp-admin/includes/class-core-upgrader.php.noupdate	2021-06-19 23:37:57.000000000 +0200
-+++ wordpress/wp-admin/includes/class-core-upgrader.php	2021-07-21 13:55:03.381224813 +0200
-@@ -271,6 +271,9 @@ class Core_Upgrader extends WP_Upgrader
- 	 * @return bool True if we should update to the offered version, otherwise false.
- 	 */
- 	public static function should_update_to_version( $offered_ver ) {
-+		// RPM: nether allow core update
-+		return false;
-+
- 		require ABSPATH . WPINC . '/version.php'; // $wp_version; // x.y.z
- 
- 		$current_branch = implode( '.', array_slice( preg_split( '/[.-]/', $wp_version ), 0, 2 ) ); // x.y
-diff -up wordpress/wp-admin/includes/class-wp-automatic-updater.php.noupdate wordpress/wp-admin/includes/class-wp-automatic-updater.php
---- wordpress/wp-admin/includes/class-wp-automatic-updater.php.noupdate	2021-04-16 14:01:15.000000000 +0200
-+++ wordpress/wp-admin/includes/class-wp-automatic-updater.php	2021-07-21 13:55:03.381224813 +0200
-@@ -38,7 +38,7 @@ class WP_Automatic_Updater {
- 		}
- 
- 		// More fine grained control can be done through the WP_AUTO_UPDATE_CORE constant and filters.
--		$disabled = defined( 'AUTOMATIC_UPDATER_DISABLED' ) && AUTOMATIC_UPDATER_DISABLED;
-+		$disabled = !defined( 'AUTOMATIC_UPDATER_DISABLED' ) || AUTOMATIC_UPDATER_DISABLED;
- 
- 		/**
- 		 * Filters whether to entirely disable background updates.
-diff -up wordpress/wp-admin/includes/file.php.noupdate wordpress/wp-admin/includes/file.php
---- wordpress/wp-admin/includes/file.php.noupdate	2021-05-24 21:24:57.000000000 +0200
-+++ wordpress/wp-admin/includes/file.php	2021-07-21 13:55:03.381224813 +0200
-@@ -1992,7 +1992,7 @@ function WP_Filesystem( $args = false, $
-  */
- function get_filesystem_method( $args = array(), $context = '', $allow_relaxed_file_ownership = false ) {
- 	// Please ensure that this is either 'direct', 'ssh2', 'ftpext', or 'ftpsockets'.
--	$method = defined( 'FS_METHOD' ) ? FS_METHOD : false;
-+	$method = defined( 'FS_METHOD' ) ? FS_METHOD : 'direct';
- 
- 	if ( ! $context ) {
- 		$context = WP_CONTENT_DIR;
-diff -up wordpress/wp-admin/includes/update.php.noupdate wordpress/wp-admin/includes/update.php
---- wordpress/wp-admin/includes/update.php.noupdate	2021-05-17 19:04:01.000000000 +0200
-+++ wordpress/wp-admin/includes/update.php	2021-07-21 13:55:03.381224813 +0200
-@@ -341,12 +341,7 @@ function update_right_now_message() {
- 		$cur = get_preferred_from_update_core();
- 
- 		if ( isset( $cur->response ) && 'upgrade' === $cur->response ) {
--			$msg .= sprintf(
--				'<a href="%s" class="button" aria-describedby="wp-version">%s</a> ',
--				network_admin_url( 'update-core.php' ),
--				/* translators: %s: WordPress version number, or 'Latest' string. */
--				sprintf( __( 'Update to %s' ), $cur->current ? $cur->current : __( 'Latest' ) )
--			);
-+			$msg .= '';
- 		}
- 	}
- 
-diff -up wordpress/wp-includes/load.php.noupdate wordpress/wp-includes/load.php
---- wordpress/wp-includes/load.php.noupdate	2021-06-23 21:05:57.000000000 +0200
-+++ wordpress/wp-includes/load.php	2021-07-21 13:55:03.381224813 +0200
-@@ -1579,7 +1579,7 @@ function wp_is_file_mod_allowed( $contex
- 	 * @param bool   $file_mod_allowed Whether file modifications are allowed.
- 	 * @param string $context          The usage context.
- 	 */
--	return apply_filters( 'file_mod_allowed', ! defined( 'DISALLOW_FILE_MODS' ) || ! DISALLOW_FILE_MODS, $context );
-+	return apply_filters( 'file_mod_allowed', defined( 'DISALLOW_FILE_MODS' ) && ! DISALLOW_FILE_MODS, $context );
- }
- 
- /**
-diff -up wordpress/wp-includes/update.php.noupdate wordpress/wp-includes/update.php
---- wordpress/wp-includes/update.php.noupdate	2021-05-17 19:04:01.000000000 +0200
-+++ wordpress/wp-includes/update.php	2021-07-21 13:55:03.381224813 +0200
-@@ -926,10 +926,6 @@ function _maybe_update_themes() {
-  * @since 3.1.0
-  */
- function wp_schedule_update_checks() {
--	if ( ! wp_next_scheduled( 'wp_version_check' ) && ! wp_installing() ) {
--		wp_schedule_event( time(), 'twicedaily', 'wp_version_check' );
--	}
--
- 	if ( ! wp_next_scheduled( 'wp_update_plugins' ) && ! wp_installing() ) {
- 		wp_schedule_event( time(), 'twicedaily', 'wp_update_plugins' );
- 	}

diff --git a/wordpress-7.0-remove-jshint-refs.patch b/wordpress-7.0-remove-jshint-refs.patch
deleted file mode 100644
index a96ced6..0000000
--- a/wordpress-7.0-remove-jshint-refs.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up wordpress/wp-includes/script-loader.php.old wordpress/wp-includes/script-loader.php
---- wordpress/wp-includes/script-loader.php.old	2026-05-26 07:16:50.150861636 +0200
-+++ wordpress/wp-includes/script-loader.php	2026-05-26 07:16:52.778780477 +0200
-@@ -1202,7 +1202,6 @@ function wp_default_scripts( $scripts )
- 	$scripts->add( 'wp-codemirror', '/wp-includes/js/codemirror/codemirror.min.js', array(), '5.65.20' );
- 	$scripts->add( 'csslint', '/wp-includes/js/codemirror/csslint.js', array(), '1.0.5' );
- 	$scripts->add( 'esprima', '/wp-includes/js/codemirror/esprima.js', array(), '4.0.1' ); // Deprecated.
--	$scripts->add( 'jshint', '/wp-includes/js/codemirror/fakejshint.js', array( 'esprima' ), '2.9.5' ); // Deprecated.
- 	$scripts->add( 'jsonlint', '/wp-includes/js/codemirror/jsonlint.js', array(), '1.6.3' );
- 	$scripts->add( 'htmlhint', '/wp-includes/js/codemirror/htmlhint.js', array(), '1.8.0' );
- 	$scripts->add( 'htmlhint-kses', '/wp-includes/js/codemirror/htmlhint-kses.js', array( 'htmlhint' ) );

diff --git a/wordpress-7.1-noupdate.patch b/wordpress-7.1-noupdate.patch
new file mode 100644
index 0000000..d327e71
--- /dev/null
+++ b/wordpress-7.1-noupdate.patch
@@ -0,0 +1,91 @@
+diff -up wordpress/wp-admin/includes/admin-filters.php.orig wordpress/wp-admin/includes/admin-filters.php
+--- wordpress/wp-admin/includes/admin-filters.php.orig	2026-03-09 00:49:37.395081000 +0100
++++ wordpress/wp-admin/includes/admin-filters.php	2026-08-25 07:30:05.010828032 +0200
+@@ -130,7 +130,6 @@ add_action( 'personal_options_update', '
+ add_action( 'load-plugins.php', 'wp_plugin_update_rows', 20 ); // After wp_update_plugins() is called.
+ add_action( 'load-themes.php', 'wp_theme_update_rows', 20 ); // After wp_update_themes() is called.
+ 
+-add_action( 'admin_notices', 'update_nag', 3 );
+ add_action( 'admin_notices', 'deactivated_plugins_notice', 5 );
+ add_action( 'admin_notices', 'paused_plugins_notice', 5 );
+ add_action( 'admin_notices', 'paused_themes_notice', 5 );
+diff -up wordpress/wp-admin/includes/class-core-upgrader.php.orig wordpress/wp-admin/includes/class-core-upgrader.php
+--- wordpress/wp-admin/includes/class-core-upgrader.php.orig	2026-02-13 19:34:41.944764000 +0100
++++ wordpress/wp-admin/includes/class-core-upgrader.php	2026-08-25 07:30:05.010951923 +0200
+@@ -277,6 +277,9 @@ class Core_Upgrader extends WP_Upgrader
+ 	 * @return bool True if we should update to the offered version, otherwise false.
+ 	 */
+ 	public static function should_update_to_version( $offered_ver ) {
++		// RPM: nether allow core update
++		return false;
++
+ 		require ABSPATH . WPINC . '/version.php'; // $wp_version; // x.y.z
+ 
+ 		$current_branch = implode( '.', array_slice( preg_split( '/[.-]/', $wp_version ), 0, 2 ) ); // x.y
+diff -up wordpress/wp-admin/includes/class-wp-automatic-updater.php.orig wordpress/wp-admin/includes/class-wp-automatic-updater.php
+--- wordpress/wp-admin/includes/class-wp-automatic-updater.php.orig	2026-07-29 10:01:50.858475000 +0200
++++ wordpress/wp-admin/includes/class-wp-automatic-updater.php	2026-08-25 07:30:05.011078018 +0200
+@@ -41,7 +41,7 @@ class WP_Automatic_Updater {
+ 		}
+ 
+ 		// More fine grained control can be done through the WP_AUTO_UPDATE_CORE constant and filters.
+-		$disabled = defined( 'AUTOMATIC_UPDATER_DISABLED' ) && AUTOMATIC_UPDATER_DISABLED;
++		$disabled = !defined( 'AUTOMATIC_UPDATER_DISABLED' ) || AUTOMATIC_UPDATER_DISABLED;
+ 
+ 		/**
+ 		 * Filters whether to entirely disable background updates.
+diff -up wordpress/wp-admin/includes/file.php.orig wordpress/wp-admin/includes/file.php
+--- wordpress/wp-admin/includes/file.php.orig	2026-07-29 10:01:50.858475000 +0200
++++ wordpress/wp-admin/includes/file.php	2026-08-25 07:30:05.011274367 +0200
+@@ -2270,7 +2270,7 @@ function WP_Filesystem( $args = false, $
+  */
+ function get_filesystem_method( $args = array(), $context = '', $allow_relaxed_file_ownership = false ) {
+ 	// Please ensure that this is either 'direct', 'ssh2', 'ftpext', or 'ftpsockets'.
+-	$method = defined( 'FS_METHOD' ) ? FS_METHOD : false;
++	$method = defined( 'FS_METHOD' ) ? FS_METHOD : 'direct';
+ 
+ 	if ( ! $context ) {
+ 		$context = WP_CONTENT_DIR;
+diff -up wordpress/wp-admin/includes/update.php.orig wordpress/wp-admin/includes/update.php
+--- wordpress/wp-admin/includes/update.php.orig	2026-07-30 16:55:49.613388000 +0200
++++ wordpress/wp-admin/includes/update.php	2026-08-25 07:31:37.114050011 +0200
+@@ -382,12 +382,7 @@ function update_right_now_message() {
+ 		$cur = get_preferred_from_update_core();
+ 
+ 		if ( isset( $cur->response ) && 'upgrade' === $cur->response ) {
+-			$msg .= sprintf(
+-				'<a href="%s" class="button" aria-describedby="wp-version">%s</a>',
+-				network_admin_url( 'update-core.php' ),
+-				/* translators: %s: WordPress version number, or 'Latest' string. */
+-				sprintf( __( 'Update to %s' ), $cur->current ? $cur->current : __( 'Latest' ) )
+-			);
++			$msg .= '';
+ 		}
+ 	}
+ 
+diff -up wordpress/wp-includes/load.php.orig wordpress/wp-includes/load.php
+--- wordpress/wp-includes/load.php.orig	2026-08-07 21:13:51.810460000 +0200
++++ wordpress/wp-includes/load.php	2026-08-25 07:30:05.011640399 +0200
+@@ -1835,7 +1835,7 @@ function wp_is_file_mod_allowed( $contex
+ 	 * @param bool   $file_mod_allowed Whether file modifications are allowed.
+ 	 * @param string $context          The usage context.
+ 	 */
+-	return apply_filters( 'file_mod_allowed', ! defined( 'DISALLOW_FILE_MODS' ) || ! DISALLOW_FILE_MODS, $context );
++	return apply_filters( 'file_mod_allowed', defined( 'DISALLOW_FILE_MODS' ) && ! DISALLOW_FILE_MODS, $context );
+ }
+ 
+ /**
+diff -up wordpress/wp-includes/update.php.orig wordpress/wp-includes/update.php
+--- wordpress/wp-includes/update.php.orig	2026-07-06 23:09:52.376708000 +0200
++++ wordpress/wp-includes/update.php	2026-08-25 07:30:05.011769619 +0200
+@@ -1087,10 +1087,6 @@ function _maybe_update_themes() {
+  * @since 3.1.0
+  */
+ function wp_schedule_update_checks() {
+-	if ( ! wp_next_scheduled( 'wp_version_check' ) && ! wp_installing() ) {
+-		wp_schedule_event( time(), 'twicedaily', 'wp_version_check' );
+-	}
+-
+ 	if ( ! wp_next_scheduled( 'wp_update_plugins' ) && ! wp_installing() ) {
+ 		wp_schedule_event( time(), 'twicedaily', 'wp_update_plugins' );
+ 	}

diff --git a/wordpress-7.1-remove-jshint-refs.patch b/wordpress-7.1-remove-jshint-refs.patch
new file mode 100644
index 0000000..61d3b6b
--- /dev/null
+++ b/wordpress-7.1-remove-jshint-refs.patch
@@ -0,0 +1,11 @@
+diff -up wordpress/wp-includes/script-loader.php.orig wordpress/wp-includes/script-loader.php
+--- wordpress/wp-includes/script-loader.php.orig	2026-08-25 07:26:03.212320361 +0200
++++ wordpress/wp-includes/script-loader.php	2026-08-25 07:26:08.488274508 +0200
+@@ -1205,7 +1205,6 @@ function wp_default_scripts( $scripts )
+ 	$scripts->add( 'wp-codemirror', '/wp-includes/js/codemirror/codemirror.min.js', array(), '5.65.20' );
+ 	$scripts->add( 'csslint', '/wp-includes/js/codemirror/csslint.js', array(), '1.0.5' );
+ 	$scripts->add( 'esprima', '/wp-includes/js/codemirror/esprima.js', array(), '4.0.1' ); // Deprecated.
+-	$scripts->add( 'jshint', '/wp-includes/js/codemirror/fakejshint.js', array( 'esprima' ), '2.9.5' ); // Deprecated.
+ 	$scripts->add( 'jsonlint', '/wp-includes/js/codemirror/jsonlint.js', array(), '1.6.3' );
+ 	$scripts->add( 'htmlhint', '/wp-includes/js/codemirror/htmlhint.js', array(), '1.9.2' );
+ 	$scripts->add( 'htmlhint-kses', '/wp-includes/js/codemirror/htmlhint-kses.js', array( 'htmlhint' ) );

diff --git a/wordpress.spec b/wordpress.spec
index dfa03db..129dac7 100644
--- a/wordpress.spec
+++ b/wordpress.spec
@@ -7,7 +7,7 @@
 #
 %global wp_content %{_datadir}/wordpress/wp-content
 
-%global upstream_version 7.0.4
+%global upstream_version 7.1
 #global upstream_prever  RC5
 #global upstream_lower   rc5
 
@@ -47,9 +47,9 @@ Patch5: wordpress-5.4-config.patch
 # disable version check and updated
 # change DISALLOW_FILE_MODS default value to true
 # ignore WP_AUTO_UPDATE_CORE (always false)
-Patch6: wordpress-5.8-noupdate.patch
+Patch6: wordpress-7.1-noupdate.patch
 # Debian patch for jshint
-Patch8: wordpress-7.0-remove-jshint-refs.patch
+Patch8: wordpress-7.1-remove-jshint-refs.patch
 
 
 BuildArch: noarch
@@ -96,7 +96,7 @@ Provides: bundled(php-simplepie) = 1.9.0
 # grep ' VERSION '  wordpress/wp-includes/ID3/getid3.php
 Provides: bundled(php-getid3) = 1.9.25
 # grep ' VERSION ' wordpress/wp-includes/PHPMailer/PHPMailer.php
-Provides: bundled(php-phpmailer)  = 7.0.2
+Provides: bundled(php-phpmailer)  = 7.1.1
 Provides: wordpress-mu = %{version}-%{release}
 Obsoletes: wordpress-mu < 2.9.3
 
@@ -245,6 +245,9 @@ end
 
 
 %changelog
+* Tue Aug 25 2026 Remi Collet <remi@remirepo.net> -7.1-1
+- WordPress 7.1 “Mary Lou”
+
 * Thu Aug 13 2026 Remi Collet <remi@remirepo.net> -7.0.4-1
 - WordPress 7.0.4 Release
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25  5:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25  5:54 [rpms/wordpress] epel10: v7.1 Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox