Pinking shears.

Built from https://develop.svn.wordpress.org/trunk@33627


git-svn-id: http://core.svn.wordpress.org/trunk@33594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-08-17 21:39:25 +00:00
parent ce557062f4
commit 96a6f0ac1f
6 changed files with 16 additions and 16 deletions

View File

@ -56,7 +56,7 @@ $core_actions_post = array(
'hidden-columns', 'update-welcome-panel', 'menu-get-metabox', 'wp-link-ajax', 'hidden-columns', 'update-welcome-panel', 'menu-get-metabox', 'wp-link-ajax',
'menu-locations-save', 'menu-quick-search', 'meta-box-order', 'get-permalink', 'menu-locations-save', 'menu-quick-search', 'meta-box-order', 'get-permalink',
'sample-permalink', 'inline-save', 'inline-save-tax', 'find_posts', 'widgets-order', 'sample-permalink', 'inline-save', 'inline-save-tax', 'find_posts', 'widgets-order',
'save-widget', 'set-post-thumbnail', 'date_format', 'time_format', 'save-widget', 'set-post-thumbnail', 'date_format', 'time_format',
'wp-remove-post-lock', 'dismiss-wp-pointer', 'upload-attachment', 'get-attachment', 'wp-remove-post-lock', 'dismiss-wp-pointer', 'upload-attachment', 'get-attachment',
'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor', 'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs', 'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',

View File

@ -131,7 +131,7 @@ if ( $comment->comment_parent ) :
</div> </div>
<?php endif; ?> <?php endif; ?>
<?php <?php
/** /**
* Filter miscellaneous actions for the edit comment form sidebar. * Filter miscellaneous actions for the edit comment form sidebar.
* *

View File

@ -1521,7 +1521,7 @@ function upgrade_430() {
$tables = array_diff_assoc( $tables, $global_tables ); $tables = array_diff_assoc( $tables, $global_tables );
} }
} }
foreach ( $tables as $table ) { foreach ( $tables as $table ) {
maybe_convert_table_to_utf8mb4( $table ); maybe_convert_table_to_utf8mb4( $table );
} }
@ -2622,7 +2622,7 @@ endif;
/** /**
* Determine if global tables should be upgraded. * Determine if global tables should be upgraded.
* *
* This function performs a series of checks to ensure the environment allows * This function performs a series of checks to ensure the environment allows
* for the safe upgrading of global WordPress database tables. It is necessary * for the safe upgrading of global WordPress database tables. It is necessary
* because global tables will commonly grow to millions of rows on large * because global tables will commonly grow to millions of rows on large

View File

@ -764,7 +764,7 @@ function get_current_blog_id() {
* *
* @global string $text_direction * @global string $text_direction
* @global WP_Locale $wp_locale The WordPress date and time locale object. * @global WP_Locale $wp_locale The WordPress date and time locale object.
* *
* @staticvar bool $loaded * @staticvar bool $loaded
*/ */
function wp_load_translations_early() { function wp_load_translations_early() {

View File

@ -208,10 +208,10 @@ function do_shortcode( $content, $ignore_html = false ) {
$pattern = get_shortcode_regex(); $pattern = get_shortcode_regex();
$content = preg_replace_callback( "/$pattern/s", 'do_shortcode_tag', $content ); $content = preg_replace_callback( "/$pattern/s", 'do_shortcode_tag', $content );
// Always restore square braces so we don't break things like <!--[if IE ]> // Always restore square braces so we don't break things like <!--[if IE ]>
$content = unescape_invalid_shortcodes( $content ); $content = unescape_invalid_shortcodes( $content );
return $content; return $content;
} }
@ -331,7 +331,7 @@ function do_shortcodes_in_html_tags( $content, $ignore_html ) {
$trans = array( '&#91;' => '&#091;', '&#93;' => '&#093;' ); $trans = array( '&#91;' => '&#091;', '&#93;' => '&#093;' );
$content = strtr( $content, $trans ); $content = strtr( $content, $trans );
$trans = array( '[' => '&#91;', ']' => '&#93;' ); $trans = array( '[' => '&#91;', ']' => '&#93;' );
$pattern = get_shortcode_regex(); $pattern = get_shortcode_regex();
$textarr = wp_html_split( $content ); $textarr = wp_html_split( $content );
@ -368,14 +368,14 @@ function do_shortcodes_in_html_tags( $content, $ignore_html ) {
$element = strtr( $element, $trans ); $element = strtr( $element, $trans );
continue; continue;
} }
// Get element name // Get element name
$front = array_shift( $attributes ); $front = array_shift( $attributes );
$back = array_pop( $attributes ); $back = array_pop( $attributes );
$matches = array(); $matches = array();
preg_match('%[a-zA-Z0-9]+%', $front, $matches); preg_match('%[a-zA-Z0-9]+%', $front, $matches);
$elname = $matches[0]; $elname = $matches[0];
// Look for shortcodes in each attribute separately. // Look for shortcodes in each attribute separately.
foreach ( $attributes as &$attr ) { foreach ( $attributes as &$attr ) {
$open = strpos( $attr, '[' ); $open = strpos( $attr, '[' );
@ -407,13 +407,13 @@ function do_shortcodes_in_html_tags( $content, $ignore_html ) {
} }
} }
$element = $front . implode( '', $attributes ) . $back; $element = $front . implode( '', $attributes ) . $back;
// Now encode any remaining [ or ] chars. // Now encode any remaining [ or ] chars.
$element = strtr( $element, $trans ); $element = strtr( $element, $trans );
} }
$content = implode( '', $textarr ); $content = implode( '', $textarr );
return $content; return $content;
} }
@ -429,7 +429,7 @@ function unescape_invalid_shortcodes( $content ) {
// Clean up entire string, avoids re-parsing HTML. // Clean up entire string, avoids re-parsing HTML.
$trans = array( '&#91;' => '[', '&#93;' => ']' ); $trans = array( '&#91;' => '[', '&#93;' => ']' );
$content = strtr( $content, $trans ); $content = strtr( $content, $trans );
return $content; return $content;
} }
@ -539,7 +539,7 @@ function strip_shortcodes( $content ) {
// Always restore square braces so we don't break things like <!--[if IE ]> // Always restore square braces so we don't break things like <!--[if IE ]>
$content = unescape_invalid_shortcodes( $content ); $content = unescape_invalid_shortcodes( $content );
return $content; return $content;
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-RC2-33626'; $wp_version = '4.3-RC2-33627';
/** /**
* 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.