Changeset 1485125
- Timestamp:
- 08/28/2016 03:47:34 PM (10 years ago)
- Location:
- webvtt/trunk
- Files:
-
- 3 edited
-
includes/class-webvtt.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
webvtt.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
webvtt/trunk/includes/class-webvtt.php
r1485121 r1485125 316 316 } 317 317 318 $attachments = get_posts( $args ); 319 if ( empty( $attachments ) ) { 318 if ( ! $attachments = get_posts( $args ) ) { 320 319 return ''; 321 320 } … … 392 391 } 393 392 394 $meta = wp_get_attachment_metadata( $a->ID ); 395 if ( ! empty( $meta ) ) { 393 if ( $meta = wp_get_attachment_metadata( $a->ID ) ) { 396 394 foreach ( wp_get_attachment_id3_keys( $a ) as $key => $label ) { 397 395 if ( ! empty( $meta[ $key ] ) ) { -
webvtt/trunk/readme.txt
r1485121 r1485125 67 67 == Changelog == 68 68 69 = 1.3.2 = 70 2016-08-28 71 72 * FIX: Removed unneeded `empty()` calls. 73 69 74 = 1.3.1 = 70 75 2016-08-28 71 76 72 * FIX: Updated usage of empty()to be compatible with PHP versions prior to 5.5.77 * FIX: Updated usage of `empty()` to be compatible with PHP versions prior to 5.5. 73 78 74 79 = 1.3.0 = -
webvtt/trunk/webvtt.php
r1485121 r1485125 6 6 * Author: Bobby Walters 7 7 * Author URI: https://github.com/bobbywalters 8 * Version: 1.3. 18 * Version: 1.3.2 9 9 * Text Domain: webvtt 10 10 * Domain Path: /languages
Note: See TracChangeset
for help on using the changeset viewer.