mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Docs: Add missing parameter and return notations in the DocBlock for get_profile()
.
See #32246. Built from https://develop.svn.wordpress.org/trunk@36028 git-svn-id: http://core.svn.wordpress.org/trunk@35993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
543420158f
commit
013d1178e5
@ -2397,6 +2397,10 @@ function automatic_feed_links( $add = true ) {
|
|||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @deprecated 3.0.0 Use get_the_author_meta()
|
* @deprecated 3.0.0 Use get_the_author_meta()
|
||||||
* @see get_the_author_meta()
|
* @see get_the_author_meta()
|
||||||
|
*
|
||||||
|
* @param string $field User meta field.
|
||||||
|
* @param false|int $user Optional. User ID to retrieve the field for. Default false (current user).
|
||||||
|
* @return string The author's field from the current author's DB object.
|
||||||
*/
|
*/
|
||||||
function get_profile( $field, $user = false ) {
|
function get_profile( $field, $user = false ) {
|
||||||
_deprecated_function( __FUNCTION__, '3.0', 'get_the_author_meta()' );
|
_deprecated_function( __FUNCTION__, '3.0', 'get_the_author_meta()' );
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36027';
|
$wp_version = '4.5-alpha-36028';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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