Pinking shears.

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


git-svn-id: http://core.svn.wordpress.org/trunk@33379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-07-24 17:27:24 +00:00
parent 458332302e
commit d8e8ad4a2f
2 changed files with 3 additions and 3 deletions

View File

@ -633,7 +633,7 @@ function wp_replace_in_html_tags( $haystack, $replace_pairs ) {
foreach ( $replace_pairs as $needle => $replace ); foreach ( $replace_pairs as $needle => $replace );
// Loop through delimeters (elements) only. // Loop through delimeters (elements) only.
for ( $i = 1, $c = count( $textarr ); $i < $c; $i += 2 ) { for ( $i = 1, $c = count( $textarr ); $i < $c; $i += 2 ) {
if ( false !== strpos( $textarr[$i], $needle ) ) { if ( false !== strpos( $textarr[$i], $needle ) ) {
$textarr[$i] = str_replace( $needle, $replace, $textarr[$i] ); $textarr[$i] = str_replace( $needle, $replace, $textarr[$i] );
$changed = true; $changed = true;
@ -644,7 +644,7 @@ function wp_replace_in_html_tags( $haystack, $replace_pairs ) {
$needles = array_keys( $replace_pairs ); $needles = array_keys( $replace_pairs );
// Loop through delimeters (elements) only. // Loop through delimeters (elements) only.
for ( $i = 1, $c = count( $textarr ); $i < $c; $i += 2 ) { for ( $i = 1, $c = count( $textarr ); $i < $c; $i += 2 ) {
foreach ( $needles as $needle ) { foreach ( $needles as $needle ) {
if ( false !== strpos( $textarr[$i], $needle ) ) { if ( false !== strpos( $textarr[$i], $needle ) ) {
$textarr[$i] = strtr( $textarr[$i], $replace_pairs ); $textarr[$i] = strtr( $textarr[$i], $replace_pairs );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-beta4-33410'; $wp_version = '4.3-beta4-33411';
/** /**
* 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.