Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_scan_image() should support "wp-image-%d" values in "class" attribute #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 27, 2014

  1. Check class tag for wp-image-%d values, too.

    WordPress's get_image_tag() function sets the "wp-image-%d" value in the "class" attribute instead of the "id" attribute. This commit will add support for "wp-image-%d" in class attributes.
    Whissi committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    11f0184 View commit details
    Browse the repository at this point in the history
  2. get_scan_image() should only call _get_image_attachment() when $image…

    …_id is plausible
    
    The logic is taken from get_scan_raw_image().
    Whissi committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    f01fc38 View commit details
    Browse the repository at this point in the history