Ticket #14245: blog-now-news.diff
File blog-now-news.diff, 3.0 KB (added by , 14 years ago) |
---|
-
wp-includes/version.php
15 15 * 16 16 * @global int $wp_db_version 17 17 */ 18 $wp_db_version = 15 260;18 $wp_db_version = 15381; 19 19 20 20 /** 21 21 * Holds the TinyMCE version -
wp-admin/includes/upgrade.php
152 152 'link_rss' => '', 153 153 'link_notes' => ''); 154 154 155 $default_links[] = array( 'link_url' => 'http://wordpress.org/ development/',155 $default_links[] = array( 'link_url' => 'http://wordpress.org/news/', 156 156 'link_name' => 'WordPress Blog', 157 'link_rss' => 'http://wordpress.org/ development/feed/',157 'link_rss' => 'http://wordpress.org/news/feed/', 158 158 'link_notes' => ''); 159 159 160 160 $default_links[] = array( 'link_url' => 'http://wordpress.org/extend/ideas/', … … 440 440 if ( $wp_current_db_version < 11958 ) 441 441 upgrade_290(); 442 442 443 if ( $wp_current_db_version < 15 260)443 if ( $wp_current_db_version < 15381 ) 444 444 upgrade_300(); 445 445 446 446 maybe_disable_automattic_widgets(); … … 1136 1136 OR meta_key = 'manageedittagscolumnshidden' OR meta_key='managecategoriescolumnshidden' OR meta_key = 'manageedit-tagscolumnshidden' OR meta_key = 'manageeditcolumnshidden' OR meta_key = 'categories_per_page' OR meta_key = 'edit_tags_per_page'" ); 1137 1137 } 1138 1138 1139 if ( $wp_current_db_version < 15381 ) { 1140 $wpdb->query( "UPDATE $wpdb->links SET link_name = 'WordPress News' WHERE link_url = 'http://wordpress.org/development/' AND link_name IN ( 'Development Blog', 'WordPress Blog' )" ); 1141 $wpdb->update( $wpdb->links, array( 'link_url' => 'http://wordpress.org/news/' ), array( 'link_url' => 'http://wordpress.org/development/' ) ); 1142 $wpdb->update( $wpdb->links, array( 'link_rss' => 'http://wordpress.org/news/feed/' ), array( 'link_rss' => 'http://wordpress.org/development/feed/' ) ); 1143 } 1144 1139 1145 } 1140 1146 1141 1147 /** -
wp-admin/includes/dashboard.php
67 67 if ( !isset( $widget_options['dashboard_primary'] ) ) { 68 68 $update = true; 69 69 $widget_options['dashboard_primary'] = array( 70 'link' => apply_filters( 'dashboard_primary_link', __( 'http://wordpress.org/ development/' ) ),71 'url' => apply_filters( 'dashboard_primary_feed', __( 'http://wordpress.org/ development/feed/' ) ),72 'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress Blog' ) ),70 'link' => apply_filters( 'dashboard_primary_link', __( 'http://wordpress.org/news/' ) ), 71 'url' => apply_filters( 'dashboard_primary_feed', __( 'http://wordpress.org/news/feed/' ) ), 72 'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress News' ) ), 73 73 'items' => 2, 74 74 'show_summary' => 1, 75 75 'show_author' => 0,