Pinking shears

git-svn-id: https://develop.svn.wordpress.org/trunk@25880 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2013-10-23 14:37:54 +00:00
parent b10ef05fb1
commit 30f822b8ee
31 changed files with 124 additions and 124 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ function get_tags( $args = '' ) {
$return = array();
return $return;
}
/**
* Filter the array of term objects returned for the 'post_tag' taxonomy.
*
+2 -2
View File
@@ -636,7 +636,7 @@ class WP_Http {
}
}
return wp_remote_request( $redirect_location, $args );
return wp_remote_request( $redirect_location, $args );
}
/**
@@ -944,7 +944,7 @@ class WP_Http_Streams {
/**
* Verifies the received SSL certificate against it's Common Names and subjectAltName fields
*
*
* PHP's SSL verifications only verify that it's a valid Certificate, it doesn't verify if
* the certificate is valid for the hostname which was requested.
* This function verifies the requested hostname against certificate's subjectAltName field,
+1 -1
View File
@@ -50,7 +50,7 @@ class WP_Admin_Bar {
* To remove the default padding styles from WordPress for the Toolbar, use the following code:
* add_theme_support( 'admin-bar', array( 'callback' => '__return_false' ) );
*/
$admin_bar_args = get_theme_support( 'admin-bar' );
$admin_bar_args = get_theme_support( 'admin-bar' );
$header_callback = $admin_bar_args[0]['callback'];
}
+1 -1
View File
@@ -7,7 +7,7 @@
* only needs to implement the methods that are needed.
*
* @since 2.1.0
*
*
* @package WordPress
* @abstract
*/
+6 -6
View File
@@ -16,13 +16,13 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
<?php
<?php
/**
* Fires at the end of the feed root to add namespaces.
*
* @since 2.0.0
*/
do_action( 'rdf_ns' );
do_action( 'rdf_ns' );
?>
>
<channel rdf:about="<?php bloginfo_rss("url") ?>">
@@ -35,13 +35,13 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
<?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
<sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<?php
<?php
/**
* Fires at the end of the RDF feed header.
*
* @since 2.0.0
*/
do_action( 'rdf_header' );
do_action( 'rdf_header' );
?>
<items>
<rdf:Seq>
@@ -64,13 +64,13 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<content:encoded><![CDATA[<?php the_content_feed('rdf') ?>]]></content:encoded>
<?php endif; ?>
<?php
<?php
/**
* Fires at the end of each RDF feed item.
*
* @since 2.0.0
*/
do_action( 'rdf_item' );
do_action( 'rdf_item' );
?>
</item>
<?php endwhile; ?>
+1 -1
View File
@@ -23,7 +23,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
* Fires at the end of the RSS Feed Header.
*
* @since 2.0.0
*/
*/
do_action( 'rss_head' );
?>
+3 -3
View File
@@ -14,12 +14,12 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
<?php
<?php
/** This action is documented in wp-includes/feed-rss2.php */
do_action( 'rss2_ns' );
?>
<?php
<?php
/**
* Fires at the end of the RSS root to add namespaces.
*
@@ -45,7 +45,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
<sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
<?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
<sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
<?php
<?php
/**
* Fires at the end of the RSS2 comment feed header.
*
+2 -2
View File
@@ -75,9 +75,9 @@ function ms_site_check() {
/**
* Filter checking the status of the current blog.
*
*
* @since 1.2.1
*
*
* @param bool null Whether to skip the blog status check. Default null.
*/
$check = apply_filters( 'ms_site_check', null );
+1 -1
View File
@@ -341,7 +341,7 @@ function shortcode_atts( $pairs, $atts, $shortcode = '' ) {
/**
* Filter a shortcode's default attributes.
*
* If the third parameter of the shortcode_atts() function is present then this filter is available.
* If the third parameter of the shortcode_atts() function is present then this filter is available.
* The third parameter, $shortcode, is the name of the shortcode.
*
* @since 3.6.0
+1 -1
View File
@@ -17,7 +17,7 @@
* @since 2.3.0
* @uses $wp_version Used to check against the newest WordPress version.
*
* @param array $extra_stats Extra statistics to report to the WordPress.org API.
* @param array $extra_stats Extra statistics to report to the WordPress.org API.
* @return mixed Returns null if update is unsupported. Returns false if check is too soon.
*/
function wp_version_check( $extra_stats = array() ) {
+5 -5
View File
@@ -95,11 +95,11 @@ $is_IE = ( $is_macIE || $is_winIE );
$is_apache = (strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false || strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false);
/**
* Whether the server software is Nginx or something else
* @global bool $is_nginx
*/
$is_nginx = (strpos($_SERVER['SERVER_SOFTWARE'], 'nginx') !== false);
* Whether the server software is Nginx or something else
* @global bool $is_nginx
*/
$is_nginx = (strpos($_SERVER['SERVER_SOFTWARE'], 'nginx') !== false);
/**
* Whether the server software is IIS or something else
* @global bool $is_IIS