Changeset 21823
- Timestamp:
- 09/11/2012 10:22:20 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms-deprecated.php
r20029 r21823 75 75 return array_map( 'intval', WP_Theme::get_allowed_on_site( $blog_id ) ); 76 76 } 77 78 function ms_deprecated_blogs_file() {} -
trunk/wp-admin/includes/ms.php
r21813 r21823 91 91 $wpdb->delete( $wpdb->blogs, array( 'blog_id' => $blog_id ) ); 92 92 93 $dir = apply_filters( 'wpmu_delete_blog_upload_dir', WP_CONTENT_DIR . "/blogs.dir/{$blog_id}/files/", $blog_id ); 93 $uploads = wp_upload_dir(); 94 $dir = apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $blog_id ); 94 95 $dir = rtrim( $dir, DIRECTORY_SEPARATOR ); 95 96 $top_dir = $dir; … … 358 359 // Allow for an alternative way of tracking storage space used 359 360 $space_used = apply_filters( 'pre_get_space_used', false ); 360 if ( false === $space_used ) 361 $space_used = get_dirsize( BLOGUPLOADDIR ) / 1024 / 1024; 361 if ( false === $space_used ) { 362 $upload_dir = wp_upload_dir(); 363 $space_used = get_dirsize( $upload_dir['basedir'] ) / 1024 / 1024; 364 } 362 365 363 366 return $space_used; … … 683 686 } 684 687 685 function ms_deprecated_blogs_file() {686 if ( ! is_super_admin() )687 return;688 if ( ! file_exists( WP_CONTENT_DIR . '/blogs.php' ) )689 return;690 echo '<div class="update-nag">' . sprintf( __( 'The <code>%1$s</code> file is deprecated. Please remove it and update your server rewrite rules to use <code>%2$s</code> instead.' ), 'wp-content/blogs.php', 'wp-includes/ms-files.php' ) . '</div>';691 }692 add_action( 'network_admin_notices', 'ms_deprecated_blogs_file' );693 694 688 /** 695 689 * Grants super admin privileges. -
trunk/wp-admin/includes/schema.php
r21818 r21823 913 913 'subdomain_install' => intval( $subdomain_install ), 914 914 'global_terms_enabled' => global_terms_enabled() ? '1' : '0', 915 'ms_files_rewriting' => is_multisite() ? get_site_option( 'ms_files_rewriting' ) : '0', 915 916 'initial_db_version' => get_option( 'initial_db_version' ), 916 917 'active_sitewide_plugins' => array(), … … 941 942 update_user_meta( $site_user->ID, 'source_domain', $domain ); 942 943 update_user_meta( $site_user->ID, 'primary_blog', $blog_id ); 943 if ( !$upload_path = get_option( 'upload_path' ) ) {944 $upload_path = substr( WP_CONTENT_DIR, strlen( ABSPATH ) ) . '/uploads';945 update_option( 'upload_path', $upload_path );946 }947 update_option( 'fileupload_url', get_option( 'siteurl' ) . '/' . $upload_path );948 944 } 949 945 -
trunk/wp-admin/includes/upgrade.php
r21818 r21823 1272 1272 } 1273 1273 } 1274 1275 // 3.5 1276 if ( $wp_current_db_version < 21823 ) 1277 update_site_option( 'ms_files_rewriting', '1' ); 1274 1278 } 1275 1279 -
trunk/wp-admin/network.php
r19956 r21823 107 107 '<p>' . __('Choose subdomains or subdirectories; this can only be switched afterwards by reconfiguring your install. Fill out the network details, and click install. If this does not work, you may have to add a wildcard DNS record (for subdomains) or change to another setting in Permalinks (for subdirectories).') . '</p>' . 108 108 '<p>' . __('The next screen for Network Setup will give you individually-generated lines of code to add to your wp-config.php and .htaccess files. Make sure the settings of your FTP client make files starting with a dot visible, so that you can find .htaccess; you may have to create this file if it really is not there. Make backup copies of those two files.') . '</p>' . 109 '<p>' . __('Add a <code>blogs.dir</code> directory under <code>/wp-content</code> and addthe designated lines of code to wp-config.php (just before <code>/*...stop editing...*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).') . '</p>' .109 '<p>' . __('Add the designated lines of code to wp-config.php (just before <code>/*...stop editing...*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).') . '</p>' . 110 110 '<p>' . __('Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar.') . '</p>' . 111 111 '<p>' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with “/blog/” from the main site. This disabling will be addressed in a future version.') . '</p>' . … … 190 190 $error_codes = $errors->get_error_codes(); 191 191 } 192 193 if ( WP_CONTENT_DIR != ABSPATH . 'wp-content' )194 echo '<div class="error"><p><strong>' . __('Warning!') . '</strong> ' . __( 'Networks may not be fully compatible with custom wp-content directories.' ) . '</p></div>';195 192 196 193 $site_name = ( ! empty( $_POST['sitename'] ) && ! in_array( 'empty_sitename', $error_codes ) ) ? $_POST['sitename'] : sprintf( _x('%s Sites', 'Default network name' ), get_option( 'blogname' ) ); … … 236 233 endif; 237 234 235 if ( WP_CONTENT_DIR != ABSPATH . 'wp-content' && ( allow_subdirectory_install() || ! allow_subdomain_install() ) ) 236 echo '<div class="error inline"><p><strong>' . __('Warning!') . '</strong> ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</p></div>'; 237 238 238 $is_www = ( 0 === strpos( $hostname, 'www.' ) ); 239 239 if ( $is_www ) : … … 361 361 ?> 362 362 <ol> 363 <li><p><?php364 printf( __( 'Create a <code>blogs.dir</code> directory at <code>%s/blogs.dir</code>. This directory is used to store uploaded media for your additional sites and must be writeable by the web server.' ), WP_CONTENT_DIR );365 if ( WP_CONTENT_DIR != ABSPATH . 'wp-content' )366 echo ' <strong>' . __('Warning:') . ' ' . __( 'Networks may not be fully compatible with custom wp-content directories.' ) . '</strong>';367 ?></p></li>368 363 <li><p><?php printf( __( 'Add the following to your <code>wp-config.php</code> file in <code>%s</code> <strong>above</strong> the line reading <code>/* That’s all, stop editing! Happy blogging. */</code>:' ), ABSPATH ); ?></p> 369 364 <textarea class="code" readonly="readonly" cols="100" rows="7"> … … 416 411 <match url="^index\.php$" ignoreCase="false" /> 417 412 <action type="None" /> 418 </rule> 419 <rule name="WordPress Rule 2" stopProcessing="true"> 413 </rule>'; 414 if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) { 415 $web_config_file .= ' 416 <rule name="WordPress Rule for Files" stopProcessing="true"> 420 417 <match url="^files/(.+)" ignoreCase="false" /> 421 418 <action type="Rewrite" url="wp-includes/ms-files.php?file={R:1}" appendQueryString="false" /> 422 </rule> 423 <rule name="WordPress Rule 3" stopProcessing="true"> 419 </rule>'; 420 } 421 $web_config_file .= ' 422 <rule name="WordPress Rule 2" stopProcessing="true"> 424 423 <match url="^" ignoreCase="false" /> 425 424 <conditions logicalGrouping="MatchAny"> … … 429 428 <action type="None" /> 430 429 </rule> 431 <rule name="WordPress Rule 4" stopProcessing="true">430 <rule name="WordPress Rule 3" stopProcessing="true"> 432 431 <match url="." ignoreCase="false" /> 433 432 <action type="Rewrite" url="index.php" /> … … 447 446 <match url="^index\.php$" ignoreCase="false" /> 448 447 <action type="None" /> 449 </rule> 448 </rule>'; 449 if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) { 450 $web_config_file .= ' 451 <rule name="WordPress Rule for Files" stopProcessing="true"> 452 <match url="^files/(.+)" ignoreCase="false" /> 453 <action type="Rewrite" url="wp-includes/ms-files.php?file={R:1}" appendQueryString="false" /> 454 </rule>'; 455 } 456 $web_config_file .= ' 450 457 <rule name="WordPress Rule 2" stopProcessing="true"> 451 <match url="^([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false" />452 <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false" />453 </rule>454 <rule name="WordPress Rule 3" stopProcessing="true">455 458 <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" /> 456 459 <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" /> 457 460 </rule> 458 <rule name="WordPress Rule 4" stopProcessing="true">461 <rule name="WordPress Rule 3" stopProcessing="true"> 459 462 <match url="^" ignoreCase="false" /> 460 463 <conditions logicalGrouping="MatchAny"> … … 464 467 <action type="None" /> 465 468 </rule> 466 <rule name="WordPress Rule 5" stopProcessing="true">469 <rule name="WordPress Rule 4" stopProcessing="true"> 467 470 <match url="^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*)" ignoreCase="false" /> 468 471 <action type="Rewrite" url="{R:1}" /> 469 472 </rule> 470 <rule name="WordPress Rule 6" stopProcessing="true">473 <rule name="WordPress Rule 5" stopProcessing="true"> 471 474 <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> 472 475 <action type="Rewrite" url="{R:2}" /> 473 476 </rule> 474 <rule name="WordPress Rule 7" stopProcessing="true">477 <rule name="WordPress Rule 6" stopProcessing="true"> 475 478 <match url="." ignoreCase="false" /> 476 479 <action type="Rewrite" url="index.php" /> … … 483 486 ?> 484 487 <li><p><?php printf( __( 'Add the following to your <code>web.config</code> file in <code>%s</code>, replacing other WordPress rules:' ), ABSPATH ); ?></p> 485 <textarea class="code" readonly="readonly" cols="100" rows="20"> 486 <?php echo esc_textarea( $web_config_file ); ?> 488 <?php 489 if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' ) 490 echo '<p><strong>' . __('Warning:') . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</strong></p>'; 491 ?> 492 <textarea class="code" readonly="readonly" cols="100" rows="20"><?php echo esc_textarea( $web_config_file ); ?> 487 493 </textarea></li> 488 494 </ol> … … 492 498 $htaccess_file = 'RewriteEngine On 493 499 RewriteBase ' . $base . ' 494 RewriteRule ^index\.php$ - [L] 495 496 # uploaded files 497 RewriteRule ^' . ( $subdomain_install ? '' : '([_0-9a-zA-Z-]+/)?' ) . 'files/(.+) wp-includes/ms-files.php?file=$' . ( $subdomain_install ? 1 : 2 ) . ' [L]' . "\n"; 500 RewriteRule ^index\.php$ - [L]' . "\n"; 501 502 if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) { 503 $htaccess_file .= "\n# uploaded files\nRewriteRule ^"; 504 $htaccess_file .= ( $subdomain_install ? '' : '([_0-9a-zA-Z-]+/)?' ) . 'files/(.+) wp-includes/ms-files.php?file=$' . ( $subdomain_install ? 1 : 2 ) . ' [L]' . "\n"; 505 } 498 506 499 507 if ( ! $subdomain_install ) … … 512 520 ?> 513 521 <li><p><?php printf( __( 'Add the following to your <code>.htaccess</code> file in <code>%s</code>, replacing other WordPress rules:' ), ABSPATH ); ?></p> 514 <textarea class="code" readonly="readonly" cols="100" rows="<?php echo $subdomain_install ? 11 : 16; ?>"> 522 <?php 523 if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' ) 524 echo '<p><strong>' . __('Warning:') . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</strong></p>'; 525 ?> 526 <textarea class="code" readonly="readonly" cols="100" rows="<?php echo substr_count( $htaccess_file, "\n" ) + 1; ?>"> 515 527 <?php echo esc_textarea( $htaccess_file ); ?></textarea></li> 516 528 </ol> -
trunk/wp-includes/functions.php
r21822 r21823 1433 1433 */ 1434 1434 function wp_upload_dir( $time = null ) { 1435 global $_wp_switched;1436 1435 $siteurl = get_option( 'siteurl' ); 1437 $upload_path = get_option( 'upload_path' ); 1438 $upload_path = trim($upload_path); 1439 $main_override = is_multisite() && defined( 'MULTISITE' ) && is_main_site(); 1440 if ( empty($upload_path) ) { 1436 $upload_path = trim( get_option( 'upload_path' ) ); 1437 1438 if ( empty( $upload_path ) || 'wp-content/uploads' == $upload_path ) { 1441 1439 $dir = WP_CONTENT_DIR . '/uploads'; 1440 } elseif ( 0 !== strpos( $upload_path, ABSPATH ) ) { 1441 // $dir is absolute, $upload_path is (maybe) relative to ABSPATH 1442 $dir = path_join( ABSPATH, $upload_path ); 1442 1443 } else { 1443 1444 $dir = $upload_path; 1444 if ( 'wp-content/uploads' == $upload_path ) {1445 $dir = WP_CONTENT_DIR . '/uploads';1446 } elseif ( 0 !== strpos($dir, ABSPATH) ) {1447 // $dir is absolute, $upload_path is (maybe) relative to ABSPATH1448 $dir = path_join( ABSPATH, $dir );1449 }1450 1445 } 1451 1446 … … 1457 1452 } 1458 1453 1459 if ( defined( 'UPLOADS') && ! $main_override && ! $_wp_switched) {1454 if ( defined( 'UPLOADS' ) ) { 1460 1455 $dir = ABSPATH . UPLOADS; 1461 1456 $url = trailingslashit( $siteurl ) . UPLOADS; 1462 1457 } 1463 1458 1464 if ( is_multisite() && ! $main_override && ! $_wp_switched ) { 1465 if ( defined( 'BLOGUPLOADDIR' ) ) 1466 $dir = untrailingslashit(BLOGUPLOADDIR); 1467 $url = str_replace( UPLOADS, 'files', $url ); 1459 // Multisite (if not the main site in a post-MU network) 1460 if ( is_multisite() && ! ( is_main_site() && defined( 'MULTISITE' ) ) ) { 1461 if ( ! get_site_option( 'ms_files_rewriting' ) ) { 1462 // Append sites/%d if we're not on the main site (for post-MU networks). 1463 $ms_dir = '/sites/' . get_current_blog_id(); 1464 $dir .= $ms_dir; 1465 $url .= $ms_dir; 1466 } elseif ( ! ms_is_switched() ) { 1467 // Handle the old-form ms-files.php rewriting if the network still has that enabled. 1468 if ( defined( 'BLOGUPLOADDIR' ) ) 1469 $dir = untrailingslashit( BLOGUPLOADDIR ); 1470 $url = str_replace( UPLOADS, 'files', $url ); 1471 } 1468 1472 } 1469 1473 -
trunk/wp-includes/ms-default-constants.php
r19712 r21823 11 11 * Defines Multisite upload constants. 12 12 * 13 * Exists for backward compatibility with legacy file-serving through 14 * wp-includes/ms-files.php (wp-content/blogs.php in MU). 15 * 13 16 * @since 3.0.0 14 17 */ 15 function ms_upload_constants( 18 function ms_upload_constants() { 16 19 global $wpdb; 20 21 if ( ! get_site_option( 'ms_files_rewriting' ) ) 22 return; 17 23 18 24 /** @since 3.0.0 */ … … 25 31 // Uploads dir relative to ABSPATH 26 32 define( 'UPLOADS', UPLOADBLOGSDIR . "/{$wpdb->blogid}/files/" ); 27 if ( 'wp-content/blogs.dir' == UPLOADBLOGSDIR )33 if ( 'wp-content/blogs.dir' == UPLOADBLOGSDIR && ! defined( 'BLOGUPLOADDIR' ) ) 28 34 define( 'BLOGUPLOADDIR', WP_CONTENT_DIR . "/blogs.dir/{$wpdb->blogid}/files/" ); 29 35 } … … 75 81 * Defines Multisite file constants. 76 82 * 83 * Exists for backward compatibility with legacy file-serving through 84 * wp-includes/ms-files.php (wp-content/blogs.php in MU). 85 * 77 86 * @since 3.0.0 78 87 */ 79 function ms_file_constants( 88 function ms_file_constants() { 80 89 /** 81 90 * Optional support for X-Sendfile header -
trunk/wp-includes/ms-default-filters.php
r21256 r21823 62 62 remove_filter( 'option_siteurl', '_config_wp_siteurl' ); 63 63 remove_filter( 'option_home', '_config_wp_home' ); 64 65 // If the network upgrade hasn't run yet, assume ms-files.php rewriting is used. 66 add_filter( 'default_site_option_ms_files_rewriting', '__return_true' ); -
trunk/wp-includes/ms-functions.php
r21664 r21823 1121 1121 */ 1122 1122 function install_blog($blog_id, $blog_title = '') { 1123 global $wpdb, $table_prefix, $wp_roles; 1124 $wpdb->suppress_errors(); 1123 global $wpdb, $wp_roles, $current_site; 1125 1124 1126 1125 // Cast for security … … 1130 1129 1131 1130 if ( $wpdb->get_results("SELECT ID FROM $wpdb->posts") ) 1132 die(__('<h1>Already Installed</h1><p>You appear to have already installed WordPress. To reinstall please clear your old database tables first.</p>') . '</body></html>'); 1133 1134 $wpdb->suppress_errors(false); 1135 1136 $url = get_blogaddress_by_id($blog_id); 1131 die( __( '<h1>Already Installed</h1><p>You appear to have already installed WordPress. To reinstall please clear your old database tables first.</p>' ) . '</body></html>' ); 1132 1133 $url = get_blogaddress_by_id( $blog_id ); 1137 1134 1138 1135 // Set everything up … … 1143 1140 1144 1141 $url = untrailingslashit( $url ); 1145 // fix url. 1146 update_option('siteurl', $url); 1147 update_option('home', $url); 1148 update_option('fileupload_url', $url . "/files" ); 1149 update_option('upload_path', UPLOADBLOGSDIR . "/$blog_id/files"); 1150 update_option('blogname', stripslashes( $blog_title ) ); 1151 update_option('admin_email', ''); 1152 $wpdb->update( $wpdb->options, array('option_value' => ''), array('option_name' => 'admin_email') ); 1142 1143 update_option( 'siteurl', $url ); 1144 update_option( 'home', $url ); 1145 1146 if ( get_site_option( 'ms_files_rewriting' ) ) 1147 update_option( 'upload_path', UPLOADBLOGSDIR . "/$blog_id/files" ); 1148 else 1149 update_option( 'upload_path', get_blog_option( $current_site->blog_id, 'upload_path' ) ); 1150 1151 update_option( 'blogname', stripslashes( $blog_title ) ); 1152 update_option( 'admin_email', '' ); 1153 1153 1154 1154 // remove all perms 1155 $wpdb->delete( $wpdb->usermeta, array( 'meta_key' => $table_prefix.'user_level' ) ); 1156 1157 $wpdb->delete( $wpdb->usermeta, array( 'meta_key' => $table_prefix.'capabilities' ) ); 1158 1159 $wpdb->suppress_errors( false ); 1155 $table_prefix = $wpdb->get_blog_prefix(); 1156 delete_metadata( 'user', 0, $table_prefix . 'user_level', null, true ); // delete all 1157 delete_metadata( 'user', 0, $table_prefix . 'capabilities', null, true ); // delete all 1160 1158 } 1161 1159 -
trunk/wp-includes/option.php
r20784 r21823 175 175 $site_id = $wpdb->siteid; 176 176 177 $core_options = array('site_name', 'siteurl', 'active_sitewide_plugins', '_site_transient_timeout_theme_roots', '_site_transient_theme_roots', 'site_admins', 'can_compress_scripts', 'global_terms_enabled' );177 $core_options = array('site_name', 'siteurl', 'active_sitewide_plugins', '_site_transient_timeout_theme_roots', '_site_transient_theme_roots', 'site_admins', 'can_compress_scripts', 'global_terms_enabled', 'ms_files_rewriting' ); 178 178 179 179 $core_options_in = "'" . implode("', '", $core_options) . "'"; -
trunk/wp-includes/rewrite.php
r21819 r21823 1743 1743 if (is_subdomain_install()) { 1744 1744 $rules .= ' 1745 <rule name=" wordpress -Rule 1" stopProcessing="true">1745 <rule name="WordPress Rule 1" stopProcessing="true"> 1746 1746 <match url="^index\.php$" ignoreCase="false" /> 1747 1747 <action type="None" /> 1748 </rule> 1749 <rule name="wordpress - Rule 2" stopProcessing="true"> 1748 </rule>'; 1749 if ( get_site_option( 'ms_files_rewriting' ) ) { 1750 $rules .= ' 1751 <rule name="WordPress Rule for Files" stopProcessing="true"> 1750 1752 <match url="^files/(.+)" ignoreCase="false" /> 1751 1753 <action type="Rewrite" url="wp-includes/ms-files.php?file={R:1}" appendQueryString="false" /> 1752 </rule> 1753 <rule name="wordpress - Rule 3" stopProcessing="true"> 1754 </rule>'; 1755 } 1756 $rules .= ' 1757 <rule name="WordPress Rule 2" stopProcessing="true"> 1754 1758 <match url="^" ignoreCase="false" /> 1755 1759 <conditions logicalGrouping="MatchAny"> … … 1759 1763 <action type="None" /> 1760 1764 </rule> 1761 <rule name=" wordpress - Rule 4" stopProcessing="true">1765 <rule name="WordPress Rule 3" stopProcessing="true"> 1762 1766 <match url="." ignoreCase="false" /> 1763 1767 <action type="Rewrite" url="index.php" /> … … 1765 1769 } else { 1766 1770 $rules .= ' 1767 <rule name=" wordpress -Rule 1" stopProcessing="true">1771 <rule name="WordPress Rule 1" stopProcessing="true"> 1768 1772 <match url="^index\.php$" ignoreCase="false" /> 1769 1773 <action type="None" /> 1770 </rule> 1771 <rule name="wordpress - Rule 2" stopProcessing="true"> 1774 </rule>'; 1775 if ( get_site_option( 'ms_files_rewriting' ) ) { 1776 $rules .= ' 1777 <rule name="WordPress Rule for Files" stopProcessing="true"> 1772 1778 <match url="^([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false" /> 1773 1779 <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false" /> 1774 </rule> 1775 <rule name="wordpress - Rule 3" stopProcessing="true"> 1780 </rule>'; 1781 } 1782 $rules .= ' 1783 <rule name="WordPress Rule 2" stopProcessing="true"> 1776 1784 <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" /> 1777 1785 <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" /> 1778 1786 </rule> 1779 <rule name=" wordpress - Rule 4" stopProcessing="true">1787 <rule name="WordPress Rule 3" stopProcessing="true"> 1780 1788 <match url="^" ignoreCase="false" /> 1781 1789 <conditions logicalGrouping="MatchAny"> … … 1785 1793 <action type="None" /> 1786 1794 </rule> 1787 <rule name=" wordpress - Rule 5" stopProcessing="true">1795 <rule name="WordPress Rule 4" stopProcessing="true"> 1788 1796 <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> 1789 1797 <action type="Rewrite" url="{R:1}" /> 1790 1798 </rule> 1791 <rule name=" wordpress - Rule 6" stopProcessing="true">1799 <rule name="WordPress Rule 5" stopProcessing="true"> 1792 1800 <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> 1793 1801 <action type="Rewrite" url="{R:2}" /> 1794 1802 </rule> 1795 <rule name=" wordpress - Rule 7" stopProcessing="true">1803 <rule name="WordPress Rule 6" stopProcessing="true"> 1796 1804 <match url="." ignoreCase="false" /> 1797 1805 <action type="Rewrite" url="index.php" /> -
trunk/wp-includes/version.php
r21818 r21823 12 12 * @global int $wp_db_version 13 13 */ 14 $wp_db_version = 218 18;14 $wp_db_version = 21823; 15 15 16 16 /**
Note: See TracChangeset
for help on using the changeset viewer.