Changeset 2075357
- Timestamp:
- 04/26/2019 12:24:25 PM (7 years ago)
- Location:
- widget-display-conditions/trunk/includes
- Files:
-
- 2 edited
-
common.php (modified) (1 diff)
-
updater.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
widget-display-conditions/trunk/includes/common.php
r2075315 r2075357 57 57 58 58 return ( $a['order'] < $b['order'] ) ? -1 : 1; 59 } 60 61 /** 62 * Sort version 63 * 64 * @param mixed $a 65 * @param mixed $b 66 * 67 * @return int 68 */ 69 function sort_version( $a, $b ) 70 { 71 if ( is_object( $a ) ) $a = get_object_vars( $a ); 72 if ( is_object( $b ) ) $b = get_object_vars( $b ); 73 74 return version_compare( $a['version'], $b['version'] ); 59 75 } 60 76 -
widget-display-conditions/trunk/includes/updater.php
r2075315 r2075357 140 140 <?php wp_nonce_field( 'update', WDC_NONCE_NAME ); ?> 141 141 142 <pre><?php print_r( $this->get_applicable_tasks() ); ?></pre>143 144 142 <p><strong><?php _e( 'A database update is required.', 'wdc' ); ?></strong></p> 145 143 <p><?php _e( 'Make sure to make a backup before updating.', 'wdc' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.