Docs: Fix a docblock typo in `get_the_modified_author`.
Follow-up to [53187]. See #55420. Built from https://develop.svn.wordpress.org/trunk@53188 git-svn-id: http://core.svn.wordpress.org/trunk@52777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ed59d4f043
commit
6d0458e78c
|
@ -86,7 +86,7 @@ function the_author( $deprecated = '', $deprecated_echo = true ) {
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @return string|void The author's display name, empty string if unkown.
|
* @return string|void The author's display name, empty string if unknown.
|
||||||
*/
|
*/
|
||||||
function get_the_modified_author() {
|
function get_the_modified_author() {
|
||||||
$last_id = get_post_meta( get_post()->ID, '_edit_last', true );
|
$last_id = get_post_meta( get_post()->ID, '_edit_last', true );
|
||||||
|
@ -99,7 +99,7 @@ function get_the_modified_author() {
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @param string $display_name The author's display name, empty string if unkown.
|
* @param string $display_name The author's display name, empty string if unknown.
|
||||||
*/
|
*/
|
||||||
return apply_filters( 'the_modified_author', $last_user ? $last_user->display_name : '' );
|
return apply_filters( 'the_modified_author', $last_user ? $last_user->display_name : '' );
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.0-beta1-53187';
|
$wp_version = '6.0-beta1-53188';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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