diff --git a/wp-includes/shortcodes.php b/wp-includes/shortcodes.php index f6855f542c..181aea048b 100644 --- a/wp-includes/shortcodes.php +++ b/wp-includes/shortcodes.php @@ -145,8 +145,10 @@ function shortcode_exists( $tag ) { * @since 3.6.0 * * @global array $shortcode_tags - * @param string $tag - * @return boolean + * + * @param string $content Content to search for shortcodes. + * @param string $tag Shortcode tag to check. + * @return bool Whether the passed content contains. the given shortcode. */ function has_shortcode( $content, $tag ) { if ( false === strpos( $content, '[' ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 04db1595de..25a30eb538 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31241'; +$wp_version = '4.2-alpha-31242'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.