Changeset 16438 for trunk/wp-includes/functions.php
- Timestamp:
- 11/17/2010 06:47:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r16392 r16438 120 120 } 121 121 $timezone_formats = array( 'P', 'I', 'O', 'T', 'Z', 'e' ); 122 $timezone_formats_re = implode( '|', $timezone_formats ); 122 $timezone_formats_re = implode( '|', $timezone_formats ); 123 123 if ( preg_match( "/$timezone_formats_re/", $dateformatstring ) && wp_timezone_supported() ) { 124 124 $timezone_string = get_option( 'timezone_string' ); … … 133 133 $dateformatstring = substr( $dateformatstring, 1, strlen( $dateformatstring ) -1 ); 134 134 } 135 } 135 } 136 136 } 137 } 137 } 138 138 $j = @$datefunc( $dateformatstring, $i ); 139 139 // allow plugins to redo this entirely for languages with untypical grammars … … 1185 1185 function do_enclose( $content, $post_ID ) { 1186 1186 global $wpdb; 1187 1187 1188 1188 //TODO: Tidy this ghetto code up and make the debug code optional 1189 1189 include_once( ABSPATH . WPINC . '/class-IXR.php' );
Note: See TracChangeset
for help on using the changeset viewer.