Changeset 20944
- Timestamp:
- 05/27/2012 04:25:43 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/about.php
r20879 r20944 49 49 <div class="changelog"> 50 50 <h3><?php _e( 'Custom Headers' ); ?></h3> 51 51 52 52 <div class="feature-section"> 53 53 <h4><?php _e( 'Flexible Sizes' ); ?></h4> … … 83 83 <h4><?php _e( 'Themes API' ); ?></h4> 84 84 <p><?php _e( 'WP_Theme, wp_get_themes(), wp_get_theme(). Faster, uses less memory, makes use of persistent caching.' ); ?></p> 85 85 86 86 <h4><?php _e( 'Faster Main Query' ); ?></h4> 87 87 <p><?php _e( 'Post query optimized to avoid table scans.' ); ?></p> … … 90 90 <h4><?php _e( 'Custom Header and Background API' ); ?></h4> 91 91 <p><?php _e( 'Custom header and background API relocated into the theme support API.' ); ?></p> 92 92 93 93 <h4><?php _e( 'Faster Translations' ); ?></h4> 94 94 <p><?php _e( 'The number of strings loaded on the front end was greatly reduced, resulting in faster front page load times for localized installations.' ); ?></p> … … 97 97 <h4><?php _e( 'WP_Screen API' ); ?></h4> 98 98 <p><?php _e( 'More methods, more convenience!' ); ?></p> 99 99 100 100 <h4><?php _e( 'External Libraries' ); ?></h4> 101 101 <p><?php _e( 'jQuery, jQuery UI, TinyMCE, Plupload, PHPMailer, SimplePie, and other libraries were updated. jQuery UI Touch Punch was introduced.' ); ?></p> -
trunk/wp-admin/custom-header.php
r20885 r20944 112 112 '<p>' . __( 'You can choose from the theme’s default header images, or use one of your own. You can also customize how your Site Title and Tagline are displayed.') . '<p>' 113 113 ) ); 114 114 115 115 get_current_screen()->add_help_tab( array( 116 116 'id' => 'set-header-image', … … 122 122 '<p>' . __( 'If you don’t want a header image to be displayed on your site at all, click the “Remove Header Image” button at the bottom of the Header Image section of this page. If you want to re-enable the header image later, you just have to select one of the other image options and click “Save Changes”.') . '</p>' 123 123 ) ); 124 124 125 125 get_current_screen()->add_help_tab( array( 126 126 'id' => 'set-header-text', -
trunk/wp-admin/includes/image.php
r20808 r20944 441 441 function _copy_image_file( $attachment_id ) { 442 442 $dst_file = $src_file = get_attached_file( $attachment_id ); 443 if ( ! file_exists( $src_file ) ) 443 if ( ! file_exists( $src_file ) ) 444 444 $src_file = _load_image_to_edit_path( $attachment_id ); 445 445 446 446 if ( $src_file ) { 447 447 $dst_file = str_replace( basename( $dst_file ), 'copy-' . basename( $dst_file ), $dst_file ); 448 $dst_file = dirname( $dst_file ) . '/' . wp_unique_filename( dirname( $dst_file ), basename( $dst_file ) ); 448 $dst_file = dirname( $dst_file ) . '/' . wp_unique_filename( dirname( $dst_file ), basename( $dst_file ) ); 449 449 if ( ! @copy( $src_file, $dst_file ) ) 450 450 $dst_file = false; -
trunk/wp-admin/js/custom-background.dev.js
r20901 r20944 17 17 18 18 $(document).ready(function() { 19 19 20 20 $('#pickcolor').click(function() { 21 21 $('#colorPickerDiv').show(); 22 22 return false; 23 23 }); 24 24 25 25 $('#clearcolor a').click( function(e) { 26 26 pickColor( $('#defaultcolor').val(), true ); 27 27 e.preventDefault(); 28 28 }); 29 29 30 30 $('#background-color').keyup(function() { 31 31 var _hex = $('#background-color').val(), hex = _hex; … … 38 38 pickColor( hex ); 39 39 }); 40 40 41 41 $('input[name="background-position-x"]').change(function() { 42 42 $('#custom-background-image').css('background-position', $(this).val() + ' top'); 43 43 }); 44 44 45 45 $('input[name="background-repeat"]').change(function() { 46 46 $('#custom-background-image').css('background-repeat', $(this).val()); 47 47 }); 48 48 49 49 farbtastic = $.farbtastic('#colorPickerDiv', function(color) { 50 50 pickColor(color); 51 51 }); 52 52 pickColor($('#background-color').val()); 53 53 54 54 $(document).mousedown(function(){ 55 55 $('#colorPickerDiv').each(function(){ -
trunk/wp-admin/theme-install.php
r20736 r20944 37 37 do_action('install_themes_pre_' . $tab); //Used to override the general interface, Eg, install or theme information. 38 38 39 $help_overview = 39 $help_overview = 40 40 '<p>' . sprintf(__('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.'), 'http://wordpress.org/extend/themes/') . '</p>' . 41 41 '<p>' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Newest, or Recently Updated. When you find a theme you like, you can preview it or install it.') . '</p>' . -
trunk/wp-includes/formatting.php
r20859 r20944 2144 2144 $original_text = $text; 2145 2145 $text = wp_strip_all_tags( $text ); 2146 /* translators: If your word count is based on single characters (East Asian characters), 2147 enter 'characters'. Otherwise, enter 'words'. Do not translate into your own language. */ 2146 /* translators: If your word count is based on single characters (East Asian characters), 2147 enter 'characters'. Otherwise, enter 'words'. Do not translate into your own language. */ 2148 2148 if ( 'characters' == _x( 'words', 'word count: words or characters?' ) && preg_match( '/^utf\-?8$/i', get_option( 'blog_charset' ) ) ) { 2149 2149 $text = trim( preg_replace( "/[\n\r\t ]+/", ' ', $text ), ' ' ); -
trunk/wp-includes/link-template.php
r20828 r20944 2202 2202 * 2203 2203 * @since 3.4.0 2204 * 2204 * 2205 2205 * @param string $url Absolute url that includes a scheme 2206 2206 * @param string $scheme Optional. Scheme to give $url. Currently 'http', 'https', 'login', 'login_post', 'admin', or 'relative'.
Note: See TracChangeset
for help on using the changeset viewer.