From 8a8560c1b75ce5cb9f3b86bf3cba19c6df5000ff Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 26 Jan 2007 12:57:25 +0000 Subject: WP Merge to rev 4813 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@868 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/admin-functions.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'wp-admin/admin-functions.php') diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index b274e67..83e0e74 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -840,7 +840,7 @@ function page_rows( $parent = 0, $level = 0, $pages = 0, $hierarchy = true ) { - post_modified ) _e('Unpublished'); else echo mysql2date( 'Y-m-d g:i a', $post->post_modified ); ?> + post_modified ) _e('Unpublished'); else echo mysql2date( __('Y-m-d g:i a'), $post->post_modified ); ?> " . __( 'Edit' ) . ""; } ?> " . __( 'Delete' ) . ""; } ?> @@ -1615,7 +1615,7 @@ function get_file_description( $file ) { } elseif ( file_exists( ABSPATH . $file ) && is_file( ABSPATH . $file ) ) { $template_data = implode( '', file( ABSPATH . $file ) ); - if ( preg_match( "|Template Name:(.* )|i", $template_data, $name )) + if ( preg_match( "|Template Name:(.*)|i", $template_data, $name )) return $name[1]; } @@ -2232,7 +2232,6 @@ function wp_create_thumbnail( $file, $max_side, $effect = '' ) { } } - function update_blog_public($old_value, $value) { global $wpdb; $value = (int) $value; -- cgit