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:
John Blackbourn 2019-11-12 22:42:02 +00:00
parent 6ceb0279af
commit 3def77672d
4 changed files with 9 additions and 9 deletions

View File

@ -168,9 +168,9 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
*
* @since 4.1.0
*
* @param String $processed_line The processed diffed line.
* @param String $line The unprocessed diffed line.
* @param string null The line context. Values are 'added', 'deleted' or 'unchanged'.
* @param string $processed_line The processed diffed line.
* @param string $line The unprocessed diffed line.
* @param string $context The line context. Values are 'added', 'deleted' or 'unchanged'.
*/
$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'added' );
}

View File

@ -129,8 +129,8 @@ class WP_REST_Server {
*
* @since 4.4.0
*
* @param WP_Error|null|true WP_Error if authentication error, null if authentication
* method wasn't used, true if authentication succeeded.
* @param WP_Error|null|true $errors WP_Error if authentication error, null if authentication
* method wasn't used, true if authentication succeeded.
*/
return apply_filters( 'rest_authentication_errors', null );
}

View File

@ -431,9 +431,9 @@ class WP_REST_Revisions_Controller extends WP_REST_Controller {
*
* @since 4.7.0
*
* @param (mixed) $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
* its new state; if it was deleted, $result represents its state before deletion.
* @param WP_Post|false|null $result The revision object (if it was deleted or moved to the trash successfully)
* 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.
* @param WP_REST_Request $request The request sent to the API.
*/
do_action( 'rest_delete_revision', $result, $request );

View File

@ -13,7 +13,7 @@
*
* @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.