WordPress 4.6.14
Built from https://develop.svn.wordpress.org/branches/4.6@44874 git-svn-id: http://core.svn.wordpress.org/branches/4.6@44705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1ff333ca3b
commit
5db18ede70
|
@ -60,6 +60,26 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
|
||||
<div class="changelog point-releases">
|
||||
<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.14'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '4.6.14' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s: WordPress version number */
|
||||
|
|
|
@ -2717,8 +2717,13 @@ function wp_rel_nofollow_callback( $matches ) {
|
|||
$rel = 'nofollow';
|
||||
|
||||
if ( ! empty( $atts['href'] ) ) {
|
||||
if ( in_array( strtolower( wp_parse_url( $atts['href'], PHP_URL_SCHEME ) ), array( 'http', 'https' ), true ) ) {
|
||||
if ( strtolower( wp_parse_url( $atts['href'], PHP_URL_HOST ) ) === strtolower( wp_parse_url( home_url(), PHP_URL_HOST ) ) ) {
|
||||
$href_parts = wp_parse_url( $atts['href'] );
|
||||
$href_scheme = isset( $href_parts['scheme'] ) ? $href_parts['scheme'] : '';
|
||||
$href_host = isset( $href_parts['host'] ) ? $href_parts['host'] : '';
|
||||
$home_parts = wp_parse_url( home_url() );
|
||||
$home_host = isset( $home_parts['host'] ) ? $home_parts['host'] : '';
|
||||
if ( in_array( strtolower( $href_scheme ), array( 'http', 'https' ), true ) ) {
|
||||
if ( strtolower( $href_host ) === strtolower( $home_host ) ) {
|
||||
return "<a $text>";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6.13';
|
||||
$wp_version = '4.6.14';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue