]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/default-constants.php
WordPress 3.8
[autoinstalls/wordpress.git] / wp-includes / default-constants.php
index bc6c79a80b382dfa3b6e0424a93872bab789e1f2..4f135c82ebce21769946ac2b12222914799e7ed3 100644 (file)
@@ -42,10 +42,10 @@ function wp_initial_constants() {
        if ( function_exists( 'memory_get_usage' ) ) {
                $current_limit = @ini_get( 'memory_limit' );
                $current_limit_int = intval( $current_limit );
-               if ( false !== stripos( $current_limit, 'G' ) )
+               if ( false !== strpos( $current_limit, 'G' ) )
                        $current_limit_int *= 1024;
                $wp_limit_int = intval( WP_MEMORY_LIMIT );
-               if ( false !== stripos( WP_MEMORY_LIMIT, 'G' ) )
+               if ( false !== strpos( WP_MEMORY_LIMIT, 'G' ) )
                        $wp_limit_int *= 1024;
 
                if ( -1 != $current_limit && ( -1 == WP_MEMORY_LIMIT || $current_limit_int < $wp_limit_int ) )
@@ -311,6 +311,6 @@ function wp_templating_constants() {
         * @since 3.0.0
         */
        if ( !defined('WP_DEFAULT_THEME') )
-               define( 'WP_DEFAULT_THEME', 'twentythirteen' );
+               define( 'WP_DEFAULT_THEME', 'twentyfourteen' );
 
 }