Changes in branches/4.2 [32307:32311]
- Location:
- branches/4.2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/package.json
r32307 r32311 1 1 { 2 2 "name": "WordPress", 3 "version": "4.2. 0",3 "version": "4.2.1", 4 4 "description": "WordPress is web software you can use to create a beautiful website or blog.", 5 5 "repository": { -
branches/4.2/src/readme.html
r32307 r32311 10 10 <h1 id="logo"> 11 11 <a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a> 12 <br /> Version 4.2 12 <br /> Version 4.2.1 13 13 </h1> 14 14 <p style="text-align: center">Semantic Personal Publishing Platform</p> -
branches/4.2/src/wp-admin/about.php
r32307 r32311 40 40 </a> 41 41 </h2> 42 43 <div class="changelog point-releases"> 44 <h3><?php echo _n( 'Security Release', 'Security Releases', 1 ); ?></h3> 45 <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.', 46 '<strong>Version %1$s</strong> addressed some security issues.', 1 ), '4.2.1' ); ?> 47 <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_4.2.1' ); ?> 48 </p> 49 </div> 42 50 43 51 <div class="headline-feature feature-video"> -
branches/4.2/src/wp-admin/includes/upgrade.php
r32307 r32311 527 527 if ( $wp_current_db_version < 31351 ) 528 528 upgrade_420(); 529 530 if ( $wp_current_db_version < 31533 ) 531 upgrade_421(); 529 532 530 533 maybe_disable_link_manager(); … … 1437 1440 1438 1441 /** 1442 * Execute changes made in WordPress 4.2.1. 1443 * 1444 * @since 4.2.1 1445 */ 1446 function upgrade_421() { 1447 global $wp_current_db_version, $wpdb; 1448 1449 if ( $wp_current_db_version < 31533 ) { 1450 $content_length = $wpdb->get_col_length( $wpdb->comments, 'comment_content' ); 1451 if ( ! $content_length ) { 1452 $content_length = 65535; 1453 } 1454 1455 $comments = $wpdb->get_results( 1456 "SELECT comment_ID FROM $wpdb->comments 1457 WHERE comment_date_gmt > '2015-04-26' 1458 AND CHAR_LENGTH( comment_content ) >= $content_length 1459 AND ( comment_content LIKE '%<%' OR comment_content LIKE '%>%' )" 1460 ); 1461 1462 foreach ( $comments as $comment ) { 1463 wp_delete_comment( $comment->comment_ID, true ); 1464 } 1465 } 1466 } 1467 1468 /** 1439 1469 * Executes network-level upgrade routines. 1440 1470 * -
branches/4.2/src/wp-includes/version.php
r32307 r32311 5 5 * @global string $wp_version 6 6 */ 7 $wp_version = '4.2.1- alpha-src';7 $wp_version = '4.2.1-src'; 8 8 9 9 /** … … 12 12 * @global int $wp_db_version 13 13 */ 14 $wp_db_version = 3153 2;14 $wp_db_version = 31533; 15 15 16 16 /**
Note: See TracChangeset
for help on using the changeset viewer.