Message info
 
To:wp-svn@lists.automattic.com From:m@wordpress.org Subject:[wp-svn] [20944] trunk: Shears of vigorous pinking. Date:Sun, 27 May 2012 16:25:43 +0000 (UTC)
 

Diff

Modified: trunk/wp-admin/about.php (20943 => 20944)


--- trunk/wp-admin/about.php	2012-05-27 07:58:23 UTC (rev 20943)
+++ trunk/wp-admin/about.php	2012-05-27 16:25:43 UTC (rev 20944)
@@ -48,7 +48,7 @@
 
 <div class="changelog">
 	<h3><?php _e( 'Custom Headers' ); ?></h3>
-	
+
 	<div class="feature-section">
 		<h4><?php _e( 'Flexible Sizes' ); ?></h4>
 		<p><?php _e( 'You can decide for yourself how tall or wide your custom header image should be. From now on, themes will provide a recommended image size for custom headers rather than a fixed requirement. Note: this feature requires <a href="http://codex.wordpress.org/Custom_Headers">theme support</a>.' ); ?></p>
@@ -82,21 +82,21 @@
 		<div>
 			<h4><?php _e( 'Themes API' ); ?></h4>
 			<p><?php _e( 'WP_Theme, wp_get_themes(), wp_get_theme(). Faster, uses less memory, makes use of persistent caching.' ); ?></p>
-			
+
 			<h4><?php _e( 'Faster Main Query' ); ?></h4>
 			<p><?php _e( 'Post query optimized to avoid table scans.' ); ?></p>
 		</div>
 		<div>
 			<h4><?php _e( 'Custom Header and Background API' ); ?></h4>
 			<p><?php  _e( 'Custom header and background API relocated into the theme support API.' ); ?></p>
-			
+
 			<h4><?php _e( 'Faster Translations' ); ?></h4>
 			<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>
 		</div>
 		<div class="last-feature">
 			<h4><?php _e( 'WP_Screen API' ); ?></h4>
 			<p><?php _e( 'More methods, more convenience!' ); ?></p>
-			
+
 			<h4><?php _e( 'External Libraries' ); ?></h4>
 			<p><?php _e( 'jQuery, jQuery UI, TinyMCE, Plupload, PHPMailer, SimplePie, and other libraries were updated. jQuery UI Touch Punch was introduced.' ); ?></p>
 		</div>

Modified: trunk/wp-admin/custom-header.php (20943 => 20944)


--- trunk/wp-admin/custom-header.php	2012-05-27 07:58:23 UTC (rev 20943)
+++ trunk/wp-admin/custom-header.php	2012-05-27 16:25:43 UTC (rev 20944)
@@ -111,7 +111,7 @@
 				'<p>' . __( 'This screen is used to customize the header section of your theme.') . '</p>' .
 				'<p>' . __( 'You can choose from the theme&#8217;s default header images, or use one of your own. You can also customize how your Site Title and Tagline are displayed.') . '<p>'
 		) );
-		
+
 		get_current_screen()->add_help_tab( array(
 			'id'      => 'set-header-image',
 			'title'   => __('Header Image'),
@@ -121,7 +121,7 @@
 				'<p>' . __( 'If your theme has more than one default header image, or you have uploaded more than one custom header image, you have the option of having WordPress display a randomly different image on each page of your site. Click the &#8220;Random&#8221; radio button next to the Uploaded Images or Default Images section to enable this feature.') . '</p>' .
 				'<p>' . __( 'If you don&#8217;t want a header image to be displayed on your site at all, click the &#8220;Remove Header Image&#8221; 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 &#8220;Save Changes&#8221;.') . '</p>'
 		) );
-		
+
 		get_current_screen()->add_help_tab( array(
 			'id'      => 'set-header-text',
 			'title'   => __('Header Text'),

Modified: trunk/wp-admin/includes/image.php (20943 => 20944)


--- trunk/wp-admin/includes/image.php	2012-05-27 07:58:23 UTC (rev 20943)
+++ trunk/wp-admin/includes/image.php	2012-05-27 16:25:43 UTC (rev 20944)
@@ -440,12 +440,12 @@
  */
 function _copy_image_file( $attachment_id ) {
 	$dst_file = $src_file = get_attached_file( $attachment_id );
-	if ( ! file_exists( $src_file ) ) 
+	if ( ! file_exists( $src_file ) )
 		$src_file = _load_image_to_edit_path( $attachment_id );
 
 	if ( $src_file ) {
 		$dst_file = str_replace( basename( $dst_file ), 'copy-' . basename( $dst_file ), $dst_file );
-		$dst_file = dirname( $dst_file ) . '/' . wp_unique_filename( dirname( $dst_file ), basename( $dst_file ) ); 
+		$dst_file = dirname( $dst_file ) . '/' . wp_unique_filename( dirname( $dst_file ), basename( $dst_file ) );
 		if ( ! @copy( $src_file, $dst_file ) )
 			$dst_file = false;
 	} else {

Modified: trunk/wp-admin/js/custom-background.dev.js (20943 => 20944)


--- trunk/wp-admin/js/custom-background.dev.js	2012-05-27 07:58:23 UTC (rev 20943)
+++ trunk/wp-admin/js/custom-background.dev.js	2012-05-27 16:25:43 UTC (rev 20944)
@@ -16,17 +16,17 @@
 	}
 
 	$(document).ready(function() {
-	
+
 		$('#pickcolor').click(function() {
 			$('#colorPickerDiv').show();
 			return false;
 		});
-	
+
 		$('#clearcolor a').click( function(e) {
 			pickColor( $('#defaultcolor').val(), true );
 			e.preventDefault();
 		});
-	
+
 		$('#background-color').keyup(function() {
 			var _hex = $('#background-color').val(), hex = _hex;
 			if ( hex.charAt(0) != '#' )
@@ -37,20 +37,20 @@
 			if ( hex.length == 4 || hex.length == 7 )
 				pickColor( hex );
 		});
-	
+
 		$('input[name="background-position-x"]').change(function() {
 			$('#custom-background-image').css('background-position', $(this).val() + ' top');
 		});
-	
+
 		$('input[name="background-repeat"]').change(function() {
 			$('#custom-background-image').css('background-repeat', $(this).val());
 		});
-	
+
 		farbtastic = $.farbtastic('#colorPickerDiv', function(color) {
 			pickColor(color);
 		});
 		pickColor($('#background-color').val());
-	
+
 		$(document).mousedown(function(){
 			$('#colorPickerDiv').each(function(){
 				var display = $(this).css('display');

Modified: trunk/wp-admin/theme-install.php (20943 => 20944)


--- trunk/wp-admin/theme-install.php	2012-05-27 07:58:23 UTC (rev 20943)
+++ trunk/wp-admin/theme-install.php	2012-05-27 16:25:43 UTC (rev 20944)
@@ -36,7 +36,7 @@
 
 do_action('install_themes_pre_' . $tab); //Used to override the general interface, Eg, install or theme information.
 
-$help_overview = 
+$help_overview =
 	'<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>' .
 	'<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>' .
 	'<p>' . __('You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme&#8217;s folder via FTP into your <code>/wp-content/themes</code> directory.') . '</p>';

Modified: trunk/wp-includes/formatting.php (20943 => 20944)


--- trunk/wp-includes/formatting.php	2012-05-27 07:58:23 UTC (rev 20943)
+++ trunk/wp-includes/formatting.php	2012-05-27 16:25:43 UTC (rev 20944)
@@ -2143,8 +2143,8 @@
 		$more = __( '&hellip;' );
 	$original_text = $text;
 	$text = wp_strip_all_tags( $text );
-	/* translators: If your word count is based on single characters (East Asian characters), 
-	   enter 'characters'. Otherwise, enter 'words'. Do not translate into your own language. */ 
+	/* translators: If your word count is based on single characters (East Asian characters),
+	   enter 'characters'. Otherwise, enter 'words'. Do not translate into your own language. */
 	if ( 'characters' == _x( 'words', 'word count: words or characters?' ) && preg_match( '/^utf\-?8$/i', get_option( 'blog_charset' ) ) ) {
 		$text = trim( preg_replace( "/[\n\r\t ]+/", ' ', $text ), ' ' );
 		preg_match_all( '/./u', $text, $words_array );

Modified: trunk/wp-includes/link-template.php (20943 => 20944)


--- trunk/wp-includes/link-template.php	2012-05-27 07:58:23 UTC (rev 20943)
+++ trunk/wp-includes/link-template.php	2012-05-27 16:25:43 UTC (rev 20944)
@@ -2201,7 +2201,7 @@
  * Set the scheme for a URL
  *
  * @since 3.4.0
- * 
+ *
  * @param string $url Absolute url that includes a scheme
  * @param string $scheme Optional. Scheme to give $url. Currently 'http', 'https', 'login', 'login_post', 'admin', or 'relative'.
  * @return string $url URL with chosen scheme.