Changeset 50152
- Timestamp:
- 02/02/2021 06:02:36 PM (4 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cron.php
r50143 r50152 545 545 if ( ! is_array( $args ) ) { 546 546 _deprecated_argument( __FUNCTION__, '3.0.0', __( 'This argument has changed to an array to match the behavior of the other cron functions.' ) ); 547 $args = array_slice( func_get_args(), 1 ); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection547 $args = array_slice( func_get_args(), 1 ); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection 548 548 $wp_error = false; 549 549 } … … 1183 1183 function _set_cron_array( $cron, $wp_error = false ) { 1184 1184 $cron['version'] = 2; 1185 $result = update_option( 'cron', $cron );1185 $result = update_option( 'cron', $cron ); 1186 1186 1187 1187 if ( $wp_error && ! $result ) { -
trunk/src/wp-includes/media.php
r50148 r50152 4987 4987 * Silencing notice and warning is intentional. 4988 4988 * 4989 * getimagesize() has a tendency to generate errors, such as 4989 * getimagesize() has a tendency to generate errors, such as 4990 4990 * "corrupt JPEG data: 7191 extraneous bytes before marker", 4991 4991 * even when it's able to provide image size information. -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r50124 r50152 1336 1336 'oneOf' => array( 1337 1337 array( 1338 'title' 1339 'properties' 1338 'title' => __( 'Rotation' ), 1339 'properties' => array( 1340 1340 'type' => array( 1341 1341 'description' => __( 'Rotation type.' ), … … 1359 1359 ), 1360 1360 array( 1361 'title' 1362 'properties' 1361 'title' => __( 'Crop' ), 1362 'properties' => array( 1363 1363 'type' => array( 1364 1364 'description' => __( 'Crop type.' ), -
trunk/src/wp-includes/script-loader.php
r50129 r50152 1084 1084 'userProfileL10n', 1085 1085 array( 1086 'user_id' 1087 'nonce' 1086 'user_id' => $user_id, 1087 'nonce' => wp_create_nonce( 'reset-password-for-' . $user_id ), 1088 1088 ) 1089 1089 );
Note: See TracChangeset
for help on using the changeset viewer.