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:
parent
ce557062f4
commit
96a6f0ac1f
|
@ -56,7 +56,7 @@ $core_actions_post = array(
|
|||
'hidden-columns', 'update-welcome-panel', 'menu-get-metabox', 'wp-link-ajax',
|
||||
'menu-locations-save', 'menu-quick-search', 'meta-box-order', 'get-permalink',
|
||||
'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',
|
||||
'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
|
||||
'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
|
||||
|
|
|
@ -131,7 +131,7 @@ if ( $comment->comment_parent ) :
|
|||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Filter miscellaneous actions for the edit comment form sidebar.
|
||||
*
|
||||
|
|
|
@ -1521,7 +1521,7 @@ function upgrade_430() {
|
|||
$tables = array_diff_assoc( $tables, $global_tables );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
foreach ( $tables as $table ) {
|
||||
maybe_convert_table_to_utf8mb4( $table );
|
||||
}
|
||||
|
@ -2622,7 +2622,7 @@ endif;
|
|||
|
||||
/**
|
||||
* Determine if global tables should be upgraded.
|
||||
*
|
||||
*
|
||||
* This function performs a series of checks to ensure the environment allows
|
||||
* for the safe upgrading of global WordPress database tables. It is necessary
|
||||
* because global tables will commonly grow to millions of rows on large
|
||||
|
|
|
@ -764,7 +764,7 @@ function get_current_blog_id() {
|
|||
*
|
||||
* @global string $text_direction
|
||||
* @global WP_Locale $wp_locale The WordPress date and time locale object.
|
||||
*
|
||||
*
|
||||
* @staticvar bool $loaded
|
||||
*/
|
||||
function wp_load_translations_early() {
|
||||
|
|
|
@ -208,10 +208,10 @@ function do_shortcode( $content, $ignore_html = false ) {
|
|||
|
||||
$pattern = get_shortcode_regex();
|
||||
$content = preg_replace_callback( "/$pattern/s", 'do_shortcode_tag', $content );
|
||||
|
||||
|
||||
// Always restore square braces so we don't break things like <!--[if IE ]>
|
||||
$content = unescape_invalid_shortcodes( $content );
|
||||
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
@ -331,7 +331,7 @@ function do_shortcodes_in_html_tags( $content, $ignore_html ) {
|
|||
$trans = array( '[' => '[', ']' => ']' );
|
||||
$content = strtr( $content, $trans );
|
||||
$trans = array( '[' => '[', ']' => ']' );
|
||||
|
||||
|
||||
$pattern = get_shortcode_regex();
|
||||
$textarr = wp_html_split( $content );
|
||||
|
||||
|
@ -368,14 +368,14 @@ function do_shortcodes_in_html_tags( $content, $ignore_html ) {
|
|||
$element = strtr( $element, $trans );
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
// Get element name
|
||||
$front = array_shift( $attributes );
|
||||
$back = array_pop( $attributes );
|
||||
$matches = array();
|
||||
preg_match('%[a-zA-Z0-9]+%', $front, $matches);
|
||||
$elname = $matches[0];
|
||||
|
||||
|
||||
// Look for shortcodes in each attribute separately.
|
||||
foreach ( $attributes as &$attr ) {
|
||||
$open = strpos( $attr, '[' );
|
||||
|
@ -407,13 +407,13 @@ function do_shortcodes_in_html_tags( $content, $ignore_html ) {
|
|||
}
|
||||
}
|
||||
$element = $front . implode( '', $attributes ) . $back;
|
||||
|
||||
|
||||
// Now encode any remaining [ or ] chars.
|
||||
$element = strtr( $element, $trans );
|
||||
}
|
||||
|
||||
|
||||
$content = implode( '', $textarr );
|
||||
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
@ -429,7 +429,7 @@ function unescape_invalid_shortcodes( $content ) {
|
|||
// Clean up entire string, avoids re-parsing HTML.
|
||||
$trans = array( '[' => '[', ']' => ']' );
|
||||
$content = strtr( $content, $trans );
|
||||
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
@ -539,7 +539,7 @@ function strip_shortcodes( $content ) {
|
|||
|
||||
// Always restore square braces so we don't break things like <!--[if IE ]>
|
||||
$content = unescape_invalid_shortcodes( $content );
|
||||
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue