Make WordPress Core


Ignore:
Timestamp:
03/25/2018 06:09:56 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Document more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-general.php

    r42606 r42875  
    325325     * @since 4.0.0 Added ISO date standard YYYY-MM-DD format.
    326326     *
    327      * @param array $default_date_formats Array of default date formats.
     327     * @param string[] $default_date_formats Array of default date formats.
    328328     */
    329329    $date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y' ), 'Y-m-d', 'm/d/Y', 'd/m/Y' ) ) );
     
    362362     * @since 2.7.0
    363363     *
    364      * @param array $default_time_formats Array of default time formats.
     364     * @param string[] $default_time_formats Array of default time formats.
    365365     */
    366366    $time_formats = array_unique( apply_filters( 'time_formats', array( __( 'g:i a' ), 'g:i A', 'H:i' ) ) );
Note: See TracChangeset for help on using the changeset viewer.