WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (11 months ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

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

    r49926 r49927  
    35863586 * @param string $date_string Date and time in ISO 8601 format {@link https://en.wikipedia.org/wiki/ISO_8601}.
    35873587 * @param string $timezone    Optional. If set to 'gmt' returns the result in UTC. Default 'user'.
    3588  * @return string|bool The date and time in MySQL DateTime format - Y-m-d H:i:s, or false on failure.
     3588 * @return string|false The date and time in MySQL DateTime format - Y-m-d H:i:s, or false on failure.
    35893589 */
    35903590function iso8601_to_datetime( $date_string, $timezone = 'user' ) {
Note: See TracChangeset for help on using the changeset viewer.