mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@22634 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -313,7 +313,7 @@ function get_single_template() {
|
||||
function get_attachment_template() {
|
||||
global $posts;
|
||||
|
||||
if ( ! empty( $posts ) && isset( $posts[0]->post_mime_type ) ) {
|
||||
if ( ! empty( $posts ) && isset( $posts[0]->post_mime_type ) ) {
|
||||
$type = explode( '/', $posts[0]->post_mime_type );
|
||||
|
||||
if ( ! empty( $type ) ) {
|
||||
|
||||
Reference in New Issue
Block a user