Make WordPress Core

Ticket #36993: 36993.2.patch

File 36993.2.patch, 50.3 KB (added by johnpgreen, 8 years ago)
  • src/readme.html

     
    5353
    5454<h2>System Requirements</h2>
    5555<ul>
    56         <li><a href="http://php.net/">PHP</a> version <strong>5.2.4</strong> or higher.</li>
    57         <li><a href="http://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li>
     56        <li><a href="https://secure.php.net/">PHP</a> version <strong>5.2.4</strong> or higher.</li>
     57        <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li>
    5858</ul>
    5959
    6060<h3>Recommendations</h3>
    6161<ul>
    62         <li><a href="http://php.net/">PHP</a> version <strong>5.6</strong> or higher.</li>
    63         <li><a href="http://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li>
    64         <li>The <a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
     62        <li><a href="https://secure.php.net/">PHP</a> version <strong>5.6</strong> or higher.</li>
     63        <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li>
     64        <li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
    6565        <li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li>
    6666</ul>
    6767
  • src/wp-admin/comment.php

     
    197197        <?php
    198198                /* translators: 1: comment date, 2: comment time */
    199199                $submitted = sprintf( __( '%1$s at %2$s' ),
    200                         /* translators: comment date format. See http://php.net/date */
     200                        /* translators: comment date format. See https://secure.php.net/date */
    201201                        get_comment_date( __( 'Y/m/d' ), $comment ),
    202202                        get_comment_date( __( 'g:i a' ), $comment )
    203203                );
  • src/wp-admin/edit-form-advanced.php

     
    129129
    130130}
    131131
    132 /* translators: Publish box date format, see http://php.net/date */
     132/* translators: Publish box date format, see https://secure.php.net/date */
    133133$scheduled_date = date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) );
    134134
    135135$messages['post'] = array(
  • src/wp-admin/edit-form-comment.php

     
    8989
    9090<div class="misc-pub-section curtime misc-pub-curtime">
    9191<?php
    92 /* translators: Publish box date format, see http://php.net/date */
     92/* translators: Publish box date format, see https://secure.php.net/date */
    9393$datef = __( 'M j, Y @ H:i' );
    9494?>
    9595<span id="timestamp"><?php
  • src/wp-admin/edit-tag-form.php

     
    4545}
    4646
    4747/**
    48  * Use with caution, see http://codex.wordpress.org/Function_Reference/wp_reset_vars
     48 * Use with caution, see https://codex.wordpress.org/Function_Reference/wp_reset_vars
    4949 */
    5050wp_reset_vars( array( 'wp_http_referer' ) );
    5151
  • src/wp-admin/freedoms.php

     
    4747
    4848printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); ?></p>
    4949
    50 <p><?php _e( 'Don&#8217;t you wish all software came with these freedoms? So do we! For more information, check out the <a href="http://www.fsf.org/">Free Software Foundation</a>.' ); ?></p>
     50<p><?php _e( 'Don&#8217;t you wish all software came with these freedoms? So do we! For more information, check out the <a href="https://www.fsf.org/">Free Software Foundation</a>.' ); ?></p>
    5151
    5252</div>
    5353<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
  • src/wp-admin/includes/ajax-actions.php

     
    17911791                if ( '0000-00-00 00:00:00' == $post->post_date ) {
    17921792                        $time = '';
    17931793                } else {
    1794                         /* translators: date format in table columns, see http://php.net/date */
     1794                        /* translators: date format in table columns, see https://secure.php.net/date */
    17951795                        $time = mysql2date(__('Y/m/d'), $post->post_date);
    17961796                }
    17971797
  • src/wp-admin/includes/class-wp-comments-list-table.php

     
    717717        public function column_date( $comment ) {
    718718                /* translators: 1: comment date, 2: comment time */
    719719                $submitted = sprintf( __( '%1$s at %2$s' ),
    720                         /* translators: comment date format. See http://php.net/date */
     720                        /* translators: comment date format. See https://secure.php.net/date */
    721721                        get_comment_date( __( 'Y/m/d' ), $comment ),
    722722                        get_comment_date( __( 'g:i a' ), $comment )
    723723                );
  • src/wp-admin/includes/class-wp-filesystem-base.php

     
    316316         *
    317317         * From the PHP documentation page for fileperms().
    318318         *
    319          * @link http://docs.php.net/fileperms
     319         * @link https://secure.php.net/manual/en/function.fileperms.php
    320320         *
    321321         * @access public
    322322         * @since 2.5.0
     
    384384         * Converts '-rw-r--r--' to 0644
    385385         * From "info at rvgate dot nl"'s comment on the PHP documentation for chmod()
    386386         *
    387          * @link http://docs.php.net/manual/en/function.chmod.php#49614
     387         * @link https://secure.php.net/manual/en/function.chmod.php#49614
    388388         *
    389389         * @access public
    390390         * @since 2.5.0
  • src/wp-admin/includes/dashboard.php

     
    835835                        } elseif ( date( 'Y-m-d', $time ) == $tomorrow ) {
    836836                                $relative = __( 'Tomorrow' );
    837837                        } elseif ( date( 'Y', $time ) !== date( 'Y', current_time( 'timestamp' ) ) ) {
    838                                 /* translators: date and time format for recent posts on the dashboard, from a different calendar year, see http://php.net/date */
     838                                /* translators: date and time format for recent posts on the dashboard, from a different calendar year, see https://secure.php.net/date */
    839839                                $relative = date_i18n( __( 'M jS Y' ), $time );
    840840                        } else {
    841                                 /* translators: date and time format for recent posts on the dashboard, see http://php.net/date */
     841                                /* translators: date and time format for recent posts on the dashboard, see https://secure.php.net/date */
    842842                                $relative = date_i18n( __( 'M jS' ), $time );
    843843                        }
    844844
  • src/wp-admin/includes/meta-boxes.php

     
    170170</div><!-- .misc-pub-section -->
    171171
    172172<?php
    173 /* translators: Publish box date format, see http://php.net/date */
     173/* translators: Publish box date format, see https://secure.php.net/date */
    174174$datef = __( 'M j, Y @ H:i' );
    175175if ( 0 != $post->ID ) {
    176176        if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
     
    296296
    297297<div id="misc-publishing-actions">
    298298        <?php
    299         /* translators: Publish box date format, see http://php.net/date */
     299        /* translators: Publish box date format, see https://secure.php.net/date */
    300300        $datef = __( 'M j, Y @ H:i' );
    301301        $stamp = __('Uploaded on: <b>%1$s</b>');
    302302        $date = date_i18n( $datef, strtotime( $post->post_date ) );
  • src/wp-admin/includes/misc.php

     
    881881                } elseif ( empty( $saved ) ) {
    882882                        $response['wp_autosave'] = array( 'success' => false, 'message' => __( 'Error while saving.' ) );
    883883                } else {
    884                         /* translators: draft saved date format, see http://php.net/date */
     884                        /* translators: draft saved date format, see https://secure.php.net/date */
    885885                        $draft_saved_date_format = __( 'g:i:s a' );
    886886                        /* translators: %s: date and time */
    887887                        $response['wp_autosave'] = array( 'success' => true, 'message' => sprintf( __( 'Draft saved at %s.' ), date_i18n( $draft_saved_date_format ) ) );
  • src/wp-admin/includes/network.php

     
    180180                        /* translators: 1: mod_rewrite, 2: mod_rewrite documentation URL, 3: Google search for mod_rewrite */
    181181                        printf( __( 'If %1$s is disabled, ask your administrator to enable that module, or look at the <a href="%2$s">Apache documentation</a> or <a href="%3$s">elsewhere</a> for help setting it up.' ),
    182182                                '<code>mod_rewrite</code>',
    183                                 'http://httpd.apache.org/docs/mod/mod_rewrite.html',
    184                                 'http://www.google.com/search?q=apache+mod_rewrite'
     183                                'https://httpd.apache.org/docs/mod/mod_rewrite.html',
     184                                'https://www.google.com/search?q=apache+mod_rewrite'
    185185                        );
    186186                        echo '</p></div>';
    187187                }
  • src/wp-admin/includes/schema.php

     
    381381        $timezone_string = '';
    382382        $gmt_offset = 0;
    383383        /* translators: default GMT offset or timezone string. Must be either a valid offset (-12 to 14)
    384            or a valid timezone string (America/New_York). See http://us3.php.net/manual/en/timezones.php
     384           or a valid timezone string (America/New_York). See https://secure.php.net/manual/en/timezones.php
    385385           for all timezone strings supported by PHP.
    386386        */
    387387        $offset_or_tz = _x( '0', 'default GMT offset or timezone string' );
     
    415415        'default_ping_status' => 'open',
    416416        'default_pingback_flag' => 1,
    417417        'posts_per_page' => 10,
    418         /* translators: default date format, see http://php.net/date */
     418        /* translators: default date format, see https://secure.php.net/date */
    419419        'date_format' => __('F j, Y'),
    420         /* translators: default time format, see http://php.net/date */
     420        /* translators: default time format, see https://secure.php.net/date */
    421421        'time_format' => __('g:i a'),
    422         /* translators: links last updated date format, see http://php.net/date */
     422        /* translators: links last updated date format, see https://secure.php.net/date */
    423423        'links_updated_date_format' => __('F j, Y g:i a'),
    424424        'comment_moderation' => 0,
    425425        'moderation_notify' => 1,
  • src/wp-admin/options-discussion.php

     
    195195
    196196<?php
    197197$ratings = array(
    198         /* translators: Content suitability rating: http://bit.ly/89QxZA */
     198        /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
    199199        'G' => __('G &#8212; Suitable for all audiences'),
    200         /* translators: Content suitability rating: http://bit.ly/89QxZA */
     200        /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
    201201        'PG' => __('PG &#8212; Possibly offensive, usually for audiences 13 and above'),
    202         /* translators: Content suitability rating: http://bit.ly/89QxZA */
     202        /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
    203203        'R' => __('R &#8212; Intended for adult audiences above 17'),
    204         /* translators: Content suitability rating: http://bit.ly/89QxZA */
     204        /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
    205205        'X' => __('X &#8212; Even more mature than above')
    206206);
    207207foreach ($ratings as $key => $rating) :
  • src/wp-admin/options-general.php

     
    1717
    1818$title = __('General Settings');
    1919$parent_file = 'options-general.php';
    20 /* translators: date and time format for exact current time, mainly about timezones, see http://php.net/date */
     20/* translators: date and time format for exact current time, mainly about timezones, see https://secure.php.net/date */
    2121$timezone_format = _x('Y-m-d H:i:s', 'timezone date format');
    2222
    2323add_action('admin_head', 'options_general_add_js');
  • src/wp-admin/theme-editor.php

     
    112112        $newcontent = wp_unslash( $_POST['newcontent'] );
    113113        $location = 'theme-editor.php?file=' . urlencode( $relative_file ) . '&theme=' . urlencode( $stylesheet ) . '&scrollto=' . $scrollto;
    114114        if ( is_writeable( $file ) ) {
    115                 // is_writable() not always reliable, check return value. see comments @ http://uk.php.net/is_writable
     115                // is_writable() not always reliable, check return value. see comments @ https://secure.php.net/is_writable
    116116                $f = fopen( $file, 'w+' );
    117117                if ( $f !== false ) {
    118118                        fwrite( $f, $newcontent );
  • src/wp-includes/class-http.php

     
    700700         *
    701701         * Based off the HTTP http_encoding_dechunk function.
    702702         *
    703          * @link http://tools.ietf.org/html/rfc2616#section-19.4.6 Process for chunked decoding.
     703         * @link https://tools.ietf.org/html/rfc2616#section-19.4.6 Process for chunked decoding.
    704704         *
    705705         * @access public
    706706         * @since 2.7.0
  • src/wp-includes/class-requests.php

     
    7171        /**
    7272         * PATCH method
    7373         *
    74          * @link http://tools.ietf.org/html/rfc5789
     74         * @link https://tools.ietf.org/html/rfc5789
    7575         * @var string
    7676         */
    7777        const PATCH = 'PATCH';
     
    287287         * Note: Unlike {@see post} and {@see put}, `$headers` is required, as the
    288288         * specification recommends that should send an ETag
    289289         *
    290          * @link http://tools.ietf.org/html/rfc5789
     290         * @link https://tools.ietf.org/html/rfc5789
    291291         */
    292292        public static function patch($url, $headers, $data = array(), $options = array()) {
    293293                return self::request($url, $headers, $data, self::PATCH, $options);
     
    742742        /**
    743743         * Decoded a chunked body as per RFC 2616
    744744         *
    745          * @see http://tools.ietf.org/html/rfc2616#section-3.6.1
     745         * @see https://tools.ietf.org/html/rfc2616#section-3.6.1
    746746         * @param string $data Chunked body
    747747         * @return string Decoded body
    748748         */
     
    848848         * Warning: Magic numbers within. Due to the potential different formats that the compressed
    849849         * data may be returned in, some "magic offsets" are needed to ensure proper decompression
    850850         * takes place. For a simple progmatic way to determine the magic offset in use, see:
    851          * http://core.trac.wordpress.org/ticket/18273
     851         * https://core.trac.wordpress.org/ticket/18273
    852852         *
    853853         * @since 2.8.1
    854          * @link http://core.trac.wordpress.org/ticket/18273
    855          * @link http://au2.php.net/manual/en/function.gzinflate.php#70875
    856          * @link http://au2.php.net/manual/en/function.gzinflate.php#77336
     854         * @link https://core.trac.wordpress.org/ticket/18273
     855         * @link https://secure.php.net/manual/en/function.gzinflate.php#70875
     856         * @link https://secure.php.net/manual/en/function.gzinflate.php#77336
    857857         *
    858858         * @param string $gzData String to decompress.
    859859         * @return string|bool False on failure.
     
    891891                // java.util.zip.Deflater, Ruby’s Zlib::Deflate, and .NET's
    892892                // System.IO.Compression.DeflateStream.
    893893                //
    894                 // See http://decompres.blogspot.com/ for a quick explanation of this
     894                // See https://decompres.blogspot.com/ for a quick explanation of this
    895895                // data type
    896896                $huffman_encoded = false;
    897897
  • src/wp-includes/class-wp-http-encoding.php

     
    8888         *
    8989         * @since 2.8.1
    9090         * @link https://core.trac.wordpress.org/ticket/18273
    91          * @link http://au2.php.net/manual/en/function.gzinflate.php#70875
    92          * @link http://au2.php.net/manual/en/function.gzinflate.php#77336
     91         * @link https://secure.php.net/manual/en/function.gzinflate.php#70875
     92         * @link https://secure.php.net/manual/en/function.gzinflate.php#77336
    9393         *
    9494         * @static
    9595         *
  • src/wp-includes/class-wp-xmlrpc-server.php

     
    11521152         *
    11531153         * @since 3.4.0
    11541154         *
    1155          * @link http://en.wikipedia.org/wiki/RSS_enclosure for information on RSS enclosures.
     1155         * @link https://en.wikipedia.org/wiki/RSS_enclosure for information on RSS enclosures.
    11561156         *
    11571157         * @param array  $args {
    11581158         *     Method arguments. Note: top-level arguments must be ordered as documented.
     
    42984298        }
    42994299
    43004300        /* Blogger API functions.
    4301          * specs on http://plant.blogger.com/api and http://groups.yahoo.com/group/bloggerDev/
     4301         * specs on http://plant.blogger.com/api and https://groups.yahoo.com/group/bloggerDev/
    43024302         */
    43034303
    43044304        /**
  • src/wp-includes/comment.php

     
    25432543 * which reports that the pingback is already registered.
    25442544 *
    25452545 * @since 3.5.1
    2546  * @link http://www.hixie.ch/specs/pingback/pingback#TOC3
     2546 * @link https://www.hixie.ch/specs/pingback/pingback#TOC3
    25472547 *
    25482548 * @param IXR_Error $ixr_error
    25492549 * @return IXR_Error
  • src/wp-includes/compat.php

     
    421421         *
    422422         * Compatibility shim for PHP <5.4
    423423         *
    424          * @link http://php.net/jsonserializable
     424         * @link https://secure.php.net/jsonserializable
    425425         *
    426426         * @since 4.4.0
    427427         */
  • src/wp-includes/default-constants.php

     
    9898         * For example, MONTH_IN_SECONDS wrongly assumes every month has 30 days and
    9999         * YEAR_IN_SECONDS does not take leap years into account.
    100100         *
    101          * If you need more accuracy please consider using the DateTime class (http://php.net/manual/class.datetime.php).
     101         * If you need more accuracy please consider using the DateTime class (https://secure.php.net/manual/en/class.datetime.php).
    102102         *
    103103         * @since 3.5.0
    104104         * @since 4.4.0 Introduced `MONTH_IN_SECONDS`.
  • src/wp-includes/deprecated.php

     
    28182818 * @deprecated 3.4.0 Use error_log()
    28192819 * @see error_log()
    28202820 *
    2821  * @link http://www.php.net/manual/en/function.error-log.php
     2821 * @link https://secure.php.net/manual/en/function.error-log.php
    28222822 *
    28232823 * @param string $filename File name.
    28242824 * @param string $mode     Type of access you required to the stream.
     
    28362836 * @deprecated 3.4.0 Use error_log()
    28372837 * @see error_log()
    28382838 *
    2839  * @link http://www.php.net/manual/en/function.error-log.php
     2839 * @link https://secure.php.net/manual/en/function.error-log.php
    28402840 *
    28412841 * @param mixed  $fp     Unused.
    28422842 * @param string $string Message to log.
     
    28542854 * @deprecated 3.4.0 Use error_log()
    28552855 * @see error_log()
    28562856 *
    2857  * @link http://www.php.net/manual/en/function.error-log.php
     2857 * @link https://secure.php.net/manual/en/function.error-log.php
    28582858 *
    28592859 * @param mixed $fp Unused.
    28602860 */
  • src/wp-includes/feed-atom-comments.php

     
    9191<?php else : // post pass ?>
    9292                <content type="html" xml:base="<?php comment_link(); ?>"><![CDATA[<?php comment_text(); ?>]]></content>
    9393<?php endif; // post pass
    94         // Return comment threading information (http://www.ietf.org/rfc/rfc4685.txt)
     94        // Return comment threading information (https://www.ietf.org/rfc/rfc4685.txt)
    9595        if ( $comment->comment_parent == 0 ) : // This comment is top level ?>
    9696                <thr:in-reply-to ref="<?php the_guid(); ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" />
    9797<?php else : // This comment is in reply to another comment
  • src/wp-includes/formatting.php

     
    20022002 * Adds slashes to escape strings.
    20032003 *
    20042004 * Slashes will first be removed if magic_quotes_gpc is set, see {@link
    2005  * http://www.php.net/magic_quotes} for more details.
     2005 * https://secure.php.net/magic_quotes} for more details.
    20062006 *
    20072007 * @since 0.71
    20082008 *
     
    26762676 *
    26772677 * @since 1.5.0
    26782678 *
    2679  * @param string $date_string Date and time in ISO 8601 format {@link http://en.wikipedia.org/wiki/ISO_8601}.
     2679 * @param string $date_string Date and time in ISO 8601 format {@link https://en.wikipedia.org/wiki/ISO_8601}.
    26802680 * @param string $timezone    Optional. If set to GMT returns the time minus gmt_offset. Default is 'user'.
    26812681 * @return string The date and time in MySQL DateTime format - Y-m-d H:i:s.
    26822682 */
     
    34733473/**
    34743474 * Convert entities, while preserving already-encoded entities.
    34753475 *
    3476  * @link http://www.php.net/htmlentities Borrowed from the PHP Manual user notes.
     3476 * @link https://secure.php.net/htmlentities Borrowed from the PHP Manual user notes.
    34773477 *
    34783478 * @since 1.2.2
    34793479 *
     
    39153915/**
    39163916 * Parses a string into variables to be stored in an array.
    39173917 *
    3918  * Uses {@link http://www.php.net/parse_str parse_str()} and stripslashes if
    3919  * {@link http://www.php.net/magic_quotes magic_quotes_gpc} is on.
     3918 * Uses {@link https://secure.php.net/parse_str parse_str()} and stripslashes if
     3919 * {@link https://secure.php.net/magic_quotes magic_quotes_gpc} is on.
    39203920 *
    39213921 * @since 2.2.1
    39223922 *
     
    39693969 * WordPress implementation of PHP sprintf() with filters.
    39703970 *
    39713971 * @since 2.5.0
    3972  * @link http://www.php.net/sprintf
     3972 * @link https://secure.php.net/sprintf
    39733973 *
    39743974 * @param string $pattern   The string which formatted args are inserted.
    39753975 * @param mixed  $args ,... Arguments to be formatted into the $pattern string.
  • src/wp-includes/functions.php

     
    675675 * @since 2.3.0
    676676 *
    677677 * @see _http_build_query() Used to build the query
    678  * @link http://us2.php.net/manual/en/function.http-build-query.php for more on what
     678 * @link https://secure.php.net/manual/en/function.http-build-query.php for more on what
    679679 *               http_build_query() does.
    680680 *
    681681 * @param array $data URL-encode key/value pairs.
     
    691691 * @since 3.2.0
    692692 * @access private
    693693 *
    694  * @see http://us1.php.net/manual/en/function.http-build-query.php
     694 * @see https://secure.php.net/manual/en/function.http-build-query.php
    695695 *
    696696 * @param array|object  $data       An array or object of data. Converted to array.
    697697 * @param string        $prefix     Optional. Numeric index. If set, start parameter numbering with it.
     
    17771777 *
    17781778 * @since 2.8.0
    17791779 *
    1780  * @see http://bugs.php.net/bug.php?id=27609
    1781  * @see http://bugs.php.net/bug.php?id=30931
     1780 * @see https://bugs.php.net/bug.php?id=27609
     1781 * @see https://bugs.php.net/bug.php?id=30931
    17821782 *
    17831783 * @param string $path Windows path to check for write-ability.
    17841784 * @return bool Whether the path is writable.
     
    47274727 *
    47284728 * @since 3.0.0
    47294729 *
    4730  * @see http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx
    4731  * @see http://src.chromium.org/viewvc/chrome?view=rev&revision=6985
     4730 * @see https://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx
     4731 * @see https://src.chromium.org/viewvc/chrome?view=rev&revision=6985
    47324732 */
    47334733function send_nosniff_header() {
    47344734        @header( 'X-Content-Type-Options: nosniff' );
  • src/wp-includes/functions.wp-styles.php

     
    100100 * Register a CSS stylesheet.
    101101 *
    102102 * @see WP_Dependencies::add()
    103  * @link http://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types.
     103 * @link https://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types.
    104104 *
    105105 * @since 2.6.0
    106106 * @since 4.3.0 A return value was added.
     
    145145 *
    146146 * @see WP_Dependencies::add()
    147147 * @see WP_Dependencies::enqueue()
    148  * @link http://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types.
     148 * @link https://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types.
    149149 *
    150150 * @since 2.6.0
    151151 *
  • src/wp-includes/general-template.php

     
    26892689/**
    26902690 * Display the link to the Windows Live Writer manifest file.
    26912691 *
    2692  * @link http://msdn.microsoft.com/en-us/library/bb463265.aspx
     2692 * @link https://msdn.microsoft.com/en-us/library/bb463265.aspx
    26932693 * @since 2.3.1
    26942694 */
    26952695function wlwmanifest_link() {
     
    27352735 *
    27362736 * @since 4.3.0
    27372737 *
    2738  * @link http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#rel-icon HTML5 specification link icon.
     2738 * @link https://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#rel-icon HTML5 specification link icon.
    27392739 */
    27402740function wp_site_icon() {
    27412741        if ( ! has_site_icon() && ! is_customize_preview() ) {
  • src/wp-includes/locale.php

     
    184184                $this->meridiem['PM'] = __('PM');
    185185
    186186                // Numbers formatting
    187                 // See http://php.net/number_format
     187                // See https://secure.php.net/number_format
    188188
    189                 /* translators: $thousands_sep argument for http://php.net/number_format, default is , */
     189                /* translators: $thousands_sep argument for https://secure.php.net/number_format, default is , */
    190190                $thousands_sep = __( 'number_format_thousands_sep' );
    191191
    192192                if ( version_compare( PHP_VERSION, '5.4', '>=' ) ) {
     
    199199
    200200                $this->number_format['thousands_sep'] = ( 'number_format_thousands_sep' === $thousands_sep ) ? ',' : $thousands_sep;
    201201
    202                 /* translators: $dec_point argument for http://php.net/number_format, default is . */
     202                /* translators: $dec_point argument for https://secure.php.net/number_format, default is . */
    203203                $decimal_point = __( 'number_format_decimal_point' );
    204204
    205205                $this->number_format['decimal_point'] = ( 'number_format_decimal_point' === $decimal_point ) ? '.' : $decimal_point;
     
    385385         * @since 3.6.0
    386386         */
    387387        public function _strings_for_pot() {
    388                 /* translators: localized date format, see http://php.net/date */
     388                /* translators: localized date format, see https://secure.php.net/date */
    389389                __( 'F j, Y' );
    390                 /* translators: localized time format, see http://php.net/date */
     390                /* translators: localized time format, see https://secure.php.net/date */
    391391                __( 'g:i a' );
    392                 /* translators: localized date and time format, see http://php.net/date */
     392                /* translators: localized date and time format, see https://secure.php.net/date */
    393393                __( 'F j, Y g:i a' );
    394394        }
    395395}
  • src/wp-includes/plugin.php

     
    88 * To hook methods, you'll need to pass an array one of two ways.
    99 *
    1010 * Any of the syntaxes explained in the PHP documentation for the
    11  * {@link http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
     11 * {@link https://secure.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
    1212 * type are valid.
    1313 *
    1414 * Also see the {@link https://codex.wordpress.org/Plugin_API Plugin API} for
  • src/wp-includes/post-template.php

     
    16221622        if ( !in_array( $revision->post_type, array( 'post', 'page', 'revision' ) ) )
    16231623                return false;
    16241624
    1625         /* translators: revision date format, see http://php.net/date */
     1625        /* translators: revision date format, see https://secure.php.net/date */
    16261626        $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
    16271627        /* translators: 1: date */
    16281628        $autosavef = _x( '%1$s [Autosave]', 'post revision title extra' );
     
    16581658                return false;
    16591659
    16601660        $author = get_the_author_meta( 'display_name', $revision->post_author );
    1661         /* translators: revision date format, see http://php.net/date */
     1661        /* translators: revision date format, see https://secure.php.net/date */
    16621662        $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
    16631663
    16641664        $gravatar = get_avatar( $revision->post_author, 24 );
  • src/wp-includes/Requests/Exception/HTTP/418.php

     
    22/**
    33 * Exception for 418 I'm A Teapot responses
    44 *
    5  * @see http://tools.ietf.org/html/rfc2324
     5 * @see https://tools.ietf.org/html/rfc2324
    66 * @package Requests
    77 */
    88
     
    99/**
    1010 * Exception for 418 I'm A Teapot responses
    1111 *
    12  * @see http://tools.ietf.org/html/rfc2324
     12 * @see https://tools.ietf.org/html/rfc2324
    1313 * @package Requests
    1414 */
    1515class Requests_Exception_HTTP_418 extends Requests_Exception_HTTP {
  • src/wp-includes/Requests/Exception/HTTP/428.php

     
    22/**
    33 * Exception for 428 Precondition Required responses
    44 *
    5  * @see http://tools.ietf.org/html/rfc6585
     5 * @see https://tools.ietf.org/html/rfc6585
    66 * @package Requests
    77 */
    88
     
    99/**
    1010 * Exception for 428 Precondition Required responses
    1111 *
    12  * @see http://tools.ietf.org/html/rfc6585
     12 * @see https://tools.ietf.org/html/rfc6585
    1313 * @package Requests
    1414 */
    1515class Requests_Exception_HTTP_428 extends Requests_Exception_HTTP {
  • src/wp-includes/Requests/Exception/HTTP/429.php

     
    22/**
    33 * Exception for 429 Too Many Requests responses
    44 *
    5  * @see http://tools.ietf.org/html/draft-nottingham-http-new-status-04
     5 * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04
    66 * @package Requests
    77 */
    88
     
    99/**
    1010 * Exception for 429 Too Many Requests responses
    1111 *
    12  * @see http://tools.ietf.org/html/draft-nottingham-http-new-status-04
     12 * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04
    1313 * @package Requests
    1414 */
    1515class Requests_Exception_HTTP_429 extends Requests_Exception_HTTP {
  • src/wp-includes/Requests/Exception/HTTP/431.php

     
    22/**
    33 * Exception for 431 Request Header Fields Too Large responses
    44 *
    5  * @see http://tools.ietf.org/html/rfc6585
     5 * @see https://tools.ietf.org/html/rfc6585
    66 * @package Requests
    77 */
    88
     
    99/**
    1010 * Exception for 431 Request Header Fields Too Large responses
    1111 *
    12  * @see http://tools.ietf.org/html/rfc6585
     12 * @see https://tools.ietf.org/html/rfc6585
    1313 * @package Requests
    1414 */
    1515class Requests_Exception_HTTP_431 extends Requests_Exception_HTTP {
  • src/wp-includes/Requests/Exception/HTTP/511.php

     
    22/**
    33 * Exception for 511 Network Authentication Required responses
    44 *
    5  * @see http://tools.ietf.org/html/rfc6585
     5 * @see https://tools.ietf.org/html/rfc6585
    66 * @package Requests
    77 */
    88
     
    99/**
    1010 * Exception for 511 Network Authentication Required responses
    1111 *
    12  * @see http://tools.ietf.org/html/rfc6585
     12 * @see https://tools.ietf.org/html/rfc6585
    1313 * @package Requests
    1414 */
    1515class Requests_Exception_HTTP_511 extends Requests_Exception_HTTP {
  • src/wp-includes/Requests/IDNAEncoder.php

     
    77 *
    88 * @package Requests
    99 * @subpackage Utilities
    10  * @see http://tools.ietf.org/html/rfc3490 IDNA specification
    11  * @see http://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification
     10 * @see https://tools.ietf.org/html/rfc3490 IDNA specification
     11 * @see https://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification
    1212 */
    1313class Requests_IDNAEncoder {
    1414        /**
    1515         * ACE prefix used for IDNA
    1616         *
    17          * @see http://tools.ietf.org/html/rfc3490#section-5
     17         * @see https://tools.ietf.org/html/rfc3490#section-5
    1818         * @var string
    1919         */
    2020        const ACE_PREFIX = 'xn--';
     
    2222        /**#@+
    2323         * Bootstrap constant for Punycode
    2424         *
    25          * @see http://tools.ietf.org/html/rfc3492#section-5
     25         * @see https://tools.ietf.org/html/rfc3492#section-5
    2626         * @var int
    2727         */
    2828        const BOOTSTRAP_BASE         = 36;
     
    333333        /**
    334334         * Convert a digit to its respective character
    335335         *
    336          * @see http://tools.ietf.org/html/rfc3492#section-5
     336         * @see https://tools.ietf.org/html/rfc3492#section-5
    337337         * @throws Requests_Exception On invalid digit (`idna.invalid_digit`)
    338338         *
    339339         * @param int $digit Digit in the range 0-35
     
    353353        /**
    354354         * Adapt the bias
    355355         *
    356          * @see http://tools.ietf.org/html/rfc3492#section-6.1
     356         * @see https://tools.ietf.org/html/rfc3492#section-6.1
    357357         * @param int $delta
    358358         * @param int $numpoints
    359359         * @param bool $firsttime
  • src/wp-includes/Requests/Session.php

     
    175175         * Note: Unlike {@see post} and {@see put}, `$headers` is required, as the
    176176         * specification recommends that should send an ETag
    177177         *
    178          * @link http://tools.ietf.org/html/rfc5789
     178         * @link https://tools.ietf.org/html/rfc5789
    179179         */
    180180        public function patch($url, $headers, $data = array(), $options = array()) {
    181181                return $this->request($url, $headers, $data, Requests::PATCH, $options);
  • src/wp-includes/Requests/SSL.php

     
    2222         * names, leading things like 'https://www.github.com/' to be invalid.
    2323         * Instead
    2424         *
    25          * @see http://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1
     25         * @see https://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1
    2626         *
    2727         * @throws Requests_Exception On not obtaining a match for the host (`fsockopen.ssl.no_match`)
    2828         * @param string $host Host name to verify against
  • src/wp-includes/Requests/Transport/cURL.php

     
    3333        /**
    3434         * Information on the current request
    3535         *
    36          * @var array cURL information array, see {@see http://php.net/curl_getinfo}
     36         * @var array cURL information array, see {@see https://secure.php.net/curl_getinfo}
    3737         */
    3838        public $info;
    3939
     
    481481         * Format a URL given GET data
    482482         *
    483483         * @param string $url
    484          * @param array|object $data Data to build query using, see {@see http://php.net/http_build_query}
     484         * @param array|object $data Data to build query using, see {@see https://secure.php.net/http_build_query}
    485485         * @return string URL with data
    486486         */
    487487        protected static function format_get($url, $data) {
  • src/wp-includes/Requests/Transport/fsockopen.php

     
    3030        /**
    3131         * Stream metadata
    3232         *
    33          * @var array Associative array of properties, see {@see http://php.net/stream_get_meta_data}
     33         * @var array Associative array of properties, see {@see https://secure.php.net/stream_get_meta_data}
    3434         */
    3535        public $info;
    3636
     
    341341         * Format a URL given GET data
    342342         *
    343343         * @param array $url_parts
    344          * @param array|object $data Data to build query using, see {@see http://php.net/http_build_query}
     344         * @param array|object $data Data to build query using, see {@see https://secure.php.net/http_build_query}
    345345         * @return string URL with data
    346346         */
    347347        protected static function format_get($url_parts, $data) {
     
    391391         * names, leading things like 'https://www.github.com/' to be invalid.
    392392         * Instead
    393393         *
    394          * @see http://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1
     394         * @see https://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1
    395395         *
    396396         * @throws Requests_Exception On failure to connect via TLS (`fsockopen.ssl.connect_error`)
    397397         * @throws Requests_Exception On not obtaining a match for the host (`fsockopen.ssl.no_match`)
  • src/wp-includes/rest-api/class-wp-rest-request.php

     
    183183         *
    184184         * @link http://stackoverflow.com/q/18185366
    185185         * @link http://wiki.nginx.org/Pitfalls#Missing_.28disappearing.29_HTTP_headers
    186          * @link http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers
     186         * @link https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers
    187187         *
    188188         * @since 4.4.0
    189189         * @access public
  • src/wp-includes/rest-api/class-wp-rest-response.php

     
    5151         * @since 4.4.0
    5252         * @access public
    5353         *
    54          * @link http://tools.ietf.org/html/rfc5988
    55          * @link http://www.iana.org/assignments/link-relations/link-relations.xml
     54         * @link https://tools.ietf.org/html/rfc5988
     55         * @link https://www.iana.org/assignments/link-relations/link-relations.xml
    5656         *
    5757         * @param string $rel        Link relation. Either an IANA registered type,
    5858         *                           or an absolute URL.
     
    147147         * @since 4.4.0
    148148         * @access public
    149149         *
    150          * @link http://tools.ietf.org/html/rfc5988
    151          * @link http://www.iana.org/assignments/link-relations/link-relations.xml
     150         * @link https://tools.ietf.org/html/rfc5988
     151         * @link https://www.iana.org/assignments/link-relations/link-relations.xml
    152152         *
    153153         * @param string $rel   Link relation. Either an IANA registered type, or an absolute URL.
    154154         * @param string $link  Target IRI for the link.
  • src/wp-includes/rest-api/class-wp-rest-server.php

     
    230230                /*
    231231                 * Mitigate possible JSONP Flash attacks.
    232232                 *
    233                  * http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
     233                 * https://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
    234234                 */
    235235                $this->send_header( 'X-Content-Type-Options', 'nosniff' );
    236236                $this->send_header( 'Access-Control-Expose-Headers', 'X-WP-Total, X-WP-TotalPages' );
     
    389389
    390390                        if ( $jsonp_callback ) {
    391391                                // Prepend '/**/' to mitigate possible JSONP Flash attacks
    392                                 // http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
     392                                // https://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
    393393                                echo '/**/' . $jsonp_callback . '(' . $result . ')';
    394394                        } else {
    395395                                echo $result;
  • src/wp-includes/rss.php

     
    6363                # if PHP xml isn't compiled in, die
    6464                #
    6565                if ( !function_exists('xml_parser_create') )
    66                         trigger_error( "Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php" );
     66                        trigger_error( "Failed to load PHP's XML Extension. https://secure.php.net/manual/en/ref.xml.php" );
    6767
    6868                $parser = @xml_parser_create();
    6969
    7070                if ( !is_resource($parser) )
    71                         trigger_error( "Failed to create an instance of PHP's XML parser. http://www.php.net/manual/en/ref.xml.php");
     71                        trigger_error( "Failed to create an instance of PHP's XML parser. https://secure.php.net/manual/en/ref.xml.php");
    7272
    7373                $this->parser = $parser;
    7474
  • src/wp-includes/theme.php

     
    842842 * Retrieve theme modification value for the current theme.
    843843 *
    844844 * If the modification name does not exist, then the $default will be passed
    845  * through {@link http://php.net/sprintf sprintf()} PHP function with the first
     845 * through {@link https://secure.php.net/sprintf sprintf()} PHP function with the first
    846846 * string the template directory URI and the second string the stylesheet
    847847 * directory URI.
    848848 *
  • src/wp-includes/wp-db.php

     
    12541254         * Does not support sign, padding, alignment, width or precision specifiers.
    12551255         * Does not support argument numbering/swapping.
    12561256         *
    1257          * May be called like {@link http://php.net/sprintf sprintf()} or like {@link http://php.net/vsprintf vsprintf()}.
     1257         * May be called like {@link https://secure.php.net/sprintf sprintf()} or like {@link https://secure.php.net/vsprintf vsprintf()}.
    12581258         *
    12591259         * Both %d and %s should be left unquoted in the query string.
    12601260         *
     
    12611261         *     wpdb::prepare( "SELECT * FROM `table` WHERE `column` = %s AND `field` = %d", 'foo', 1337 )
    12621262         *     wpdb::prepare( "SELECT DATE_FORMAT(`field`, '%%c') FROM `table` WHERE `column` = %s", 'foo' );
    12631263         *
    1264          * @link http://php.net/sprintf Description of syntax.
     1264         * @link https://secure.php.net/sprintf Description of syntax.
    12651265         * @since 2.3.0
    12661266         *
    12671267         * @param string      $query    Query statement with sprintf()-like placeholders
    12681268         * @param array|mixed $args     The array of variables to substitute into the query's placeholders if being called like
    1269          *                              {@link http://php.net/vsprintf vsprintf()}, or the first variable to substitute into the query's placeholders if
    1270          *                              being called like {@link http://php.net/sprintf sprintf()}.
     1269         *                              {@link https://secure.php.net/vsprintf vsprintf()}, or the first variable to substitute into the query's placeholders if
     1270         *                              being called like {@link https://secure.php.net/sprintf sprintf()}.
    12711271         * @param mixed       $args,... further variables to substitute into the query's placeholders if being called like
    1272          *                              {@link http://php.net/sprintf sprintf()}.
     1272         *                              {@link https://secure.php.net/sprintf sprintf()}.
    12731273         * @return string|void Sanitized query string, if there is a query to prepare.
    12741274         */
    12751275        public function prepare( $query, $args ) {
  • tools/i18n/not-gettexted.php

     
    66 * @package wordpress-i18n
    77 * @subpackage tools
    88 */
    9 // see: http://php.net/tokenizer
     9// see: https://secure.php.net/tokenizer
    1010if ( ! defined( 'T_ML_COMMENT' ) )
    1111            define( 'T_ML_COMMENT', T_COMMENT );
    1212else
  • tools/i18n/t/data/not-gettexted-0-result.php

     
    88        require_once( dirname(__FILE__) . '/wp-includes/classes.php');
    99        require_once( dirname(__FILE__) . '/wp-includes/functions.php');
    1010        require_once( dirname(__FILE__) . '/wp-includes/plugin.php');
    11         wp_die( sprintf(/*WP_I18N_CONFIG*/'Translation: There doesn\'t seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href=\'http://codex.wordpress.org/Editing_wp-config.php\'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn\'t work for all server setups. The safest way is to manually create the file.</p><p><a href=\'%s\' class=\'button\'>Create a Configuration File</a>' /*/WP_I18N_CONFIG*/, $path.'setup-config.php'), /*WP_I18N_ERROR*/ 'Translation: WordPress &rsaquo; Error' /*/WP_I18N_ERROR*/);
     11        wp_die( sprintf(/*WP_I18N_CONFIG*/'Translation: There doesn\'t seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href=\'https://codex.wordpress.org/Editing_wp-config.php\'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn\'t work for all server setups. The safest way is to manually create the file.</p><p><a href=\'%s\' class=\'button\'>Create a Configuration File</a>' /*/WP_I18N_CONFIG*/, $path.'setup-config.php'), /*WP_I18N_ERROR*/ 'Translation: WordPress &rsaquo; Error' /*/WP_I18N_ERROR*/);
    1212}
    1313
    1414$wp_did_header = true;
  • tools/i18n/t/data/not-gettexted-0.php

     
    88        require_once( dirname(__FILE__) . '/wp-includes/classes.php');
    99        require_once( dirname(__FILE__) . '/wp-includes/functions.php');
    1010        require_once( dirname(__FILE__) . '/wp-includes/plugin.php');
    11         wp_die( sprintf(/*WP_I18N_CONFIG*/" There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%s' class='button'>Create a Configuration File</a>" /*/WP_I18N_CONFIG*/, $path.'setup-config.php'), /*WP_I18N_ERROR*/ "WordPress &rsaquo; Error" /*/WP_I18N_ERROR*/);
     11        wp_die( sprintf(/*WP_I18N_CONFIG*/" There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='https://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%s' class='button'>Create a Configuration File</a>" /*/WP_I18N_CONFIG*/, $path.'setup-config.php'), /*WP_I18N_ERROR*/ "WordPress &rsaquo; Error" /*/WP_I18N_ERROR*/);
    1212}
    1313
    1414$wp_did_header = true;
  • tools/i18n/t/ExtractTest.php

     
    205205        function test_find_function_calls_with_url_in_comment() {
    206206                $this->assertEquals( array( array(
    207207                                'name' => '__', 'args' => array( 'F j, Y g:i a' ), 'line' => 3,
    208                                 'comment' => 'translators: localized date and time format, see http://php.net/date'
     208                                'comment' => 'translators: localized date and time format, see https://secure.php.net/date'
    209209                        ) ),
    210210                        $this->extractor->find_function_calls( array( '__' ),
    211211                                "<?php
    212                                 /* translators: localized date and time format, see http://php.net/date */
     212                                /* translators: localized date and time format, see https://secure.php.net/date */
    213213                                __( 'F j, Y g:i a' );"
    214214                        )
    215215                );