Docs: Correct some invalid hook docblocks.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46729 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6d27a0595f
commit
f42022287a
@ -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' );
|
||||
}
|
||||
|
@ -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 );
|
||||
}
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user