After [33843], update the location of some files in This filter is documented in docs
Props dimadin. See #33413. Built from https://develop.svn.wordpress.org/trunk@33954 git-svn-id: http://core.svn.wordpress.org/trunk@33923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -706,7 +706,7 @@ function wp_get_attachment_image_src( $attachment_id, $size = 'thumbnail', $icon
|
||||
$src = false;
|
||||
|
||||
if ( $icon && $src = wp_mime_type_icon( $attachment_id ) ) {
|
||||
/** This filter is documented in wp-includes/post.php */
|
||||
/** This filter is documented in wp-includes/post-functions.php */
|
||||
$icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' );
|
||||
|
||||
$src_file = $icon_dir . '/' . wp_basename( $src );
|
||||
|
||||
Reference in New Issue
Block a user