Making WordPress.org


Ignore:
Timestamp:
12/19/2017 04:22:37 PM (7 years ago)
Author:
obenland
Message:

PLugins: Clean up formatting with phpcbf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-api-update-updater.php

    r6195 r6287  
    5858
    5959        if ( ! $post || ! in_array( $post->post_status, array( 'publish', 'disabled', 'closed' ) ) ) {
    60             $wpdb->delete(  $wpdb->prefix . 'update_source', compact( 'plugin_slug' ) );
     60            $wpdb->delete( $wpdb->prefix . 'update_source', compact( 'plugin_slug' ) );
    6161            return true;
    6262        }
    6363
    64         $data = array(
     64        $data           = array(
    6565            'plugin_id'       => $post->ID,
    6666            'plugin_slug'     => $post->post_name,
     
    102102
    103103            foreach ( $locales as $locale ) {
    104                 $cache_key = "plugin_information:"
     104                $cache_key = 'plugin_information:'
    105105                    . ( strlen( $plugin_slug ) > 200 ? 'md5:' . md5( $plugin_slug ) : $plugin_slug )
    106106                    . ":{$locale}";
Note: See TracChangeset for help on using the changeset viewer.