Support » Fixing WordPress » get_the_post_thumbnail not generating image alt

  • just upgrading my WP from 4.5.4 to 4.7, my plugin that using get_the_post_thumbnail no longer generate image alt. It can call anything else, but not image alt. The function isn’t deprecated yet, what’s wrong? Am I missing something?

Viewing 1 replies (of 1 total)
  • Did you guys change get_the_post_thumbnail behavior? Usually this function can call image name to replace image alt if image alt empty.

Viewing 1 replies (of 1 total)
  • The topic ‘get_the_post_thumbnail not generating image alt’ is closed to new replies.