Ticket #17626: inter.diff
File inter.diff, 484 bytes (added by , 11 years ago) |
---|
Line | |
---|---|
1 | 1c1 |
2 | < Index: src/wp-includes/media.php |
3 | --- |
4 | > Index: wp-includes/media.php |
5 | 3,5c3,6 |
6 | < --- src/wp-includes/media.php (revision 28533) |
7 | < +++ src/wp-includes/media.php (working copy) |
8 | < @@ -577,32 +577,38 @@ |
9 | --- |
10 | > --- wp-includes/media.php (revision 28557) |
11 | > +++ wp-includes/media.php (working copy) |
12 | > @@ -576,33 +576,39 @@ |
13 | > |
14 | 7a9 |
15 | > + $candidate_sizes = array(); |
16 | 11d12 |
17 | < + |
18 | 27c28 |
19 | < + if ( ! $size || ! empty( $candidate_sizes ) ) { |
20 | --- |
21 | > + if ( $candidate_sizes ) { |