WordPress.org

Forums

Add is_ssl() check to wp_get_attachment_image (1 post)

  1. TCBarrett
    Member
    Posted 1 year ago #

    Currently wp_get_attachment_image() returns 'http' irrespective of the state of is_ssl()

    Amongst other things, this affects the media library thumbnails.

Topic Closed

This topic has been closed to new replies.

About this Topic