mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Use HTTPS URLs for codex.wordpress.org.
see #27115. git-svn-id: https://develop.svn.wordpress.org/trunk@32116 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -127,7 +127,7 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
|
||||
'parent' => 'wp-logo-external',
|
||||
'id' => 'documentation',
|
||||
'title' => __('Documentation'),
|
||||
'href' => __('http://codex.wordpress.org/'),
|
||||
'href' => __('https://codex.wordpress.org/'),
|
||||
) );
|
||||
|
||||
// Add forums link
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* These functions must be used within the WordPress Loop.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Author_Templates
|
||||
* @link https://codex.wordpress.org/Author_Templates
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Template
|
||||
@@ -49,7 +49,7 @@ function get_the_author($deprecated = '') {
|
||||
*
|
||||
* @since 0.71
|
||||
* @see get_the_author()
|
||||
* @link http://codex.wordpress.org/Template_Tags/the_author
|
||||
* @link https://codex.wordpress.org/Template_Tags/the_author
|
||||
*
|
||||
* @param string $deprecated Deprecated.
|
||||
* @param string $deprecated_echo Deprecated. Use get_the_author(). Echo the string or return it.
|
||||
@@ -101,7 +101,7 @@ function the_modified_author() {
|
||||
|
||||
/**
|
||||
* Retrieve the requested data of the author of the current post.
|
||||
* @link http://codex.wordpress.org/Template_Tags/the_author_meta
|
||||
* @link https://codex.wordpress.org/Template_Tags/the_author_meta
|
||||
* @since 2.8.0
|
||||
* @param string $field selects the field of the users record.
|
||||
* @param int $user_id Optional. User ID.
|
||||
@@ -135,7 +135,7 @@ function get_the_author_meta( $field = '', $user_id = false ) {
|
||||
|
||||
/**
|
||||
* Retrieve the requested data of the author of the current post.
|
||||
* @link http://codex.wordpress.org/Template_Tags/the_author_meta
|
||||
* @link https://codex.wordpress.org/Template_Tags/the_author_meta
|
||||
* @since 2.8.0
|
||||
* @param string $field selects the field of the users record.
|
||||
* @param int $user_id Optional. User ID.
|
||||
@@ -177,7 +177,7 @@ function get_the_author_link() {
|
||||
* If the author has a home page set, echo an HTML link, otherwise just echo the
|
||||
* author's name.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Template_Tags/the_author_link
|
||||
* @link https://codex.wordpress.org/Template_Tags/the_author_link
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
@@ -203,7 +203,7 @@ function get_the_author_posts() {
|
||||
/**
|
||||
* Display the number of posts by the author of the current post.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Template_Tags/the_author_posts
|
||||
* @link https://codex.wordpress.org/Template_Tags/the_author_posts
|
||||
* @since 0.71
|
||||
*/
|
||||
function the_author_posts() {
|
||||
@@ -217,7 +217,7 @@ function the_author_posts() {
|
||||
* reason for this, is that another function is used to help in printing the
|
||||
* link to the author's posts.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Template_Tags/the_author_posts_link
|
||||
* @link https://codex.wordpress.org/Template_Tags/the_author_posts_link
|
||||
* @since 1.2.0
|
||||
* @param string $deprecated Deprecated.
|
||||
*/
|
||||
@@ -287,7 +287,7 @@ function get_author_posts_url($author_id, $author_nicename = '') {
|
||||
/**
|
||||
* List all the authors of the blog, with several options available.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Template_Tags/wp_list_authors
|
||||
* @link https://codex.wordpress.org/Template_Tags/wp_list_authors
|
||||
*
|
||||
* @since 1.2.0
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Object Cache API
|
||||
*
|
||||
* @link http://codex.wordpress.org/Function_Reference/WP_Cache
|
||||
* @link https://codex.wordpress.org/Function_Reference/WP_Cache
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Cache
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @see get_terms() Type of arguments that can be changed.
|
||||
* @link http://codex.wordpress.org/Function_Reference/get_categories
|
||||
* @link https://codex.wordpress.org/Function_Reference/get_categories
|
||||
*
|
||||
* @param string|array $args Optional. Change the defaults retrieving categories.
|
||||
* @return array List of categories.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* API for fetching the HTML to embed remote content based on a provided URL.
|
||||
* Used internally by the {@link WP_Embed} class, but is designed to be generic.
|
||||
*
|
||||
* @link http://codex.wordpress.org/oEmbed oEmbed Codex Article
|
||||
* @link https://codex.wordpress.org/oEmbed oEmbed Codex Article
|
||||
* @link http://oembed.com/ oEmbed Homepage
|
||||
*
|
||||
* @package WordPress
|
||||
|
||||
@@ -1131,7 +1131,7 @@ function get_comment_count( $post_id = 0 ) {
|
||||
* Add meta data field to a comment.
|
||||
*
|
||||
* @since 2.9.0
|
||||
* @link http://codex.wordpress.org/Function_Reference/add_comment_meta
|
||||
* @link https://codex.wordpress.org/Function_Reference/add_comment_meta
|
||||
*
|
||||
* @param int $comment_id Comment ID.
|
||||
* @param string $meta_key Metadata name.
|
||||
@@ -1151,7 +1151,7 @@ function add_comment_meta($comment_id, $meta_key, $meta_value, $unique = false)
|
||||
* allows removing all metadata matching key, if needed.
|
||||
*
|
||||
* @since 2.9.0
|
||||
* @link http://codex.wordpress.org/Function_Reference/delete_comment_meta
|
||||
* @link https://codex.wordpress.org/Function_Reference/delete_comment_meta
|
||||
*
|
||||
* @param int $comment_id comment ID
|
||||
* @param string $meta_key Metadata name.
|
||||
@@ -1166,7 +1166,7 @@ function delete_comment_meta($comment_id, $meta_key, $meta_value = '') {
|
||||
* Retrieve comment meta field for a comment.
|
||||
*
|
||||
* @since 2.9.0
|
||||
* @link http://codex.wordpress.org/Function_Reference/get_comment_meta
|
||||
* @link https://codex.wordpress.org/Function_Reference/get_comment_meta
|
||||
*
|
||||
* @param int $comment_id Comment ID.
|
||||
* @param string $key Optional. The meta key to retrieve. By default, returns data for all keys.
|
||||
@@ -1187,7 +1187,7 @@ function get_comment_meta($comment_id, $key = '', $single = false) {
|
||||
* If the meta field for the comment does not exist, it will be added.
|
||||
*
|
||||
* @since 2.9.0
|
||||
* @link http://codex.wordpress.org/Function_Reference/update_comment_meta
|
||||
* @link https://codex.wordpress.org/Function_Reference/update_comment_meta
|
||||
*
|
||||
* @param int $comment_id Comment ID.
|
||||
* @param string $meta_key Metadata key.
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* WordPress site, if the schedule time has passed.
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @link http://codex.wordpress.org/Function_Reference/wp_schedule_single_event
|
||||
* @link https://codex.wordpress.org/Function_Reference/wp_schedule_single_event
|
||||
*
|
||||
* @param int $timestamp Timestamp for when to run the event.
|
||||
* @param string $hook Action hook to execute when cron is run.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* return no results. In these cases, a _doing_it_wrong() error notice is also thrown.
|
||||
* See {@link WP_Date_Query::validate_date_values()}.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Function_Reference/WP_Query Codex page.
|
||||
* @link https://codex.wordpress.org/Function_Reference/WP_Query Codex page.
|
||||
*
|
||||
* @since 3.7.0
|
||||
*/
|
||||
|
||||
@@ -54,7 +54,7 @@ function get_postdata($postid) {
|
||||
*
|
||||
* @since 1.0.1
|
||||
* @deprecated 1.5.0
|
||||
* @deprecated Use The Loop - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop}
|
||||
* @deprecated Use The Loop - {@link https://codex.wordpress.org/The_Loop Use new WordPress Loop}
|
||||
*/
|
||||
function start_wp() {
|
||||
global $wp_query;
|
||||
@@ -1310,7 +1310,7 @@ function get_category_children( $id, $before = '/', $after = '', $visited = arra
|
||||
* @since 2.0.0
|
||||
* @deprecated 4.0.0 Use get_terms() instead.
|
||||
* @see get_terms()
|
||||
* @link http://codex.wordpress.org/Function_Reference/get_all_category_ids
|
||||
* @link https://codex.wordpress.org/Function_Reference/get_all_category_ids
|
||||
*
|
||||
* @return object List of all of the category IDs.
|
||||
*/
|
||||
|
||||
@@ -3556,11 +3556,11 @@ function _doing_it_wrong( $function, $message, $version ) {
|
||||
if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true ) ) {
|
||||
if ( function_exists( '__' ) ) {
|
||||
$version = is_null( $version ) ? '' : sprintf( __( '(This message was added in version %s.)' ), $version );
|
||||
$message .= ' ' . __( 'Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information.' );
|
||||
$message .= ' ' . __( 'Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information.' );
|
||||
trigger_error( sprintf( __( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s' ), $function, $message, $version ) );
|
||||
} else {
|
||||
$version = is_null( $version ) ? '' : sprintf( '(This message was added in version %s.)', $version );
|
||||
$message .= ' Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information.';
|
||||
$message .= ' Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information.';
|
||||
trigger_error( sprintf( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s', $function, $message, $version ) );
|
||||
}
|
||||
}
|
||||
@@ -4183,7 +4183,7 @@ function wp_scheduled_delete() {
|
||||
* If the file data is not within that first 8kiB, then the author should correct
|
||||
* their plugin file and move the data headers to the top.
|
||||
*
|
||||
* @link http://codex.wordpress.org/File_Header
|
||||
* @link https://codex.wordpress.org/File_Header
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
|
||||
@@ -423,7 +423,7 @@ function ms_not_installed() {
|
||||
) . '</p>';
|
||||
}
|
||||
$msg .= '<p><strong>' . __( 'What do I do now?' ) . '</strong> ';
|
||||
$msg .= __( 'Read the <a target="_blank" href="http://codex.wordpress.org/Debugging_a_WordPress_Network">bug report</a> page. Some of the guidelines there may help you figure out what went wrong.' );
|
||||
$msg .= __( 'Read the <a target="_blank" href="https://codex.wordpress.org/Debugging_a_WordPress_Network">bug report</a> page. Some of the guidelines there may help you figure out what went wrong.' );
|
||||
$msg .= ' ' . __( 'If you’re still stuck with this message, then check that your database contains the following tables:' ) . '</p><ul>';
|
||||
foreach ( $wpdb->tables('global') as $t => $table ) {
|
||||
if ( 'sitecategories' == $t )
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* {@link http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
|
||||
* type are valid.
|
||||
*
|
||||
* Also see the {@link http://codex.wordpress.org/Plugin_API Plugin API} for
|
||||
* Also see the {@link https://codex.wordpress.org/Plugin_API Plugin API} for
|
||||
* more information and examples on how to use a lot of these functions.
|
||||
*
|
||||
* @package WordPress
|
||||
|
||||
@@ -1603,7 +1603,7 @@ function _post_type_meta_capabilities( $capabilities = null ) {
|
||||
* - singular_name - name for one object of this post type. Default is Post/Page
|
||||
* - add_new - Default is Add New for both hierarchical and non-hierarchical types.
|
||||
* When internationalizing this string, please use a gettext context
|
||||
* {@link http://codex.wordpress.org/I18n_for_WordPress_Developers#Disambiguation_by_context}
|
||||
* {@link https://codex.wordpress.org/I18n_for_WordPress_Developers#Disambiguation_by_context}
|
||||
* matching your post type. Example: `_x( 'Add New', 'product' );`.
|
||||
* - add_new_item - Default is Add New Post/Add New Page.
|
||||
* - edit_item - Default is Edit Post/Edit Page.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* The query API attempts to get which part of WordPress the user is on. It
|
||||
* also provides functionality for getting URL query information.
|
||||
*
|
||||
* @link http://codex.wordpress.org/The_Loop More information on The Loop.
|
||||
* @link https://codex.wordpress.org/The_Loop More information on The Loop.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Query
|
||||
@@ -722,7 +722,7 @@ function is_404() {
|
||||
function is_main_query() {
|
||||
if ( 'pre_get_posts' === current_filter() ) {
|
||||
$message = sprintf( __( 'In <code>%1$s</code>, use the <code>%2$s</code> method, not the <code>%3$s</code> function. See %4$s.' ),
|
||||
'pre_get_posts', 'WP_Query::is_main_query()', 'is_main_query()', __( 'http://codex.wordpress.org/Function_Reference/is_main_query' ) );
|
||||
'pre_get_posts', 'WP_Query::is_main_query()', 'is_main_query()', __( 'https://codex.wordpress.org/Function_Reference/is_main_query' ) );
|
||||
_doing_it_wrong( __FUNCTION__, $message, '3.7' );
|
||||
}
|
||||
|
||||
@@ -830,7 +830,7 @@ function the_comment() {
|
||||
/**
|
||||
* The WordPress Query class.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Function_Reference/WP_Query Codex page.
|
||||
* @link https://codex.wordpress.org/Function_Reference/WP_Query Codex page.
|
||||
*
|
||||
* @since 1.5.0
|
||||
*/
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
*
|
||||
* $out = do_shortcode( $content );
|
||||
*
|
||||
* @link http://codex.wordpress.org/Shortcode_API
|
||||
* @link https://codex.wordpress.org/Shortcode_API
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Shortcodes
|
||||
|
||||
@@ -1249,7 +1249,7 @@ function is_user_member_of_blog( $user_id = 0, $blog_id = 0 ) {
|
||||
* Post meta data is called "Custom Fields" on the Administration Screens.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @link http://codex.wordpress.org/Function_Reference/add_user_meta
|
||||
* @link https://codex.wordpress.org/Function_Reference/add_user_meta
|
||||
*
|
||||
* @param int $user_id User ID.
|
||||
* @param string $meta_key Metadata name.
|
||||
@@ -1269,7 +1269,7 @@ function add_user_meta($user_id, $meta_key, $meta_value, $unique = false) {
|
||||
* allows removing all metadata matching key, if needed.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @link http://codex.wordpress.org/Function_Reference/delete_user_meta
|
||||
* @link https://codex.wordpress.org/Function_Reference/delete_user_meta
|
||||
*
|
||||
* @param int $user_id user ID
|
||||
* @param string $meta_key Metadata name.
|
||||
@@ -1284,7 +1284,7 @@ function delete_user_meta($user_id, $meta_key, $meta_value = '') {
|
||||
* Retrieve user meta field for a user.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @link http://codex.wordpress.org/Function_Reference/get_user_meta
|
||||
* @link https://codex.wordpress.org/Function_Reference/get_user_meta
|
||||
*
|
||||
* @param int $user_id User ID.
|
||||
* @param string $key Optional. The meta key to retrieve. By default, returns data for all keys.
|
||||
@@ -1305,7 +1305,7 @@ function get_user_meta($user_id, $key = '', $single = false) {
|
||||
* If the meta field for the user does not exist, it will be added.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @link http://codex.wordpress.org/Function_Reference/update_user_meta
|
||||
* @link https://codex.wordpress.org/Function_Reference/update_user_meta
|
||||
*
|
||||
* @param int $user_id User ID.
|
||||
* @param string $meta_key Metadata key.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* servers with known pretty permalink capability.
|
||||
*
|
||||
* Note: Though Nginx is detected, WordPress does not currently
|
||||
* generate rewrite rules for it. See http://codex.wordpress.org/Nginx
|
||||
* generate rewrite rules for it. See https://codex.wordpress.org/Nginx
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* This functionality was found in a plugin before WordPress 2.2 release which
|
||||
* included it in the core from that point on.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Plugins/WordPress_Widgets WordPress Widgets
|
||||
* @link http://codex.wordpress.org/Plugins/WordPress_Widgets_Api Widgets API
|
||||
* @link https://codex.wordpress.org/Plugins/WordPress_Widgets WordPress Widgets
|
||||
* @link https://codex.wordpress.org/Plugins/WordPress_Widgets_Api Widgets API
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Widgets
|
||||
|
||||
@@ -43,7 +43,7 @@ define( 'ARRAY_N', 'ARRAY_N' );
|
||||
* file to your class. The wpdb class will still be included,
|
||||
* so you can extend it or simply use your own.
|
||||
*
|
||||
* @link http://codex.wordpress.org/Function_Reference/wpdb_Class
|
||||
* @link https://codex.wordpress.org/Function_Reference/wpdb_Class
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Database
|
||||
|
||||
Reference in New Issue
Block a user