Make WordPress Core

Changeset 47088


Ignore:
Timestamp:
01/20/2020 03:12:12 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Update links to https://secure.php.net/, they now redirect to https://www.php.net/.

See #48303.

Location:
trunk/src
Files:
29 edited

Legend:

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

    r46084 r47088  
    208208                        /* translators: 1: Comment date, 2: Comment time. */
    209209                        __( '%1$s at %2$s' ),
    210                         /* translators: Comment date format. See https://secure.php.net/date */
     210                        /* translators: Comment date format. See https://www.php.net/date */
    211211                        get_comment_date( __( 'Y/m/d' ), $comment ),
    212                         /* translators: Comment time format. See https://secure.php.net/date */
     212                        /* translators: Comment time format. See https://www.php.net/date */
    213213                        get_comment_date( __( 'g:i a' ), $comment )
    214214                );
  • trunk/src/wp-admin/edit-form-advanced.php

    r46083 r47088  
    170170        /* translators: Publish box date string. 1: Date, 2: Time. */
    171171        __( '%1$s at %2$s' ),
    172         /* translators: Publish box date format, see https://secure.php.net/date */
     172        /* translators: Publish box date format, see https://www.php.net/date */
    173173        date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ),
    174         /* translators: Publish box time format, see https://secure.php.net/date */
     174        /* translators: Publish box time format, see https://www.php.net/date */
    175175        date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) )
    176176);
  • trunk/src/wp-admin/edit-form-comment.php

    r46823 r47088  
    107107        /* translators: 1: Comment date, 2: Comment time. */
    108108        __( '%1$s at %2$s' ),
    109         /* translators: Publish box date format, see https://secure.php.net/date */
     109        /* translators: Publish box date format, see https://www.php.net/date */
    110110        date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ),
    111         /* translators: Publish box time format, see https://secure.php.net/date */
     111        /* translators: Publish box time format, see https://www.php.net/date */
    112112        date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) )
    113113);
  • trunk/src/wp-admin/includes/ajax-actions.php

    r46421 r47088  
    21982198                        $time = '';
    21992199                } else {
    2200                         /* translators: Date format in table columns, see https://secure.php.net/date */
     2200                        /* translators: Date format in table columns, see https://www.php.net/date */
    22012201                        $time = mysql2date( __( 'Y/m/d' ), $post->post_date );
    22022202                }
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r47059 r47088  
    873873                        /* translators: 1: Comment date, 2: Comment time. */
    874874                        __( '%1$s at %2$s' ),
    875                         /* translators: Comment date format. See https://secure.php.net/date */
     875                        /* translators: Comment date format. See https://www.php.net/date */
    876876                        get_comment_date( __( 'Y/m/d' ), $comment ),
    877                         /* translators: Comment time format. See https://secure.php.net/date */
     877                        /* translators: Comment time format. See https://www.php.net/date */
    878878                        get_comment_date( __( 'g:i a' ), $comment )
    879879                );
  • trunk/src/wp-admin/includes/class-wp-community-events.php

    r47060 r47088  
    376376                                 * are available, without having to open the link.
    377377                                 */
    378                                 /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://secure.php.net/date */
     378                                /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/date */
    379379                                $response_body['events'][ $key ]['formatted_date'] = date_i18n( __( 'l, M j, Y' ), $timestamp );
    380380                                $response_body['events'][ $key ]['formatted_time'] = date_i18n( get_option( 'time_format' ), $timestamp );
  • trunk/src/wp-admin/includes/class-wp-filesystem-base.php

    r46679 r47088  
    320320         * From the PHP documentation page for fileperms().
    321321         *
    322          * @link https://secure.php.net/manual/en/function.fileperms.php
     322         * @link https://www.php.net/manual/en/function.fileperms.php
    323323         *
    324324         * @since 2.5.0
     
    388388         * From "info at rvgate dot nl"'s comment on the PHP documentation for chmod()
    389389         *
    390          * @link https://secure.php.net/manual/en/function.chmod.php#49614
     390         * @link https://www.php.net/manual/en/function.chmod.php#49614
    391391         *
    392392         * @since 2.5.0
  • trunk/src/wp-admin/includes/dashboard.php

    r47084 r47088  
    951951                                $relative = __( 'Tomorrow' );
    952952                        } elseif ( gmdate( 'Y', $time ) !== $year ) {
    953                                 /* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://secure.php.net/date */
     953                                /* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.php.net/date */
    954954                                $relative = date_i18n( __( 'M jS Y' ), $time );
    955955                        } else {
    956                                 /* translators: Date and time format for recent posts on the dashboard, see https://secure.php.net/date */
     956                                /* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/date */
    957957                                $relative = date_i18n( __( 'M jS' ), $time );
    958958                        }
  • trunk/src/wp-admin/includes/meta-boxes.php

    r46685 r47088  
    195195
    196196        <?php
    197         /* translators: Publish box date string. 1: Date, 2: Time. See https://secure.php.net/date */
     197        /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
    198198        $date_string = __( '%1$s at %2$s' );
    199         /* translators: Publish box date format, see https://secure.php.net/date */
     199        /* translators: Publish box date format, see https://www.php.net/date */
    200200        $date_format = _x( 'M j, Y', 'publish box date format' );
    201         /* translators: Publish box time format, see https://secure.php.net/date */
     201        /* translators: Publish box time format, see https://www.php.net/date */
    202202        $time_format = _x( 'H:i', 'publish box time format' );
    203203
     
    383383                        <?php
    384384                        $uploaded_on = sprintf(
    385                                 /* translators: Publish box date string. 1: Date, 2: Time. See https://secure.php.net/date */
     385                                /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
    386386                                __( '%1$s at %2$s' ),
    387                                 /* translators: Publish box date format, see https://secure.php.net/date */
     387                                /* translators: Publish box date format, see https://www.php.net/date */
    388388                                date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ),
    389                                 /* translators: Publish box time format, see https://secure.php.net/date */
     389                                /* translators: Publish box time format, see https://www.php.net/date */
    390390                                date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) )
    391391                        );
  • trunk/src/wp-admin/includes/misc.php

    r47005 r47088  
    11961196                        );
    11971197                } else {
    1198                         /* translators: Draft saved date format, see https://secure.php.net/date */
     1198                        /* translators: Draft saved date format, see https://www.php.net/date */
    11991199                        $draft_saved_date_format = __( 'g:i:s a' );
    12001200                        $response['wp_autosave'] = array(
  • trunk/src/wp-admin/includes/schema.php

    r46194 r47088  
    395395        /*
    396396         * translators: default GMT offset or timezone string. Must be either a valid offset (-12 to 14)
    397          * or a valid timezone string (America/New_York). See https://secure.php.net/manual/en/timezones.php
     397         * or a valid timezone string (America/New_York). See https://www.php.net/manual/en/timezones.php
    398398         * for all timezone strings supported by PHP.
    399399         */
     
    430430                'default_pingback_flag'           => 1,
    431431                'posts_per_page'                  => 10,
    432                 /* translators: Default date format, see https://secure.php.net/date */
     432                /* translators: Default date format, see https://www.php.net/date */
    433433                'date_format'                     => __( 'F j, Y' ),
    434                 /* translators: Default time format, see https://secure.php.net/date */
     434                /* translators: Default time format, see https://www.php.net/date */
    435435                'time_format'                     => __( 'g:i a' ),
    436                 /* translators: Links last updated date format, see https://secure.php.net/date */
     436                /* translators: Links last updated date format, see https://www.php.net/date */
    437437                'links_updated_date_format'       => __( 'F j, Y g:i a' ),
    438438                'comment_moderation'              => 0,
  • trunk/src/wp-admin/options-general.php

    r47073 r47088  
    1919$title       = __( 'General Settings' );
    2020$parent_file = 'options-general.php';
    21 /* translators: Date and time format for exact current time, mainly about timezones, see https://secure.php.net/date */
     21/* translators: Date and time format for exact current time, mainly about timezones, see https://www.php.net/date */
    2222$timezone_format = _x( 'Y-m-d H:i:s', 'timezone date format' );
    2323
  • trunk/src/wp-content/themes/twentytwenty/footer.php

    r46849 r47088  
    2222                                                        <?php
    2323                                                        echo date_i18n(
    24                                                                 /* translators: Copyright date format, see https://secure.php.net/date */
     24                                                                /* translators: Copyright date format, see https://www.php.net/date */
    2525                                                                _x( 'Y', 'copyright date format', 'twentytwenty' )
    2626                                                        );
  • trunk/src/wp-includes/class-wp-hook.php

    r46801 r47088  
    391391         * @since 4.7.0
    392392         *
    393          * @link https://secure.php.net/manual/en/arrayaccess.offsetexists.php
     393         * @link https://www.php.net/manual/en/arrayaccess.offsetexists.php
    394394         *
    395395         * @param mixed $offset An offset to check for.
     
    405405         * @since 4.7.0
    406406         *
    407          * @link https://secure.php.net/manual/en/arrayaccess.offsetget.php
     407         * @link https://www.php.net/manual/en/arrayaccess.offsetget.php
    408408         *
    409409         * @param mixed $offset The offset to retrieve.
     
    419419         * @since 4.7.0
    420420         *
    421          * @link https://secure.php.net/manual/en/arrayaccess.offsetset.php
     421         * @link https://www.php.net/manual/en/arrayaccess.offsetset.php
    422422         *
    423423         * @param mixed $offset The offset to assign the value to.
     
    437437         * @since 4.7.0
    438438         *
    439          * @link https://secure.php.net/manual/en/arrayaccess.offsetunset.php
     439         * @link https://www.php.net/manual/en/arrayaccess.offsetunset.php
    440440         *
    441441         * @param mixed $offset The offset to unset.
     
    450450         * @since 4.7.0
    451451         *
    452          * @link https://secure.php.net/manual/en/iterator.current.php
     452         * @link https://www.php.net/manual/en/iterator.current.php
    453453         *
    454454         * @return array Of callbacks at current priority.
     
    463463         * @since 4.7.0
    464464         *
    465          * @link https://secure.php.net/manual/en/iterator.next.php
     465         * @link https://www.php.net/manual/en/iterator.next.php
    466466         *
    467467         * @return array Of callbacks at next priority.
     
    476476         * @since 4.7.0
    477477         *
    478          * @link https://secure.php.net/manual/en/iterator.key.php
     478         * @link https://www.php.net/manual/en/iterator.key.php
    479479         *
    480480         * @return mixed Returns current priority on success, or NULL on failure
     
    489489         * @since 4.7.0
    490490         *
    491          * @link https://secure.php.net/manual/en/iterator.valid.php
     491         * @link https://www.php.net/manual/en/iterator.valid.php
    492492         *
    493493         * @return boolean
     
    502502         * @since 4.7.0
    503503         *
    504          * @link https://secure.php.net/manual/en/iterator.rewind.php
     504         * @link https://www.php.net/manual/en/iterator.rewind.php
    505505         */
    506506        public function rewind() {
  • trunk/src/wp-includes/class-wp-http-encoding.php

    r46596 r47088  
    9393         * @since 2.8.1
    9494         * @link https://core.trac.wordpress.org/ticket/18273
    95          * @link https://secure.php.net/manual/en/function.gzinflate.php#70875
    96          * @link https://secure.php.net/manual/en/function.gzinflate.php#77336
     95         * @link https://www.php.net/manual/en/function.gzinflate.php#70875
     96         * @link https://www.php.net/manual/en/function.gzinflate.php#77336
    9797         *
    9898         * @param string $gzData String to decompress.
  • trunk/src/wp-includes/class-wp-locale.php

    r46214 r47088  
    195195
    196196                // Numbers formatting
    197                 // See https://secure.php.net/number_format
    198 
    199                 /* translators: $thousands_sep argument for https://secure.php.net/number_format, default is ',' */
     197                // See https://www.php.net/number_format
     198
     199                /* translators: $thousands_sep argument for https://www.php.net/number_format, default is ',' */
    200200                $thousands_sep = __( 'number_format_thousands_sep' );
    201201
     
    205205                $this->number_format['thousands_sep'] = ( 'number_format_thousands_sep' === $thousands_sep ) ? ',' : $thousands_sep;
    206206
    207                 /* translators: $dec_point argument for https://secure.php.net/number_format, default is '.' */
     207                /* translators: $dec_point argument for https://www.php.net/number_format, default is '.' */
    208208                $decimal_point = __( 'number_format_decimal_point' );
    209209
     
    360360         */
    361361        public function _strings_for_pot() {
    362                 /* translators: Localized date format, see https://secure.php.net/date */
     362                /* translators: Localized date format, see https://www.php.net/date */
    363363                __( 'F j, Y' );
    364                 /* translators: Localized time format, see https://secure.php.net/date */
     364                /* translators: Localized time format, see https://www.php.net/date */
    365365                __( 'g:i a' );
    366                 /* translators: Localized date and time format, see https://secure.php.net/date */
     366                /* translators: Localized date and time format, see https://www.php.net/date */
    367367                __( 'F j, Y g:i a' );
    368368        }
  • trunk/src/wp-includes/cron.php

    r47068 r47088  
    385385 * Warning: This function may return Boolean FALSE, but may also return a non-Boolean
    386386 * value which evaluates to FALSE. For information about casting to booleans see the
    387  * {@link https://php.net/manual/en/language.types.boolean.php PHP documentation}. Use
     387 * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use
    388388 * the `===` operator for testing the return value of this function.
    389389 *
     
    455455 * Warning: This function may return Boolean FALSE, but may also return a non-Boolean
    456456 * value which evaluates to FALSE. For information about casting to booleans see the
    457  * {@link https://php.net/manual/en/language.types.boolean.php PHP documentation}. Use
     457 * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use
    458458 * the `===` operator for testing the return value of this function.
    459459 *
     
    734734 * Warning: This function may return Boolean FALSE, but may also return a non-Boolean
    735735 * value which evaluates to FALSE. For information about casting to booleans see the
    736  * {@link https://php.net/manual/en/language.types.boolean.php PHP documentation}. Use
     736 * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use
    737737 * the `===` operator for testing the return value of this function.
    738738 *
  • trunk/src/wp-includes/default-constants.php

    r46278 r47088  
    127127         * YEAR_IN_SECONDS does not take leap years into account.
    128128         *
    129          * If you need more accuracy please consider using the DateTime class (https://secure.php.net/manual/en/class.datetime.php).
     129         * If you need more accuracy please consider using the DateTime class (https://www.php.net/manual/en/class.datetime.php).
    130130         *
    131131         * @since 3.5.0
  • trunk/src/wp-includes/deprecated.php

    r47060 r47088  
    28292829 * @see error_log()
    28302830 *
    2831  * @link https://secure.php.net/manual/en/function.error-log.php
     2831 * @link https://www.php.net/manual/en/function.error-log.php
    28322832 *
    28332833 * @param string $filename File name.
     
    28472847 * @see error_log()
    28482848 *
    2849  * @link https://secure.php.net/manual/en/function.error-log.php
     2849 * @link https://www.php.net/manual/en/function.error-log.php
    28502850 *
    28512851 * @param mixed  $fp     Unused.
     
    28652865 * @see error_log()
    28662866 *
    2867  * @link https://secure.php.net/manual/en/function.error-log.php
     2867 * @link https://www.php.net/manual/en/function.error-log.php
    28682868 *
    28692869 * @param mixed $fp Unused.
  • trunk/src/wp-includes/formatting.php

    r46958 r47088  
    27082708 *
    27092709 * Slashes will first be removed if magic_quotes_gpc is set, see {@link
    2710  * https://secure.php.net/magic_quotes} for more details.
     2710 * https://www.php.net/magic_quotes} for more details.
    27112711 *
    27122712 * @since 0.71
     
    43984398 * Convert entities, while preserving already-encoded entities.
    43994399 *
    4400  * @link https://secure.php.net/htmlentities Borrowed from the PHP Manual user notes.
     4400 * @link https://www.php.net/htmlentities Borrowed from the PHP Manual user notes.
    44014401 *
    44024402 * @since 1.2.2
     
    49374937 *              by adding it to the function signature.
    49384938 *
    4939  * @link https://secure.php.net/sprintf
     4939 * @link https://www.php.net/sprintf
    49404940 *
    49414941 * @param string $pattern The string which formatted args are inserted.
  • trunk/src/wp-includes/functions.php

    r47078 r47088  
    978978 *
    979979 * @see _http_build_query() Used to build the query
    980  * @link https://secure.php.net/manual/en/function.http-build-query.php for more on what
     980 * @link https://www.php.net/manual/en/function.http-build-query.php for more on what
    981981 *       http_build_query() does.
    982982 *
     
    994994 * @access private
    995995 *
    996  * @see https://secure.php.net/manual/en/function.http-build-query.php
     996 * @see https://www.php.net/manual/en/function.http-build-query.php
    997997 *
    998998 * @param array|object  $data       An array or object of data. Converted to array.
     
    63866386 * @since 3.5.0
    63876387 *
    6388  * @link https://secure.php.net/manual/en/function.checkdate.php
     6388 * @link https://www.php.net/manual/en/function.checkdate.php
    63896389 *
    63906390 * @param  int    $month       Month number.
  • trunk/src/wp-includes/http.php

    r47060 r47088  
    661661 * @since 4.7.0 The `$component` parameter was added for parity with PHP's `parse_url()`.
    662662 *
    663  * @link https://secure.php.net/manual/en/function.parse-url.php
     663 * @link https://www.php.net/manual/en/function.parse-url.php
    664664 *
    665665 * @param string $url       The URL to parse.
     
    708708 * @access private
    709709 *
    710  * @link https://secure.php.net/manual/en/function.parse-url.php
     710 * @link https://www.php.net/manual/en/function.parse-url.php
    711711 *
    712712 * @param array|false $url_parts The parsed URL. Can be false if the URL failed to parse.
     
    740740 * @access private
    741741 *
    742  * @link https://secure.php.net/manual/en/url.constants.php
     742 * @link https://www.php.net/manual/en/url.constants.php
    743743 *
    744744 * @param int $constant PHP_URL_* constant.
  • trunk/src/wp-includes/load.php

    r47018 r47088  
    12811281 * @since 4.6.0 Moved from media.php to load.php.
    12821282 *
    1283  * @link https://secure.php.net/manual/en/function.ini-get.php
    1284  * @link https://secure.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
     1283 * @link https://www.php.net/manual/en/function.ini-get.php
     1284 * @link https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
    12851285 *
    12861286 * @param string $value A (PHP ini) byte value, either shorthand or ordinary.
     
    13101310 * @staticvar array $ini_all
    13111311 *
    1312  * @link https://secure.php.net/manual/en/function.ini-get-all.php
     1312 * @link https://www.php.net/manual/en/function.ini-get-all.php
    13131313 *
    13141314 * @param string $setting The name of the ini setting to check.
  • trunk/src/wp-includes/plugin.php

    r46805 r47088  
    99 *
    1010 * Any of the syntaxes explained in the PHP documentation for the
    11  * {@link https://secure.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
     11 * {@link https://www.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
    1212 * type are valid.
    1313 *
  • trunk/src/wp-includes/post-template.php

    r47060 r47088  
    18141814        }
    18151815
    1816         /* translators: Revision date format, see https://secure.php.net/date */
     1816        /* translators: Revision date format, see https://www.php.net/date */
    18171817        $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
    18181818        /* translators: %s: Revision date. */
     
    18561856
    18571857        $author = get_the_author_meta( 'display_name', $revision->post_author );
    1858         /* translators: Revision date format, see https://secure.php.net/date */
     1858        /* translators: Revision date format, see https://www.php.net/date */
    18591859        $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
    18601860
  • trunk/src/wp-includes/rest-api/class-wp-rest-request.php

    r46803 r47088  
    2525 * @since 4.4.0
    2626 *
    27  * @link https://secure.php.net/manual/en/class.arrayaccess.php
     27 * @link https://www.php.net/manual/en/class.arrayaccess.php
    2828 */
    2929class WP_REST_Request implements ArrayAccess {
  • trunk/src/wp-includes/script-loader.php

    r47048 r47088  
    391391                                        ),
    392392                                        'formats'  => array(
    393                                                 /* translators: Time format, see https://secure.php.net/date */
     393                                                /* translators: Time format, see https://www.php.net/date */
    394394                                                'time'                => get_option( 'time_format', __( 'g:i a' ) ),
    395                                                 /* translators: Date format, see https://secure.php.net/date */
     395                                                /* translators: Date format, see https://www.php.net/date */
    396396                                                'date'                => get_option( 'date_format', __( 'F j, Y' ) ),
    397                                                 /* translators: Date/Time format, see https://secure.php.net/date */
     397                                                /* translators: Date/Time format, see https://www.php.net/date */
    398398                                                'datetime'            => __( 'F j, Y g:i a' ),
    399                                                 /* translators: Abbreviated date/time format, see https://secure.php.net/date */
     399                                                /* translators: Abbreviated date/time format, see https://www.php.net/date */
    400400                                                'datetimeAbbreviated' => __( 'M j, Y g:i a' ),
    401401                                        ),
  • trunk/src/wp-includes/theme.php

    r46821 r47088  
    907907 *
    908908 * If the modification name does not exist, then the $default will be passed
    909  * through {@link https://secure.php.net/sprintf sprintf()} PHP function with
     909 * through {@link https://www.php.net/sprintf sprintf()} PHP function with
    910910 * the template directory URI as the first string and the stylesheet directory URI
    911911 * as the second string.
  • trunk/src/wp-includes/wp-db.php

    r47060 r47088  
    12841284         *     $wpdb->prepare( "SELECT DATE_FORMAT(`field`, '%%c') FROM `table` WHERE `column` = %s", 'foo' );
    12851285         *
    1286          * @link https://secure.php.net/sprintf Description of syntax.
     1286         * @link https://www.php.net/sprintf Description of syntax.
    12871287         * @since 2.3.0
    12881288         * @since 5.3.0 Formalized the existing and already documented `...$args` parameter
Note: See TracChangeset for help on using the changeset viewer.