Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918

git-svn-id: https://develop.svn.wordpress.org/trunk@17603 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2011-04-05 17:13:04 +00:00
parent 6a7acd8252
commit 9691cb5eb2
6 changed files with 31 additions and 1036 deletions
+1 -1
View File
@@ -551,7 +551,7 @@ function wp_save_image($post_id) {
// generate new filename
$path = get_attached_file($post_id);
$path_parts = pathinfo52( $path );
$path_parts = pathinfo( $path );
$filename = $path_parts['filename'];
$suffix = time() . rand(100, 999);