Make WordPress Core

Changeset 31127


Ignore:
Timestamp:
01/10/2015 06:56:51 AM (10 years ago)
Author:
wonderboymusic
Message:

Fix some @param docs that have chars too close them.
Add @property annotations to WP_User and WP_Post.
Remove erroneous @params from image editor class methods.
Officially add the property $_column_headers to WP_List_Table.

See #30799.

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r30984 r31127  
    7373     */
    7474    protected $modes = array();
     75
     76    /**
     77     * Stores the value returned by ->get_column_info()
     78     *
     79     * @var array
     80     */
     81    protected $_column_headers;
    7582
    7683    /**
  • trunk/src/wp-includes/capabilities.php

    r31078 r31127  
    416416 * @package WordPress
    417417 * @subpackage User
     418 *
     419 * @property string $display_name
     420 * @property string $nickname
     421 * @property string $user_description
     422 * @property string $user_email
     423 * @property string $user_firstname
     424 * @property string $user_lastname
     425 * @property string $user_nicename
     426 * @property string $user_pass
     427 * @property string $user_registered
     428 * @property string $user_url
    418429 */
    419430class WP_User {
     
    493504     * @param string $name Optional. User's username
    494505     * @param int $blog_id Optional Blog ID, defaults to current blog.
    495      * @return WP_User
    496506     */
    497507    public function __construct( $id = 0, $name = '', $blog_id = '' ) {
  • trunk/src/wp-includes/class-wp-image-editor-imagick.php

    r30979 r31127  
    330330     * @access public
    331331     *
    332      * @param string|int $src The source file or Attachment ID.
    333332     * @param int $src_x The start x position to crop from.
    334333     * @param int $src_y The start y position to crop from.
  • trunk/src/wp-includes/class-wp-image-editor.php

    r30979 r31127  
    126126     * @abstract
    127127     *
    128      * @param string|int $src The source file or Attachment ID.
    129128     * @param int $src_x The start x position to crop from.
    130129     * @param int $src_y The start y position to crop from.
  • trunk/src/wp-includes/formatting.php

    r31090 r31127  
    35233523 *
    35243524 * @param string $pattern The string which formatted args are inserted.
    3525  * @param mixed $args,... Arguments to be formatted into the $pattern string.
     3525 * @param mixed  $args ,... Arguments to be formatted into the $pattern string.
    35263526 * @return string The formatted string.
    35273527 */
  • trunk/src/wp-includes/post.php

    r31090 r31127  
    455455 *
    456456 * @since 3.5.0
     457 *
     458 * @property-read array  $ancestors
     459 * @property-read string $page_template
     460 * @property-read int    $post_category
     461 * @property-read string $tag_input
    457462 *
    458463 */
Note: See TracChangeset for help on using the changeset viewer.