mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-20 15:21:28 +01:00
In WP_User
, add @property
docs for description
, first_name
, and last_name
. user_firstname
and user_lastname
only exist for back-compat.
See #33491. Built from https://develop.svn.wordpress.org/trunk@33958 git-svn-id: http://core.svn.wordpress.org/trunk@33927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5e9e1d14bd
commit
8879565c0a
@ -274,8 +274,8 @@ function export_wp( $args = array() ) {
|
|||||||
echo '<wp:author_login>' . $author->user_login . '</wp:author_login>';
|
echo '<wp:author_login>' . $author->user_login . '</wp:author_login>';
|
||||||
echo '<wp:author_email>' . $author->user_email . '</wp:author_email>';
|
echo '<wp:author_email>' . $author->user_email . '</wp:author_email>';
|
||||||
echo '<wp:author_display_name>' . wxr_cdata( $author->display_name ) . '</wp:author_display_name>';
|
echo '<wp:author_display_name>' . wxr_cdata( $author->display_name ) . '</wp:author_display_name>';
|
||||||
echo '<wp:author_first_name>' . wxr_cdata( $author->user_firstname ) . '</wp:author_first_name>';
|
echo '<wp:author_first_name>' . wxr_cdata( $author->first_name ) . '</wp:author_first_name>';
|
||||||
echo '<wp:author_last_name>' . wxr_cdata( $author->user_lastname ) . '</wp:author_last_name>';
|
echo '<wp:author_last_name>' . wxr_cdata( $author->last_name ) . '</wp:author_last_name>';
|
||||||
echo "</wp:author>\n";
|
echo "</wp:author>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,11 @@
|
|||||||
* @subpackage User
|
* @subpackage User
|
||||||
*
|
*
|
||||||
* @property string $nickname
|
* @property string $nickname
|
||||||
|
* @property string $description
|
||||||
* @property string $user_description
|
* @property string $user_description
|
||||||
|
* @property string $first_name
|
||||||
* @property string $user_firstname
|
* @property string $user_firstname
|
||||||
|
* @property string $last_name
|
||||||
* @property string $user_lastname
|
* @property string $user_lastname
|
||||||
* @property string $user_login
|
* @property string $user_login
|
||||||
* @property string $user_pass
|
* @property string $user_pass
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-33957';
|
$wp_version = '4.4-alpha-33958';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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