Changeset 6026 for trunk/wp-includes/general-template.php
- Timestamp:
- 09/03/2007 11:32:58 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r6025 r6026 65 65 66 66 /** 67 * Note: some of these values are DEPRECATED. Meaning they could be 68 * taken out at any time and shouldn't be relied upon. Options 69 * without "// DEPRECATED" are the preferred and recommended ways 67 * Note: some of these values are DEPRECATED. Meaning they could be 68 * taken out at any time and shouldn't be relied upon. Options 69 * without "// DEPRECATED" are the preferred and recommended ways 70 70 * to get the information. 71 71 */ … … 342 342 343 343 $defaults = array( 344 'type' => 'monthly', 'limit' => '', 345 'format' => 'html', 'before' => '', 344 'type' => 'monthly', 'limit' => '', 345 'format' => 'html', 'before' => '', 346 346 'after' => '', 'show_post_count' => false 347 347 ); … … 391 391 $url = get_month_link($arcresult->year, $arcresult->month); 392 392 $text = sprintf(__('%1$s %2$d'), $wp_locale->get_month($arcresult->month), $arcresult->year); 393 if ( $show_post_count ) 393 if ( $show_post_count ) 394 394 $after = ' ('.$arcresult->posts.')' . $afterafter; 395 395 echo get_archives_link($url, $text, $format, $before, $after); … … 837 837 838 838 if ( !isset( $wp_rich_edit) ) { 839 if ( get_user_option( 'rich_editing' ) == 'true' && 840 ( ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval($match[1]) >= 420 ) || 839 if ( get_user_option( 'rich_editing' ) == 'true' && 840 ( ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval($match[1]) >= 420 ) || 841 841 !preg_match( '!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT'] ) ) 842 842 && 'comment.php' != $pagenow ) { … … 902 902 var endPos = myField.selectionEnd; 903 903 myField.value = myField.value.substring(0, startPos) 904 + myValue 904 + myValue 905 905 + myField.value.substring(endPos, myField.value.length); 906 906 myField.focus(); … … 988 988 989 989 function paginate_links( $args = '' ) { 990 $defaults = array( 990 $defaults = array( 991 991 'base' => '%_%', // http://example.com/all_posts.php%_% : %_% is replaced by format (below) 992 992 'format' => '?page=%#%', // ?page=%#% : %#% is replaced by the page number … … 1073 1073 } else { 1074 1074 $_file = add_query_arg( 'version', get_bloginfo( 'version' ), get_option( 'siteurl' ) . "/wp-admin/$file.css" ); 1075 } 1075 } 1076 1076 return apply_filters( 'wp_admin_css_uri', $_file, $file ); 1077 1077 }
Note: See TracChangeset
for help on using the changeset viewer.