Make WordPress Core


Ignore:
Timestamp:
08/22/2013 03:57:31 PM (11 years ago)
Author:
nacin
Message:

PHPDoc for WP_Post properties. fixes #25092.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r25076 r25086  
    425425
    426426    /**
     427     * Post ID.
    427428     *
    428429     * @var int
     
    431432
    432433    /**
     434     * ID of post author.
    433435     *
    434      * @var int
     436     * A numeric string, for compatibility reasons.
     437     *
     438     * @var string
    435439     */
    436440    public $post_author = 0;
    437441
    438442    /**
     443     * The post's local publication time.
    439444     *
    440445     * @var string
     
    443448
    444449    /**
     450     * The post's GMT publication time.
    445451     *
    446452     * @var string
     
    449455
    450456    /**
     457     * The post's content.
    451458     *
    452459     * @var string
     
    455462
    456463    /**
     464     * The post's title.
    457465     *
    458466     * @var string
     
    461469
    462470    /**
     471     * The post's excerpt.
    463472     *
    464473     * @var string
     
    467476
    468477    /**
     478     * The post's status.
    469479     *
    470480     * @var string
     
    473483
    474484    /**
     485     * Whether comments are allowed.
    475486     *
    476487     * @var string
     
    479490
    480491    /**
     492     * Whether pings are allowed.
    481493     *
    482494     * @var string
     
    485497
    486498    /**
     499     * The post's password in plain text.
    487500     *
    488501     * @var string
     
    491504
    492505    /**
     506     * The post's slug.
    493507     *
    494508     * @var string
     
    497511
    498512    /**
     513     * URLs queued to be pinged.
    499514     *
    500515     * @var string
     
    503518
    504519    /**
     520     * URLs that have been pinged.
    505521     *
    506522     * @var string
     
    509525
    510526    /**
     527     * The post's local modified time.
    511528     *
    512529     * @var string
     
    515532
    516533    /**
     534     * The post's GMT modified time.
    517535     *
    518536     * @var string
     
    521539
    522540    /**
     541     * A utility DB field for post content.
     542     *
    523543     *
    524544     * @var string
     
    527547
    528548    /**
     549     * ID of a post's parent post.
    529550     *
    530551     * @var int
     
    533554
    534555    /**
     556     * The unique identifier for a post, not necessarily a URL, used as the feed GUID.
    535557     *
    536558     * @var string
     
    539561
    540562    /**
     563     * A field used for ordering posts.
    541564     *
    542565     * @var int
     
    545568
    546569    /**
     570     * The post's type, like pot or page.
    547571     *
    548572     * @var string
     
    551575
    552576    /**
     577     * An attachment's mime type.
    553578     *
    554579     * @var string
     
    557582
    558583    /**
     584     * Cached comment count.
    559585     *
    560      * @var int
     586     * A numeric string, for compatibility reasons.
     587     *
     588     * @var string
    561589     */
    562590    public $comment_count = 0;
    563591
    564592    /**
     593     * Stores the post object's sanitization level.
     594     *
     595     * Does not correspond to a DB field.
    565596     *
    566597     * @var string
    567598     */
    568599    public $filter;
    569 
    570     /**
    571      * Private variable used by post formats to cache parsed content.
    572      *
    573      * @since 3.6.0
    574      *
    575      * @var array
    576      * @access private
    577      */
    578     public $format_content;
    579 
    580600
    581601    public static function get_instance( $post_id ) {
Note: See TracChangeset for help on using the changeset viewer.