mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
Docs: Replace a variety of http links referenced in inline docs with their https counterparts (where possible).
Props johnpgreen. Fixes #40732. Built from https://develop.svn.wordpress.org/trunk@40948 git-svn-id: http://core.svn.wordpress.org/trunk@40798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97ef1ca74b
commit
07f01a2e10
@ -38,7 +38,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<li><p><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></p></li>
|
||||
</ol>
|
||||
|
||||
<p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We’re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'http://wordpressfoundation.org/trademark-policy/' ); ?></p>
|
||||
<p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We’re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); ?></p>
|
||||
|
||||
<p><?php
|
||||
|
||||
|
@ -1459,7 +1459,7 @@ function wp_dashboard_browser_nag() {
|
||||
}
|
||||
$notice .= "<p class='browser-update-nag{$browser_nag_class}'>{$msg}</p>";
|
||||
|
||||
$browsehappy = 'http://browsehappy.com/';
|
||||
$browsehappy = 'https://browsehappy.com/';
|
||||
$locale = get_user_locale();
|
||||
if ( 'en_US' !== $locale )
|
||||
$browsehappy = add_query_arg( 'locale', $locale, $browsehappy );
|
||||
|
@ -78,7 +78,7 @@ function twentysixteen_setup() {
|
||||
/*
|
||||
* Enable support for Post Thumbnails on posts and pages.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
|
||||
* @link https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
|
||||
*/
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
set_post_thumbnail_size( 1200, 9999 );
|
||||
|
@ -7,7 +7,7 @@
|
||||
* It is used to display a page when nothing more specific matches a query.
|
||||
* E.g., it puts together the home page when no home.php file exists.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Template_Hierarchy
|
||||
* @link https://codex.wordpress.org/Template_Hierarchy
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Sixteen
|
||||
|
@ -407,7 +407,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @link http://php.net/manual/en/arrayaccess.offsetexists.php
|
||||
* @link https://secure.php.net/manual/en/arrayaccess.offsetexists.php
|
||||
*
|
||||
* @param mixed $offset An offset to check for.
|
||||
* @return bool True if the offset exists, false otherwise.
|
||||
@ -422,7 +422,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @link http://php.net/manual/en/arrayaccess.offsetget.php
|
||||
* @link https://secure.php.net/manual/en/arrayaccess.offsetget.php
|
||||
*
|
||||
* @param mixed $offset The offset to retrieve.
|
||||
* @return mixed If set, the value at the specified offset, null otherwise.
|
||||
@ -437,7 +437,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @link http://php.net/manual/en/arrayaccess.offsetset.php
|
||||
* @link https://secure.php.net/manual/en/arrayaccess.offsetset.php
|
||||
*
|
||||
* @param mixed $offset The offset to assign the value to.
|
||||
* @param mixed $value The value to set.
|
||||
@ -456,7 +456,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @link http://php.net/manual/en/arrayaccess.offsetunset.php
|
||||
* @link https://secure.php.net/manual/en/arrayaccess.offsetunset.php
|
||||
*
|
||||
* @param mixed $offset The offset to unset.
|
||||
*/
|
||||
@ -470,7 +470,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @link http://php.net/manual/en/iterator.current.php
|
||||
* @link https://secure.php.net/manual/en/iterator.current.php
|
||||
*
|
||||
* @return array Of callbacks at current priority.
|
||||
*/
|
||||
@ -484,7 +484,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @link http://php.net/manual/en/iterator.next.php
|
||||
* @link https://secure.php.net/manual/en/iterator.next.php
|
||||
*
|
||||
* @return array Of callbacks at next priority.
|
||||
*/
|
||||
@ -498,7 +498,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @link http://php.net/manual/en/iterator.key.php
|
||||
* @link https://secure.php.net/manual/en/iterator.key.php
|
||||
*
|
||||
* @return mixed Returns current priority on success, or NULL on failure
|
||||
*/
|
||||
@ -512,7 +512,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @link http://php.net/manual/en/iterator.valid.php
|
||||
* @link https://secure.php.net/manual/en/iterator.valid.php
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
@ -526,7 +526,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @link http://php.net/manual/en/iterator.rewind.php
|
||||
* @link https://secure.php.net/manual/en/iterator.rewind.php
|
||||
*/
|
||||
public function rewind() {
|
||||
reset( $this->callbacks );
|
||||
|
@ -643,11 +643,12 @@ function ms_allowed_http_request_hosts( $is_external, $host ) {
|
||||
* @since 4.4.0
|
||||
* @since 4.7.0 The $component parameter was added for parity with PHP's parse_url().
|
||||
*
|
||||
* @link https://secure.php.net/manual/en/function.parse-url.php
|
||||
*
|
||||
* @param string $url The URL to parse.
|
||||
* @param int $component The specific component to retrieve. Use one of the PHP
|
||||
* predefined constants to specify which one.
|
||||
* Defaults to -1 (= return all parts as an array).
|
||||
* @see http://php.net/manual/en/function.parse-url.php
|
||||
* @return mixed False on parse failure; Array of URL components on success;
|
||||
* When a specific component has been requested: null if the component
|
||||
* doesn't exist in the given URL; a string or - in the case of
|
||||
@ -688,11 +689,12 @@ function wp_parse_url( $url, $component = -1 ) {
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @link https://secure.php.net/manual/en/function.parse-url.php
|
||||
*
|
||||
* @param array|false $url_parts The parsed URL. Can be false if the URL failed to parse.
|
||||
* @param int $component The specific component to retrieve. Use one of the PHP
|
||||
* predefined constants to specify which one.
|
||||
* Defaults to -1 (= return all parts as an array).
|
||||
* @see http://php.net/manual/en/function.parse-url.php
|
||||
* @return mixed False on parse failure; Array of URL components on success;
|
||||
* When a specific component has been requested: null if the component
|
||||
* doesn't exist in the given URL; a string or - in the case of
|
||||
@ -718,7 +720,7 @@ function _get_component_from_parsed_url_array( $url_parts, $component = -1 ) {
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @see http://php.net/manual/en/url.constants.php
|
||||
* @link https://secure.php.net/manual/en/url.constants.php
|
||||
*
|
||||
* @param int $constant PHP_URL_* constant.
|
||||
* @return string|bool The named key or false.
|
||||
|
@ -956,7 +956,7 @@ function wp_just_in_time_script_localization() {
|
||||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
* @link http://api.jqueryui.com/datepicker/#options
|
||||
* @link https://api.jqueryui.com/datepicker/#options
|
||||
*
|
||||
* @global WP_Locale $wp_locale The WordPress date and time locale object.
|
||||
*/
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-40947';
|
||||
$wp_version = '4.9-alpha-40948';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user