mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
After [35718], update the location of some files in This filter is documented in docs.
Partially reverts [33954]. Fixes #33413. git-svn-id: https://develop.svn.wordpress.org/trunk@35725 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -755,7 +755,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-functions.php */
|
||||
/** This filter is documented in wp-includes/post.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