diff -r 48c4eec2b7e6 -r 8c2e4d02f4ef wp/wp-includes/deprecated.php --- a/wp/wp-includes/deprecated.php Fri Sep 05 18:40:08 2025 +0200 +++ b/wp/wp-includes/deprecated.php Fri Sep 05 18:52:52 2025 +0200 @@ -705,7 +705,7 @@ $show_option_none = ''; if ( $optionnone ) - $show_option_none = _x( 'None', 'Categories dropdown (show_option_none parameter)' ); + $show_option_none = _x( 'None', 'Categories dropdown (show_option_none parameter)' ); $vars = compact('show_option_all', 'show_option_none', 'orderby', 'order', 'show_last_update', 'show_count', 'hide_empty', 'selected', 'exclude'); @@ -3673,6 +3673,7 @@ function wp_get_http( $url, $file_path = false, $red = 1 ) { _deprecated_function( __FUNCTION__, '4.4.0', 'WP_Http' ); + // Add 60 seconds to the script timeout to ensure the remote request has enough time. if ( function_exists( 'set_time_limit' ) ) { @set_time_limit( 60 ); } @@ -5189,7 +5190,7 @@ * Returns the duotone filter SVG string for the preset. * * @since 5.9.1 - * @deprecated 6.3.0 + * @deprecated 6.3.0 Use WP_Duotone::get_filter_svg_from_preset() instead. * * @access private * @@ -5197,7 +5198,7 @@ * @return string Duotone SVG filter. */ function wp_get_duotone_filter_svg( $preset ) { - _deprecated_function( __FUNCTION__, '6.3.0' ); + _deprecated_function( __FUNCTION__, '6.3.0', 'WP_Duotone::get_filter_svg_from_preset()' ); return WP_Duotone::get_filter_svg_from_preset( $preset ); } @@ -6002,7 +6003,7 @@ */ $support_errors = apply_filters( 'pre_wp_update_https_detection_errors', null ); if ( is_wp_error( $support_errors ) ) { - update_option( 'https_detection_errors', $support_errors->errors ); + update_option( 'https_detection_errors', $support_errors->errors, false ); return; } @@ -6168,7 +6169,6 @@