Trim tailing whitespace

git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2009-05-24 23:47:49 +00:00
parent d514a0d6b2
commit 2df887bd07
54 changed files with 218 additions and 218 deletions

View File

@@ -194,7 +194,7 @@ function media_handle_upload($file_id, $post_id, $post_data = array()) {
if ( isset($file['error']) )
return new WP_Error( 'upload_error', $file['error'] );
$name_parts = pathinfo($name);
$name = trim( substr( $name, 0, -(1 + strlen($name_parts['extension'])) ) );
@@ -327,7 +327,7 @@ if ( is_string($content_func) )
$args = func_get_args();
$args = array_slice($args, 1);
call_user_func_array($content_func, $args);
do_action('admin_print_footer_scripts');
?>
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>