Merge branch 'feature/images-id' of https://github.com/robincornett/display-featured-image-genesis into feature/images-id

This commit is contained in:
Robin Cornett
2015-04-14 17:49:30 -04:00
@@ -220,6 +220,11 @@ class Display_Featured_Image_Genesis_Common {
global $wpdb;
$attachment_id = false;
// as of 2.2.0, if a (new) image id is passed to the function, return it as is.
if ( is_int( $attachment_url ) ) {
return $attachment_url;
}
// If there is no url, return.
if ( '' == $attachment_url ) {
return;