Changeset 28274
- Timestamp:
- 05/06/2014 04:57:22 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r28251 r28274 1389 1389 global $wpdb, $m, $monthnum, $year, $wp_locale, $posts; 1390 1390 1391 $cache = array();1392 1391 $key = md5( $m . $monthnum . $year ); 1393 1392 if ( $cache = wp_cache_get( 'get_calendar', 'calendar' ) ) { … … 2245 2244 function wp_default_editor() { 2246 2245 $r = user_can_richedit() ? 'tinymce' : 'html'; // defaults 2247 if ( $user =wp_get_current_user() ) { // look for cookie2246 if ( wp_get_current_user() ) { // look for cookie 2248 2247 $ed = get_user_setting('editor', 'tinymce'); 2249 2248 $r = ( in_array($ed, array('tinymce', 'html', 'test') ) ) ? $ed : $r; … … 2346 2345 function language_attributes($doctype = 'html') { 2347 2346 $attributes = array(); 2348 $output = '';2349 2347 2350 2348 if ( function_exists( 'is_rtl' ) && is_rtl() ) … … 2454 2452 $r = ''; 2455 2453 $page_links = array(); 2456 $n = 0;2457 2454 $dots = false; 2458 2455
Note: See TracChangeset
for help on using the changeset viewer.