Changeset 4622 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-internal-stats.php
- Timestamp:
- 01/10/2017 10:13:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-internal-stats.php
r3354 r4622 109 109 */ 110 110 protected function sanitize_usage_numbers( $usage, $plugin ) { 111 $latest_version = get_post_meta( $plugin->ID, 'version', true ) ;111 $latest_version = get_post_meta( $plugin->ID, 'version', true ) ?: '0.0'; 112 112 $latest_branch = implode( '.', array_slice( explode('.', $latest_version ), 0, 2 ) ); 113 113
Note: See TracChangeset
for help on using the changeset viewer.