Changeset 4796 for trunk/wp-admin/admin-functions.php
- Timestamp:
- 01/24/2007 07:17:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r4760 r4796 1270 1270 if ( $items ) { 1271 1271 foreach ( $items as $item ) { 1272 // A page cannot be it 's own parent.1272 // A page cannot be its own parent. 1273 1273 if (!empty ( $post_ID ) ) { 1274 1274 if ( $item->ID == $post_ID ) { … … 2191 2191 $thumbpath = str_replace( basename( $file ), $thumb, $file ); 2192 2192 2193 // move the thumbnail to it 's final destination2193 // move the thumbnail to its final destination 2194 2194 if ( $type[2] == 1 ) { 2195 2195 if (!imagegif( $thumbnail, $thumbpath ) ) { … … 2216 2216 return $error; 2217 2217 } else { 2218 apply_filters( 'wp_create_thumbnail', $thumbpath ); 2219 return $thumbpath; 2218 return apply_filters( 'wp_create_thumbnail', $thumbpath ); 2220 2219 } 2221 2220 }
Note: See TracChangeset
for help on using the changeset viewer.