Switch the remaining user-facing links to wordpress.org over to HTTPS.
Fixes #27115 Built from https://develop.svn.wordpress.org/trunk@34783 git-svn-id: http://core.svn.wordpress.org/trunk@34748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6f7a298c18
commit
815635548a
|
@ -1008,7 +1008,7 @@ function wp_dashboard_primary() {
|
||||||
*
|
*
|
||||||
* @param string $link The widget's primary link URL.
|
* @param string $link The widget's primary link URL.
|
||||||
*/
|
*/
|
||||||
'link' => apply_filters( 'dashboard_primary_link', __( 'http://wordpress.org/news/' ) ),
|
'link' => apply_filters( 'dashboard_primary_link', __( 'https://wordpress.org/news/' ) ),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the primary feed URL for the 'WordPress News' dashboard widget.
|
* Filter the primary feed URL for the 'WordPress News' dashboard widget.
|
||||||
|
|
|
@ -254,7 +254,7 @@ foreach ( $plugin_files as $plugin_file ) :
|
||||||
<input type="hidden" name="scrollto" id="scrollto" value="<?php echo $scrollto; ?>" />
|
<input type="hidden" name="scrollto" id="scrollto" value="<?php echo $scrollto; ?>" />
|
||||||
</div>
|
</div>
|
||||||
<?php if ( !empty( $docs_select ) ) : ?>
|
<?php if ( !empty( $docs_select ) ) : ?>
|
||||||
<div id="documentation" class="hide-if-no-js"><label for="docs-list"><?php _e('Documentation:') ?></label> <?php echo $docs_select ?> <input type="button" class="button" value="<?php esc_attr_e( 'Look Up' ) ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'http://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" /></div>
|
<div id="documentation" class="hide-if-no-js"><label for="docs-list"><?php _e('Documentation:') ?></label> <?php echo $docs_select ?> <input type="button" class="button" value="<?php esc_attr_e( 'Look Up' ) ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" /></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ( is_writeable($real_file) ) : ?>
|
<?php if ( is_writeable($real_file) ) : ?>
|
||||||
<?php if ( in_array( $file, (array) get_option( 'active_plugins', array() ) ) ) { ?>
|
<?php if ( in_array( $file, (array) get_option( 'active_plugins', array() ) ) ) { ?>
|
||||||
|
|
|
@ -208,7 +208,7 @@ else : ?>
|
||||||
<div id="documentation" class="hide-if-no-js">
|
<div id="documentation" class="hide-if-no-js">
|
||||||
<label for="docs-list"><?php _e('Documentation:') ?></label>
|
<label for="docs-list"><?php _e('Documentation:') ?></label>
|
||||||
<?php echo $docs_select; ?>
|
<?php echo $docs_select; ?>
|
||||||
<input type="button" class="button" value=" <?php esc_attr_e( 'Look Up' ); ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'http://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" />
|
<input type="button" class="button" value=" <?php esc_attr_e( 'Look Up' ); ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
|
@ -3211,13 +3211,13 @@ function get_the_generator( $type = '' ) {
|
||||||
$gen = '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . '" />';
|
$gen = '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . '" />';
|
||||||
break;
|
break;
|
||||||
case 'atom':
|
case 'atom':
|
||||||
$gen = '<generator uri="http://wordpress.org/" version="' . get_bloginfo_rss( 'version' ) . '">WordPress</generator>';
|
$gen = '<generator uri="shttp://wordpress.org/" version="' . get_bloginfo_rss( 'version' ) . '">WordPress</generator>';
|
||||||
break;
|
break;
|
||||||
case 'rss2':
|
case 'rss2':
|
||||||
$gen = '<generator>http://wordpress.org/?v=' . get_bloginfo_rss( 'version' ) . '</generator>';
|
$gen = '<generator>https://wordpress.org/?v=' . get_bloginfo_rss( 'version' ) . '</generator>';
|
||||||
break;
|
break;
|
||||||
case 'rdf':
|
case 'rdf':
|
||||||
$gen = '<admin:generatorAgent rdf:resource="http://wordpress.org/?v=' . get_bloginfo_rss( 'version' ) . '" />';
|
$gen = '<admin:generatorAgent rdf:resource="https://wordpress.org/?v=' . get_bloginfo_rss( 'version' ) . '" />';
|
||||||
break;
|
break;
|
||||||
case 'comment':
|
case 'comment':
|
||||||
$gen = '<!-- generator="WordPress/' . get_bloginfo( 'version' ) . '" -->';
|
$gen = '<!-- generator="WordPress/' . get_bloginfo( 'version' ) . '" -->';
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-34782';
|
$wp_version = '4.4-alpha-34783';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
|
@ -35,7 +35,7 @@ header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
|
||||||
<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
|
<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
|
||||||
<service>
|
<service>
|
||||||
<engineName>WordPress</engineName>
|
<engineName>WordPress</engineName>
|
||||||
<engineLink>http://wordpress.org/</engineLink>
|
<engineLink>https://wordpress.org/</engineLink>
|
||||||
<homePageLink><?php bloginfo_rss('url') ?></homePageLink>
|
<homePageLink><?php bloginfo_rss('url') ?></homePageLink>
|
||||||
<apis>
|
<apis>
|
||||||
<api name="WordPress" blogID="1" preferred="true" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
|
<api name="WordPress" blogID="1" preferred="true" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
|
||||||
|
|
Loading…
Reference in New Issue