From 9384882739906e813f1a05491fd73e47e8105dee Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 24 Jan 2007 12:40:34 +0000 Subject: WP Merge to revision 4793 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@865 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/admin-functions.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'wp-admin/admin-functions.php') diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 03a6887..b274e67 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -1282,7 +1282,7 @@ function parent_dropdown( $default = 0, $parent = 0, $level = 0 ) { if ( $items ) { foreach ( $items as $item ) { - // A page cannot be it's own parent. + // A page cannot be its own parent. if (!empty ( $post_ID ) ) { if ( $item->ID == $post_ID ) { continue; @@ -2203,7 +2203,7 @@ function wp_create_thumbnail( $file, $max_side, $effect = '' ) { $thumbpath = str_replace( basename( $file ), $thumb, $file ); - // move the thumbnail to it's final destination + // move the thumbnail to its final destination if ( $type[2] == 1 ) { if (!imagegif( $thumbnail, $thumbpath ) ) { $error = __( "Thumbnail path invalid" ); @@ -2228,8 +2228,7 @@ function wp_create_thumbnail( $file, $max_side, $effect = '' ) { if (!empty ( $error ) ) { return $error; } else { - apply_filters( 'wp_create_thumbnail', $thumbpath ); - return $thumbpath; + return apply_filters( 'wp_create_thumbnail', $thumbpath ); } } -- cgit