Deprecate function to convert image URL to ID

We've been storing images by ID since 2.2.0 so I'd like to get rid of this.
This commit is contained in:
Robin Cornett
2017-10-31 17:22:57 -04:00
parent 454320202c
commit 0a6fb4973f
2 changed files with 4 additions and 3 deletions
@@ -267,6 +267,8 @@ class Display_Featured_Image_Genesis_Common {
*/
public static function get_image_id( $attachment_url = '' ) {
_deprecated_function( __FUNCTION__, '2.7.0' );
$attachment_id = false;
// as of 2.2.0, if a (new) image id is passed to the function, or if it's empty, return it as is.