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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user