WordPress.org

Make WordPress Core

Changeset 34657


Ignore:
Timestamp:
09/28/2015 02:49:05 AM (6 years ago)
Author:
wonderboymusic
Message:

After [34629], use $size_class instead of $size.

See #32093.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r34629 r34657  
    768768        $default_attr = array(
    769769            'src'   => $src,
    770             'class' => "attachment-$size_class size-$size",
     770            'class' => "attachment-$size_class size-$size_class",
    771771            'alt'   => trim(strip_tags( get_post_meta($attachment_id, '_wp_attachment_image_alt', true) )), // Use Alt field first
    772772        );
Note: See TracChangeset for help on using the changeset viewer.