mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Fix some @param docs that have chars too close them.
Add `@property` annotations to `WP_User` and `WP_Post`. Remove erroneous `@param`s from image editor class methods. Officially add the property `$_column_headers` to `WP_List_Table`. See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31127 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -415,6 +415,17 @@ class WP_Role {
|
||||
* @since 2.0.0
|
||||
* @package WordPress
|
||||
* @subpackage User
|
||||
*
|
||||
* @property string $display_name
|
||||
* @property string $nickname
|
||||
* @property string $user_description
|
||||
* @property string $user_email
|
||||
* @property string $user_firstname
|
||||
* @property string $user_lastname
|
||||
* @property string $user_nicename
|
||||
* @property string $user_pass
|
||||
* @property string $user_registered
|
||||
* @property string $user_url
|
||||
*/
|
||||
class WP_User {
|
||||
/**
|
||||
@@ -492,7 +503,6 @@ class WP_User {
|
||||
* @param int|string|stdClass|WP_User $id User's ID, a WP_User object, or a user object from the DB.
|
||||
* @param string $name Optional. User's username
|
||||
* @param int $blog_id Optional Blog ID, defaults to current blog.
|
||||
* @return WP_User
|
||||
*/
|
||||
public function __construct( $id = 0, $name = '', $blog_id = '' ) {
|
||||
if ( ! isset( self::$back_compat_keys ) ) {
|
||||
|
||||
Reference in New Issue
Block a user