mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 23:27:39 +02:00
Docs: Fix typos in DocBlocks and comments in wp-admin/includes/file.php
.
Props mukesh27. Fixes #47026. Built from https://develop.svn.wordpress.org/trunk@45394 git-svn-id: http://core.svn.wordpress.org/trunk@45205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
68fd25ff1a
commit
a36f5d2295
@ -742,7 +742,7 @@ function _wp_handle_upload( &$file, $overrides, $time, $action ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This may not have orignially been intended to be overrideable,
|
* This may not have originally been intended to be overridable,
|
||||||
* but historically has been.
|
* but historically has been.
|
||||||
*/
|
*/
|
||||||
if ( isset( $overrides['upload_error_strings'] ) ) {
|
if ( isset( $overrides['upload_error_strings'] ) ) {
|
||||||
@ -1155,7 +1155,7 @@ function verify_file_md5( $filename, $expected_md5 ) {
|
|||||||
* @param string|array $signatures A Signature provided for the file.
|
* @param string|array $signatures A Signature provided for the file.
|
||||||
* @param string $filename_for_errors A friendly filename for errors. Optional.
|
* @param string $filename_for_errors A friendly filename for errors. Optional.
|
||||||
*
|
*
|
||||||
* @return bool|WP_Error true on success, false if verificaiton not attempted, or WP_Error describing an error condition.
|
* @return bool|WP_Error true on success, false if verification not attempted, or WP_Error describing an error condition.
|
||||||
*/
|
*/
|
||||||
function verify_file_signature( $filename, $signatures, $filename_for_errors = false ) {
|
function verify_file_signature( $filename, $signatures, $filename_for_errors = false ) {
|
||||||
if ( ! $filename_for_errors ) {
|
if ( ! $filename_for_errors ) {
|
||||||
@ -2527,7 +2527,7 @@ All at ###SITENAME###
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Intercept personal data exporter page ajax responses in order to assemble the personal data export file.
|
* Intercept personal data exporter page Ajax responses in order to assemble the personal data export file.
|
||||||
* @see wp_privacy_personal_data_export_page
|
* @see wp_privacy_personal_data_export_page
|
||||||
* @since 4.9.6
|
* @since 4.9.6
|
||||||
*
|
*
|
||||||
@ -2543,7 +2543,7 @@ All at ###SITENAME###
|
|||||||
function wp_privacy_process_personal_data_export_page( $response, $exporter_index, $email_address, $page, $request_id, $send_as_email, $exporter_key ) {
|
function wp_privacy_process_personal_data_export_page( $response, $exporter_index, $email_address, $page, $request_id, $send_as_email, $exporter_key ) {
|
||||||
/* Do some simple checks on the shape of the response from the exporter.
|
/* Do some simple checks on the shape of the response from the exporter.
|
||||||
* If the exporter response is malformed, don't attempt to consume it - let it
|
* If the exporter response is malformed, don't attempt to consume it - let it
|
||||||
* pass through to generate a warning to the user by default ajax processing.
|
* pass through to generate a warning to the user by default Ajax processing.
|
||||||
*/
|
*/
|
||||||
if ( ! is_array( $response ) ) {
|
if ( ! is_array( $response ) ) {
|
||||||
return $response;
|
return $response;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45393';
|
$wp_version = '5.3-alpha-45394';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user