Changeset 37674
- Timestamp:
- 06/10/2016 04:49:09 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 53 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/readme.html
r37183 r37674 54 54 <h2>System Requirements</h2> 55 55 <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> 58 58 </ul> 59 59 60 60 <h3>Recommendations</h3> 61 61 <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> 65 65 <li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li> 66 66 </ul> -
trunk/src/wp-admin/comment.php
r37488 r37674 198 198 /* translators: 1: comment date, 2: comment time */ 199 199 $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 */ 201 201 get_comment_date( __( 'Y/m/d' ), $comment ), 202 202 get_comment_date( __( 'g:i a' ), $comment ) -
trunk/src/wp-admin/edit-form-advanced.php
r37488 r37674 130 130 } 131 131 132 /* translators: Publish box date format, see http ://php.net/date */132 /* translators: Publish box date format, see https://secure.php.net/date */ 133 133 $scheduled_date = date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) ); 134 134 -
trunk/src/wp-admin/edit-form-comment.php
r37611 r37674 90 90 <div class="misc-pub-section curtime misc-pub-curtime"> 91 91 <?php 92 /* translators: Publish box date format, see http ://php.net/date */92 /* translators: Publish box date format, see https://secure.php.net/date */ 93 93 $datef = __( 'M j, Y @ H:i' ); 94 94 ?> -
trunk/src/wp-admin/edit-tag-form.php
r37488 r37674 46 46 47 47 /** 48 * Use with caution, see http ://codex.wordpress.org/Function_Reference/wp_reset_vars48 * Use with caution, see https://codex.wordpress.org/Function_Reference/wp_reset_vars 49 49 */ 50 50 wp_reset_vars( array( 'wp_http_referer' ) ); -
trunk/src/wp-admin/freedoms.php
r37170 r37674 48 48 printf( __( 'Every plugin and theme in WordPress.org’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’s GPL</a> first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); ?></p> 49 49 50 <p><?php _e( 'Don’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’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> 51 51 52 52 </div> -
trunk/src/wp-admin/includes/ajax-actions.php
r37664 r37674 1798 1798 $time = ''; 1799 1799 } else { 1800 /* translators: date format in table columns, see http ://php.net/date */1800 /* translators: date format in table columns, see https://secure.php.net/date */ 1801 1801 $time = mysql2date(__('Y/m/d'), $post->post_date); 1802 1802 } -
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r37624 r37674 718 718 /* translators: 1: comment date, 2: comment time */ 719 719 $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 */ 721 721 get_comment_date( __( 'Y/m/d' ), $comment ), 722 722 get_comment_date( __( 'g:i a' ), $comment ) -
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r36250 r37674 317 317 * From the PHP documentation page for fileperms(). 318 318 * 319 * @link http ://docs.php.net/fileperms319 * @link https://secure.php.net/manual/en/function.fileperms.php 320 320 * 321 321 * @access public … … 385 385 * From "info at rvgate dot nl"'s comment on the PHP documentation for chmod() 386 386 * 387 * @link http ://docs.php.net/manual/en/function.chmod.php#49614387 * @link https://secure.php.net/manual/en/function.chmod.php#49614 388 388 * 389 389 * @access public -
trunk/src/wp-admin/includes/dashboard.php
r37537 r37674 836 836 $relative = __( 'Tomorrow' ); 837 837 } 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 */ 839 839 $relative = date_i18n( __( 'M jS Y' ), $time ); 840 840 } 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 */ 842 842 $relative = date_i18n( __( 'M jS' ), $time ); 843 843 } -
trunk/src/wp-admin/includes/meta-boxes.php
r37488 r37674 171 171 172 172 <?php 173 /* translators: Publish box date format, see http ://php.net/date */173 /* translators: Publish box date format, see https://secure.php.net/date */ 174 174 $datef = __( 'M j, Y @ H:i' ); 175 175 if ( 0 != $post->ID ) { … … 297 297 <div id="misc-publishing-actions"> 298 298 <?php 299 /* translators: Publish box date format, see http ://php.net/date */299 /* translators: Publish box date format, see https://secure.php.net/date */ 300 300 $datef = __( 'M j, Y @ H:i' ); 301 301 $stamp = __('Uploaded on: <b>%1$s</b>'); -
trunk/src/wp-admin/includes/misc.php
r37619 r37674 882 882 $response['wp_autosave'] = array( 'success' => false, 'message' => __( 'Error while saving.' ) ); 883 883 } else { 884 /* translators: draft saved date format, see http ://php.net/date */884 /* translators: draft saved date format, see https://secure.php.net/date */ 885 885 $draft_saved_date_format = __( 'g:i:s a' ); 886 886 /* translators: %s: date and time */ -
trunk/src/wp-admin/includes/network.php
r37488 r37674 181 181 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.' ), 182 182 '<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' 185 185 ); 186 186 echo '</p></div>'; -
trunk/src/wp-admin/includes/schema.php
r37524 r37674 382 382 $gmt_offset = 0; 383 383 /* 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.php384 or a valid timezone string (America/New_York). See https://secure.php.net/manual/en/timezones.php 385 385 for all timezone strings supported by PHP. 386 386 */ … … 416 416 'default_pingback_flag' => 1, 417 417 '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 */ 419 419 '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 */ 421 421 '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 */ 423 423 'links_updated_date_format' => __('F j, Y g:i a'), 424 424 'comment_moderation' => 0, -
trunk/src/wp-admin/options-discussion.php
r37488 r37674 196 196 <?php 197 197 $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 */ 199 199 'G' => __('G — 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 */ 201 201 'PG' => __('PG — 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 */ 203 203 'R' => __('R — 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 */ 205 205 'X' => __('X — Even more mature than above') 206 206 ); -
trunk/src/wp-admin/options-general.php
r37488 r37674 18 18 $title = __('General Settings'); 19 19 $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 */ 21 21 $timezone_format = _x('Y-m-d H:i:s', 'timezone date format'); 22 22 -
trunk/src/wp-admin/theme-editor.php
r37488 r37674 113 113 $location = 'theme-editor.php?file=' . urlencode( $relative_file ) . '&theme=' . urlencode( $stylesheet ) . '&scrollto=' . $scrollto; 114 114 if ( is_writeable( $file ) ) { 115 // is_writable() not always reliable, check return value. see comments @ http ://uk.php.net/is_writable115 // is_writable() not always reliable, check return value. see comments @ https://secure.php.net/is_writable 116 116 $f = fopen( $file, 'w+' ); 117 117 if ( $f !== false ) { -
trunk/src/wp-includes/Requests/Exception/HTTP/418.php
r37428 r37674 3 3 * Exception for 418 I'm A Teapot responses 4 4 * 5 * @see http ://tools.ietf.org/html/rfc23245 * @see https://tools.ietf.org/html/rfc2324 6 6 * @package Requests 7 7 */ … … 10 10 * Exception for 418 I'm A Teapot responses 11 11 * 12 * @see http ://tools.ietf.org/html/rfc232412 * @see https://tools.ietf.org/html/rfc2324 13 13 * @package Requests 14 14 */ -
trunk/src/wp-includes/Requests/Exception/HTTP/428.php
r37428 r37674 3 3 * Exception for 428 Precondition Required responses 4 4 * 5 * @see http ://tools.ietf.org/html/rfc65855 * @see https://tools.ietf.org/html/rfc6585 6 6 * @package Requests 7 7 */ … … 10 10 * Exception for 428 Precondition Required responses 11 11 * 12 * @see http ://tools.ietf.org/html/rfc658512 * @see https://tools.ietf.org/html/rfc6585 13 13 * @package Requests 14 14 */ -
trunk/src/wp-includes/Requests/Exception/HTTP/429.php
r37428 r37674 3 3 * Exception for 429 Too Many Requests responses 4 4 * 5 * @see http ://tools.ietf.org/html/draft-nottingham-http-new-status-045 * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04 6 6 * @package Requests 7 7 */ … … 10 10 * Exception for 429 Too Many Requests responses 11 11 * 12 * @see http ://tools.ietf.org/html/draft-nottingham-http-new-status-0412 * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04 13 13 * @package Requests 14 14 */ -
trunk/src/wp-includes/Requests/Exception/HTTP/431.php
r37428 r37674 3 3 * Exception for 431 Request Header Fields Too Large responses 4 4 * 5 * @see http ://tools.ietf.org/html/rfc65855 * @see https://tools.ietf.org/html/rfc6585 6 6 * @package Requests 7 7 */ … … 10 10 * Exception for 431 Request Header Fields Too Large responses 11 11 * 12 * @see http ://tools.ietf.org/html/rfc658512 * @see https://tools.ietf.org/html/rfc6585 13 13 * @package Requests 14 14 */ -
trunk/src/wp-includes/Requests/Exception/HTTP/511.php
r37428 r37674 3 3 * Exception for 511 Network Authentication Required responses 4 4 * 5 * @see http ://tools.ietf.org/html/rfc65855 * @see https://tools.ietf.org/html/rfc6585 6 6 * @package Requests 7 7 */ … … 10 10 * Exception for 511 Network Authentication Required responses 11 11 * 12 * @see http ://tools.ietf.org/html/rfc658512 * @see https://tools.ietf.org/html/rfc6585 13 13 * @package Requests 14 14 */ -
trunk/src/wp-includes/Requests/IDNAEncoder.php
r37428 r37674 8 8 * @package Requests 9 9 * @subpackage Utilities 10 * @see http ://tools.ietf.org/html/rfc3490 IDNA specification11 * @see http ://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification10 * @see https://tools.ietf.org/html/rfc3490 IDNA specification 11 * @see https://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification 12 12 */ 13 13 class Requests_IDNAEncoder { … … 15 15 * ACE prefix used for IDNA 16 16 * 17 * @see http ://tools.ietf.org/html/rfc3490#section-517 * @see https://tools.ietf.org/html/rfc3490#section-5 18 18 * @var string 19 19 */ … … 23 23 * Bootstrap constant for Punycode 24 24 * 25 * @see http ://tools.ietf.org/html/rfc3492#section-525 * @see https://tools.ietf.org/html/rfc3492#section-5 26 26 * @var int 27 27 */ … … 334 334 * Convert a digit to its respective character 335 335 * 336 * @see http ://tools.ietf.org/html/rfc3492#section-5336 * @see https://tools.ietf.org/html/rfc3492#section-5 337 337 * @throws Requests_Exception On invalid digit (`idna.invalid_digit`) 338 338 * … … 354 354 * Adapt the bias 355 355 * 356 * @see http ://tools.ietf.org/html/rfc3492#section-6.1356 * @see https://tools.ietf.org/html/rfc3492#section-6.1 357 357 * @param int $delta 358 358 * @param int $numpoints -
trunk/src/wp-includes/Requests/SSL.php
r37428 r37674 23 23 * Instead 24 24 * 25 * @see http ://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.125 * @see https://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1 26 26 * 27 27 * @throws Requests_Exception On not obtaining a match for the host (`fsockopen.ssl.no_match`) -
trunk/src/wp-includes/Requests/Session.php
r37428 r37674 176 176 * specification recommends that should send an ETag 177 177 * 178 * @link http ://tools.ietf.org/html/rfc5789178 * @link https://tools.ietf.org/html/rfc5789 179 179 */ 180 180 public function patch($url, $headers, $data = array(), $options = array()) { -
trunk/src/wp-includes/Requests/Transport/cURL.php
r37430 r37674 34 34 * Information on the current request 35 35 * 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} 37 37 */ 38 38 public $info; … … 482 482 * 483 483 * @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} 485 485 * @return string URL with data 486 486 */ -
trunk/src/wp-includes/Requests/Transport/fsockopen.php
r37428 r37674 31 31 * Stream metadata 32 32 * 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} 34 34 */ 35 35 public $info; … … 342 342 * 343 343 * @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} 345 345 * @return string URL with data 346 346 */ … … 392 392 * Instead 393 393 * 394 * @see http ://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1394 * @see https://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1 395 395 * 396 396 * @throws Requests_Exception On failure to connect via TLS (`fsockopen.ssl.connect_error`) -
trunk/src/wp-includes/class-http.php
r37514 r37674 701 701 * Based off the HTTP http_encoding_dechunk function. 702 702 * 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. 704 704 * 705 705 * @access public -
trunk/src/wp-includes/class-requests.php
r37428 r37674 72 72 * PATCH method 73 73 * 74 * @link http ://tools.ietf.org/html/rfc578974 * @link https://tools.ietf.org/html/rfc5789 75 75 * @var string 76 76 */ … … 288 288 * specification recommends that should send an ETag 289 289 * 290 * @link http ://tools.ietf.org/html/rfc5789290 * @link https://tools.ietf.org/html/rfc5789 291 291 */ 292 292 public static function patch($url, $headers, $data = array(), $options = array()) { … … 743 743 * Decoded a chunked body as per RFC 2616 744 744 * 745 * @see http ://tools.ietf.org/html/rfc2616#section-3.6.1745 * @see https://tools.ietf.org/html/rfc2616#section-3.6.1 746 746 * @param string $data Chunked body 747 747 * @return string Decoded body … … 849 849 * data may be returned in, some "magic offsets" are needed to ensure proper decompression 850 850 * takes place. For a simple progmatic way to determine the magic offset in use, see: 851 * http ://core.trac.wordpress.org/ticket/18273851 * https://core.trac.wordpress.org/ticket/18273 852 852 * 853 853 * @since 2.8.1 854 * @link http ://core.trac.wordpress.org/ticket/18273855 * @link http ://au2.php.net/manual/en/function.gzinflate.php#70875856 * @link http ://au2.php.net/manual/en/function.gzinflate.php#77336854 * @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 857 857 * 858 858 * @param string $gzData String to decompress. … … 892 892 // System.IO.Compression.DeflateStream. 893 893 // 894 // See http ://decompres.blogspot.com/ for a quick explanation of this894 // See https://decompres.blogspot.com/ for a quick explanation of this 895 895 // data type 896 896 $huffman_encoded = false; -
trunk/src/wp-includes/class-wp-http-encoding.php
r37492 r37674 89 89 * @since 2.8.1 90 90 * @link https://core.trac.wordpress.org/ticket/18273 91 * @link http ://au2.php.net/manual/en/function.gzinflate.php#7087592 * @link http ://au2.php.net/manual/en/function.gzinflate.php#7733691 * @link https://secure.php.net/manual/en/function.gzinflate.php#70875 92 * @link https://secure.php.net/manual/en/function.gzinflate.php#77336 93 93 * 94 94 * @static -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r37539 r37674 1153 1153 * @since 3.4.0 1154 1154 * 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. 1156 1156 * 1157 1157 * @param array $args { … … 4299 4299 4300 4300 /* 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/ 4302 4302 */ 4303 4303 -
trunk/src/wp-includes/comment.php
r37614 r37674 2544 2544 * 2545 2545 * @since 3.5.1 2546 * @link http ://www.hixie.ch/specs/pingback/pingback#TOC32546 * @link https://www.hixie.ch/specs/pingback/pingback#TOC3 2547 2547 * 2548 2548 * @param IXR_Error $ixr_error -
trunk/src/wp-includes/compat.php
r37637 r37674 422 422 * Compatibility shim for PHP <5.4 423 423 * 424 * @link http ://php.net/jsonserializable424 * @link https://secure.php.net/jsonserializable 425 425 * 426 426 * @since 4.4.0 -
trunk/src/wp-includes/default-constants.php
r36061 r37674 99 99 * YEAR_IN_SECONDS does not take leap years into account. 100 100 * 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). 102 102 * 103 103 * @since 3.5.0 -
trunk/src/wp-includes/deprecated.php
r37592 r37674 2819 2819 * @see error_log() 2820 2820 * 2821 * @link http ://www.php.net/manual/en/function.error-log.php2821 * @link https://secure.php.net/manual/en/function.error-log.php 2822 2822 * 2823 2823 * @param string $filename File name. … … 2837 2837 * @see error_log() 2838 2838 * 2839 * @link http ://www.php.net/manual/en/function.error-log.php2839 * @link https://secure.php.net/manual/en/function.error-log.php 2840 2840 * 2841 2841 * @param mixed $fp Unused. … … 2855 2855 * @see error_log() 2856 2856 * 2857 * @link http ://www.php.net/manual/en/function.error-log.php2857 * @link https://secure.php.net/manual/en/function.error-log.php 2858 2858 * 2859 2859 * @param mixed $fp Unused. -
trunk/src/wp-includes/feed-atom-comments.php
r35294 r37674 92 92 <content type="html" xml:base="<?php comment_link(); ?>"><![CDATA[<?php comment_text(); ?>]]></content> 93 93 <?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) 95 95 if ( $comment->comment_parent == 0 ) : // This comment is top level ?> 96 96 <thr:in-reply-to ref="<?php the_guid(); ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" /> -
trunk/src/wp-includes/formatting.php
r37669 r37674 2362 2362 * 2363 2363 * Slashes will first be removed if magic_quotes_gpc is set, see {@link 2364 * http ://www.php.net/magic_quotes} for more details.2364 * https://secure.php.net/magic_quotes} for more details. 2365 2365 * 2366 2366 * @since 0.71 … … 3036 3036 * @since 1.5.0 3037 3037 * 3038 * @param string $date_string Date and time in ISO 8601 format {@link http ://en.wikipedia.org/wiki/ISO_8601}.3038 * @param string $date_string Date and time in ISO 8601 format {@link https://en.wikipedia.org/wiki/ISO_8601}. 3039 3039 * @param string $timezone Optional. If set to GMT returns the time minus gmt_offset. Default is 'user'. 3040 3040 * @return string The date and time in MySQL DateTime format - Y-m-d H:i:s. … … 3833 3833 * Convert entities, while preserving already-encoded entities. 3834 3834 * 3835 * @link http ://www.php.net/htmlentities Borrowed from the PHP Manual user notes.3835 * @link https://secure.php.net/htmlentities Borrowed from the PHP Manual user notes. 3836 3836 * 3837 3837 * @since 1.2.2 … … 4275 4275 * Parses a string into variables to be stored in an array. 4276 4276 * 4277 * Uses {@link http ://www.php.net/parse_str parse_str()} and stripslashes if4278 * {@link http ://www.php.net/magic_quotes magic_quotes_gpc} is on.4277 * Uses {@link https://secure.php.net/parse_str parse_str()} and stripslashes if 4278 * {@link https://secure.php.net/magic_quotes magic_quotes_gpc} is on. 4279 4279 * 4280 4280 * @since 2.2.1 … … 4329 4329 * 4330 4330 * @since 2.5.0 4331 * @link http ://www.php.net/sprintf4331 * @link https://secure.php.net/sprintf 4332 4332 * 4333 4333 * @param string $pattern The string which formatted args are inserted. -
trunk/src/wp-includes/functions.php
r37670 r37674 676 676 * 677 677 * @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 what678 * @link https://secure.php.net/manual/en/function.http-build-query.php for more on what 679 679 * http_build_query() does. 680 680 * … … 692 692 * @access private 693 693 * 694 * @see http ://us1.php.net/manual/en/function.http-build-query.php694 * @see https://secure.php.net/manual/en/function.http-build-query.php 695 695 * 696 696 * @param array|object $data An array or object of data. Converted to array. … … 1780 1780 * @since 2.8.0 1781 1781 * 1782 * @see http ://bugs.php.net/bug.php?id=276091783 * @see http ://bugs.php.net/bug.php?id=309311782 * @see https://bugs.php.net/bug.php?id=27609 1783 * @see https://bugs.php.net/bug.php?id=30931 1784 1784 * 1785 1785 * @param string $path Windows path to check for write-ability. … … 4732 4732 * @since 3.0.0 4733 4733 * 4734 * @see http ://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx4735 * @see http ://src.chromium.org/viewvc/chrome?view=rev&revision=69854734 * @see https://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx 4735 * @see https://src.chromium.org/viewvc/chrome?view=rev&revision=6985 4736 4736 */ 4737 4737 function send_nosniff_header() { -
trunk/src/wp-includes/functions.wp-styles.php
r37191 r37674 101 101 * 102 102 * @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. 104 104 * 105 105 * @since 2.6.0 … … 146 146 * @see WP_Dependencies::add() 147 147 * @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. 149 149 * 150 150 * @since 2.6.0 -
trunk/src/wp-includes/general-template.php
r37645 r37674 2690 2690 * Display the link to the Windows Live Writer manifest file. 2691 2691 * 2692 * @link http ://msdn.microsoft.com/en-us/library/bb463265.aspx2692 * @link https://msdn.microsoft.com/en-us/library/bb463265.aspx 2693 2693 * @since 2.3.1 2694 2694 */ … … 2736 2736 * @since 4.3.0 2737 2737 * 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. 2739 2739 */ 2740 2740 function wp_site_icon() { -
trunk/src/wp-includes/locale.php
r37431 r37674 185 185 186 186 // Numbers formatting 187 // See http ://php.net/number_format188 189 /* translators: $thousands_sep argument for http ://php.net/number_format, default is , */187 // See https://secure.php.net/number_format 188 189 /* translators: $thousands_sep argument for https://secure.php.net/number_format, default is , */ 190 190 $thousands_sep = __( 'number_format_thousands_sep' ); 191 191 … … 200 200 $this->number_format['thousands_sep'] = ( 'number_format_thousands_sep' === $thousands_sep ) ? ',' : $thousands_sep; 201 201 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 . */ 203 203 $decimal_point = __( 'number_format_decimal_point' ); 204 204 … … 386 386 */ 387 387 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 */ 389 389 __( 'F j, Y' ); 390 /* translators: localized time format, see http ://php.net/date */390 /* translators: localized time format, see https://secure.php.net/date */ 391 391 __( '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 */ 393 393 __( 'F j, Y g:i a' ); 394 394 } -
trunk/src/wp-includes/plugin.php
r37588 r37674 9 9 * 10 10 * 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'} 12 12 * type are valid. 13 13 * -
trunk/src/wp-includes/post-template.php
r37544 r37674 1623 1623 return false; 1624 1624 1625 /* translators: revision date format, see http ://php.net/date */1625 /* translators: revision date format, see https://secure.php.net/date */ 1626 1626 $datef = _x( 'F j, Y @ H:i:s', 'revision date format' ); 1627 1627 /* translators: 1: date */ … … 1659 1659 1660 1660 $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 */ 1662 1662 $datef = _x( 'F j, Y @ H:i:s', 'revision date format' ); 1663 1663 -
trunk/src/wp-includes/rest-api/class-wp-rest-request.php
r37490 r37674 184 184 * @link http://stackoverflow.com/q/18185366 185 185 * @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_headers186 * @link https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers 187 187 * 188 188 * @since 4.4.0 -
trunk/src/wp-includes/rest-api/class-wp-rest-response.php
r37490 r37674 52 52 * @access public 53 53 * 54 * @link http ://tools.ietf.org/html/rfc598855 * @link http ://www.iana.org/assignments/link-relations/link-relations.xml54 * @link https://tools.ietf.org/html/rfc5988 55 * @link https://www.iana.org/assignments/link-relations/link-relations.xml 56 56 * 57 57 * @param string $rel Link relation. Either an IANA registered type, … … 148 148 * @access public 149 149 * 150 * @link http ://tools.ietf.org/html/rfc5988151 * @link http ://www.iana.org/assignments/link-relations/link-relations.xml150 * @link https://tools.ietf.org/html/rfc5988 151 * @link https://www.iana.org/assignments/link-relations/link-relations.xml 152 152 * 153 153 * @param string $rel Link relation. Either an IANA registered type, or an absolute URL. -
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r37646 r37674 231 231 * Mitigate possible JSONP Flash attacks. 232 232 * 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/ 234 234 */ 235 235 $this->send_header( 'X-Content-Type-Options', 'nosniff' ); … … 390 390 if ( $jsonp_callback ) { 391 391 // 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/ 393 393 echo '/**/' . $jsonp_callback . '(' . $result . ')'; 394 394 } else { -
trunk/src/wp-includes/rss.php
r37402 r37674 64 64 # 65 65 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" ); 67 67 68 68 $parser = @xml_parser_create(); 69 69 70 70 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"); 72 72 73 73 $this->parser = $parser; -
trunk/src/wp-includes/theme.php
r37673 r37674 843 843 * 844 844 * 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 first845 * through {@link https://secure.php.net/sprintf sprintf()} PHP function with the first 846 846 * string the template directory URI and the second string the stylesheet 847 847 * directory URI. -
trunk/src/wp-includes/wp-db.php
r37601 r37674 1255 1255 * Does not support argument numbering/swapping. 1256 1256 * 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()}. 1258 1258 * 1259 1259 * Both %d and %s should be left unquoted in the query string. … … 1262 1262 * wpdb::prepare( "SELECT DATE_FORMAT(`field`, '%%c') FROM `table` WHERE `column` = %s", 'foo' ); 1263 1263 * 1264 * @link http ://php.net/sprintf Description of syntax.1264 * @link https://secure.php.net/sprintf Description of syntax. 1265 1265 * @since 2.3.0 1266 1266 * 1267 1267 * @param string $query Query statement with sprintf()-like placeholders 1268 1268 * @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 if1270 * 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()}. 1271 1271 * @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()}. 1273 1273 * @return string|void Sanitized query string, if there is a query to prepare. 1274 1274 */ -
trunk/tools/i18n/not-gettexted.php
r25254 r37674 7 7 * @subpackage tools 8 8 */ 9 // see: http ://php.net/tokenizer9 // see: https://secure.php.net/tokenizer 10 10 if ( ! defined( 'T_ML_COMMENT' ) ) 11 11 define( 'T_ML_COMMENT', T_COMMENT ); -
trunk/tools/i18n/t/ExtractTest.php
r36781 r37674 206 206 $this->assertEquals( array( array( 207 207 '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' 209 209 ) ), 210 210 $this->extractor->find_function_calls( array( '__' ), 211 211 "<?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 */ 213 213 __( 'F j, Y g:i a' );" 214 214 ) -
trunk/tools/i18n/t/data/not-gettexted-0-result.php
r25003 r37674 9 9 require_once( dirname(__FILE__) . '/wp-includes/functions.php'); 10 10 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 › 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 › Error' /*/WP_I18N_ERROR*/); 12 12 } 13 13 -
trunk/tools/i18n/t/data/not-gettexted-0.php
r25003 r37674 9 9 require_once( dirname(__FILE__) . '/wp-includes/functions.php'); 10 10 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 › 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 › Error" /*/WP_I18N_ERROR*/); 12 12 } 13 13
Note: See TracChangeset
for help on using the changeset viewer.