Docs: Correct some invalid hook docblocks.
See #48303 Built from https://develop.svn.wordpress.org/trunk@46729 git-svn-id: http://core.svn.wordpress.org/trunk@46529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6ceb0279af
commit
3def77672d
|
@ -168,9 +168,9 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
|
||||||
*
|
*
|
||||||
* @since 4.1.0
|
* @since 4.1.0
|
||||||
*
|
*
|
||||||
* @param String $processed_line The processed diffed line.
|
* @param string $processed_line The processed diffed line.
|
||||||
* @param String $line The unprocessed diffed line.
|
* @param string $line The unprocessed diffed line.
|
||||||
* @param string null The line context. Values are 'added', 'deleted' or 'unchanged'.
|
* @param string $context The line context. Values are 'added', 'deleted' or 'unchanged'.
|
||||||
*/
|
*/
|
||||||
$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'added' );
|
$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'added' );
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,8 +129,8 @@ class WP_REST_Server {
|
||||||
*
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
*
|
*
|
||||||
* @param WP_Error|null|true WP_Error if authentication error, null if authentication
|
* @param WP_Error|null|true $errors WP_Error if authentication error, null if authentication
|
||||||
* method wasn't used, true if authentication succeeded.
|
* method wasn't used, true if authentication succeeded.
|
||||||
*/
|
*/
|
||||||
return apply_filters( 'rest_authentication_errors', null );
|
return apply_filters( 'rest_authentication_errors', null );
|
||||||
}
|
}
|
||||||
|
|
|
@ -431,9 +431,9 @@ class WP_REST_Revisions_Controller extends WP_REST_Controller {
|
||||||
*
|
*
|
||||||
* @since 4.7.0
|
* @since 4.7.0
|
||||||
*
|
*
|
||||||
* @param (mixed) $result The revision object (if it was deleted or moved to the trash successfully)
|
* @param WP_Post|false|null $result The revision object (if it was deleted or moved to the trash successfully)
|
||||||
* or false (failure). If the revision was moved to the trash, $result represents
|
* or false or null (failure). If the revision was moved to the trash, $result represents
|
||||||
* its new state; if it was deleted, $result represents its state before deletion.
|
* its new state; if it was deleted, $result represents its state before deletion.
|
||||||
* @param WP_REST_Request $request The request sent to the API.
|
* @param WP_REST_Request $request The request sent to the API.
|
||||||
*/
|
*/
|
||||||
do_action( 'rest_delete_revision', $result, $request );
|
do_action( 'rest_delete_revision', $result, $request );
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4-alpha-46724';
|
$wp_version = '5.4-alpha-46729';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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