Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #48324, comment 4


Ignore:
Timestamp:
11/01/2019 04:45:52 AM (5 years ago)
Author:
jrf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48324, comment 4

    v1 v2  
    11Had a quick look. IMHO a simpler fix - and just as effective - would be to replace the `! empty( $meta['sizes'] )` with `! empty( $meta['sizes']['full'] )`.
    22
    3 Side-note: I do wonder how an image can exist without a full sized version ?
     3~~Side-note: I do wonder how an image can exist without a full sized version ?~~ Sratch that, just noticed this only applies to non-images.