Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Remove @access notations from method DocBlocks in wp-includes/* classes.

Prior to about 2013, many class methods lacked even access modifiers which made the @access notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs.

See #41452.

File:
1 edited

Legend:

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

    r40997 r41162  
    2222     *
    2323     * @since 3.7.0
    24      * @access public
    2524     * @var array
    2625     */
     
    3130     *
    3231     * @since 3.7.0
    33      * @access public
    3432     * @var string
    3533     */
     
    4038     *
    4139     * @since 3.7.0
    42      * @access public
    4340     * @var string
    4441     */
     
    4946     *
    5047     * @since 3.7.0
    51      * @access public
    5248     * @var array
    5349     */
     
    5854     *
    5955     * @since 4.1.0
    60      * @access public
    6156     * @var array
    6257     */
     
    7469     * @since 4.0.0 The $inclusive logic was updated to include all times within the date range.
    7570     * @since 4.1.0 Introduced 'dayofweek_iso' time type parameter.
    76      * @access public
    7771     *
    7872     * @param array $date_query {
     
    192186     *
    193187     * @since 4.1.0
    194      * @access public
    195188     *
    196189     * @param array $queries
     
    253246     *
    254247     * @since 4.1.0
    255      * @access protected
    256248     *
    257249     * @param  array $query Query clause.
     
    267259     *
    268260     * @since 3.7.0
    269      * @access public
    270261     *
    271262     * @param array $query A date query or a date subquery.
     
    287278     *
    288279     * @since  4.1.0
    289      * @access public
    290280     *
    291281     * @param  array $date_query The date_query array.
     
    483473     *
    484474     * @since 3.7.0
    485      * @access public
    486475     *
    487476     * @param string $column The user-supplied column name.
     
    552541     *
    553542     * @since 3.7.0
    554      * @access public
    555543     *
    556544     * @return string MySQL WHERE clause.
     
    579567     *
    580568     * @since 4.1.0
    581      * @access protected
    582569     *
    583570     * @return array {
     
    605592     *
    606593     * @since 4.1.0
    607      * @access protected
    608594     *
    609595     * @param array $query Query to parse.
     
    690676     *
    691677     * @since  3.7.0
    692      * @access protected
    693678     *
    694679     * @param  array $query Date query arguments.
     
    708693     *
    709694     * @since  4.1.0
    710      * @access protected
    711695     *
    712696     * @param  array $query        Date query clause.
     
    803787     *
    804788     * @since 3.7.0
    805      * @access public
    806789     *
    807790     * @param string $compare The compare operator to use
     
    863846     *
    864847     * @since 3.7.0
    865      * @access public
    866848     *
    867849     * @param string|array $datetime       An array of parameters or a strotime() string
     
    951933     *
    952934     * @since 3.7.0
    953      * @access public
    954935     *
    955936     * @param string $column The column to query against. Needs to be pre-validated!
Note: See TracChangeset for help on using the changeset viewer.