remove non-object notice in the change_featured_image_media_strings() function

Removes notice: Trying to get property of non-object.
Merge pull request #1 from S2web/master

remove non-object notice in the change_featured_image_media_strings() fu...