Changeset 64045
- Timestamp:
- 10/02/2026 01:57:35 AM (6 weeks ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
src/wp-admin/includes/image.php (modified) (1 diff)
-
src/wp-admin/includes/upgrade.php (modified) (1 diff)
-
src/wp-admin/update.php (modified) (1 diff)
-
tests/phpstan/baselines/argument.type.neon (modified) (1 diff)
-
tests/phpunit/includes/install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image.php
r62537 r64045 636 636 } 637 637 $basename = str_replace( '.', '-', wp_basename( $file ) ) . '-image' . $ext; 638 $uploaded = wp_upload_bits( $basename, '', $metadata['image']['data'] );638 $uploaded = wp_upload_bits( $basename, null, $metadata['image']['data'] ); 639 639 if ( false === $uploaded['error'] ) { 640 640 $image_attachment = array( -
trunk/src/wp-admin/includes/upgrade.php
r63494 r64045 1866 1866 $uninstall_plugins = get_option( 'uninstall_plugins' ); 1867 1867 delete_option( 'uninstall_plugins' ); 1868 add_option( 'uninstall_plugins', $uninstall_plugins, null, false );1868 add_option( 'uninstall_plugins', $uninstall_plugins, '', false ); 1869 1869 } 1870 1870 } -
trunk/src/wp-admin/update.php
r61455 r64045 88 88 die(); 89 89 } 90 iframe_header( __( 'Plugin Reactivation' ) , true);90 iframe_header( __( 'Plugin Reactivation' ) ); 91 91 if ( isset( $_GET['success'] ) ) { 92 92 echo '<p>' . __( 'Plugin reactivated successfully.' ) . '</p>'; -
trunk/tests/phpstan/baselines/argument.type.neon
r64043 r64045 320 320 path: ../../../src/wp-admin/includes/upgrade.php 321 321 - 322 message: '#^Parameter \#3 \$deprecated of function add_option expects string, null given\.$#'323 identifier: argument.type324 count: 1325 path: ../../../src/wp-admin/includes/upgrade.php326 -327 322 message: '#^Parameter \#1 \$bookmark_id of function clean_bookmark_cache expects int, string\|null given\.$#' 328 323 identifier: argument.type -
trunk/tests/phpunit/includes/install.php
r63590 r64045 92 92 add_action( 'populate_options', '_set_default_permalink_structure_for_tests' ); 93 93 94 wp_install( WP_TESTS_TITLE, 'admin', WP_TESTS_EMAIL, true, null, 'password' );94 wp_install( WP_TESTS_TITLE, 'admin', WP_TESTS_EMAIL, true, '', 'password' ); 95 95 96 96 // Delete dummy permalink structure, as prefilled above.
Note:
See TracChangeset
for help on using the changeset viewer.