WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/13/2010 11:12:47 AM (11 years ago)
Author:
dd32
Message:

Always set $link_text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r13093 r13110  
    945945    } elseif ( ( is_int($size) && $size != 0 ) or ( is_string($size) && $size != 'none' ) or $size != false ) {
    946946        $link_text = wp_get_attachment_image($id, $size, $icon);
     947    } else {
     948        $link_text = '';
    947949    }
    948950
Note: See TracChangeset for help on using the changeset viewer.