Ticket #18629: 18629.patch

File 18629.patch, 531 bytes (added by SergeyBiryukov, 21 months ago)
  • wp-includes/version.php

     
    66 */ 
    77$wp_version = '3.3-aortic-dissection'; 
    88 
     9if ( is_admin() && file_exists( ABSPATH . '.svn/entries' ) ) { 
     10        $svn = file( ABSPATH . '.svn/entries' ); 
     11        $wp_version .= '-r' . trim( $svn[3] ); 
     12        unset($svn); 
     13} 
     14 
    915/** 
    1016 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. 
    1117 *