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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2011-04-05 17:13:04 +00:00
parent 864330c766
commit 91dc365567
6 changed files with 31 additions and 1036 deletions

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);