Plugin Directory

Changeset 1531302


Ignore:
Timestamp:
11/10/2016 12:10:09 AM (9 years ago)
Author:
joshvickers
Message:

updating readme and version

Location:
satellite
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • satellite/tags/1.2.1/satellite-optimization-monitoring.php

    r1531294 r1531302  
    33Plugin Name: Satellite Optimization Monitoring
    44Plugin URI: https://satellite.fm
    5 Description: Actionable WordPress Optimization for non developers. After activating this plugin go to satellite.fm to enable this service.
    6 Version: 1.2
     5Description: Actionable WordPress Optimization for non developers. After activating this plugin, click the Satellite link in your WordPress admin.
     6Version: 1.2.1
    77Author: Satellite.fm
    88Author URI: https://satellite.fm/
     
    1010*/
    1111
    12 define( 'SATELLITE_VERSION', '1.2' );
     12define( 'SATELLITE_VERSION', '1.2.1' );
    1313
    1414define( 'SATELLITE_SITE', 'https://satellite.fm/' );
     
    3737            header( 'Access-Control-Allow-Origin: *' );
    3838            // Activation check
    39             if ( isset( $_REQUEST['get'] ) && $_REQUEST['get'] == 'client_ok' ) :   
     39            if ( isset( $_REQUEST['get'] ) && $_REQUEST['get'] == 'client_ok' ) :
    4040                print json_encode( array( 'client' => 'ok' ) );
    4141            endif;
    4242            // Version check
    43             if ( isset( $_REQUEST['get'] ) && $_REQUEST['get'] == 'plugin_version' ) :   
     43            if ( isset( $_REQUEST['get'] ) && $_REQUEST['get'] == 'plugin_version' ) :
    4444                print json_encode( array( 'version' => SATELLITE_VERSION ) );
    4545            endif;
     
    114114        endif;
    115115        return str_replace( '\\', '/', $home_path );
    116     }   
     116    }
    117117endif;
    118118
     
    133133                    $the_path = $folder_path . $result;
    134134                    if ( is_dir( $the_path ) ) :
    135                         $size+= satellite_get_folder_size( $the_path . '/' ); 
     135                        $size+= satellite_get_folder_size( $the_path . '/' );
    136136                    elseif ( is_file( $the_path ) ) :
    137137                        $size+= filesize( $the_path );
     
    209209            endforeach;
    210210        endif;
    211        
     211
    212212        // Get themes report
    213         $themes         = wp_get_themes();     
     213        $themes         = wp_get_themes();
    214214        $themes_found   = array();
    215215        $themes_info    = array();
     
    226226            endforeach;
    227227        endif;
    228        
     228
    229229        // Getting the current permalink structure
    230230        $permalink_structure    = '';
     
    246246            'permalink_structure'   => $permalink_structure,
    247247        );
    248        
     248
    249249    }
    250250endif;
     
    325325        // Output
    326326        return array(
    327             'total' => $total, 
    328             'spam'  => $spam 
     327            'total' => $total,
     328            'spam'  => $spam
    329329        );
    330330    }
     
    342342        // Output
    343343        return array(
    344             'total' => $total, 
    345             'spam'  => $spam 
     344            'total' => $total,
     345            'spam'  => $spam
    346346        );
    347347    }
     
    359359        // Output
    360360        return array(
    361             'total' => $total, 
    362             'spam'  => $spam 
     361            'total' => $total,
     362            'spam'  => $spam
    363363        );
    364364    }
     
    376376        // Output
    377377        return array(
    378             'total' => $total, 
    379             'spam'  => $spam 
     378            'total' => $total,
     379            'spam'  => $spam
    380380        );
    381381    }
     
    399399                $output[]   = array(
    400400                    'post_type' => $post_type->post_type,
    401                     'total'     => $total, 
     401                    'total'     => $total,
    402402                    'trash'     => $trash,
    403403                );
     
    449449/*****/
    450450
    451 /* 
     451/*
    452452    This program is free software; you can redistribute it and/or modify
    453     it under the terms of the GNU General Public License, version 2, as 
     453    it under the terms of the GNU General Public License, version 2, as
    454454    published by the Free Software Foundation.
    455455
  • satellite/trunk/satellite-optimization-monitoring.php

    r1531272 r1531302  
    33Plugin Name: Satellite Optimization Monitoring
    44Plugin URI: https://satellite.fm
    5 Description: Actionable WordPress Optimization for non developers. After activating this plugin go to satellite.fm to enable this service.
    6 Version: 1.2
     5Description: Actionable WordPress Optimization for non developers. After activating this plugin, click the Satellite link in your WordPress admin.
     6Version: 1.2.1
    77Author: Satellite.fm
    88Author URI: https://satellite.fm/
     
    1010*/
    1111
    12 define( 'SATELLITE_VERSION', '1.2' );
     12define( 'SATELLITE_VERSION', '1.2.1' );
    1313
    1414define( 'SATELLITE_SITE', 'https://satellite.fm/' );
     
    3737            header( 'Access-Control-Allow-Origin: *' );
    3838            // Activation check
    39             if ( isset( $_REQUEST['get'] ) && $_REQUEST['get'] == 'client_ok' ) :   
     39            if ( isset( $_REQUEST['get'] ) && $_REQUEST['get'] == 'client_ok' ) :
    4040                print json_encode( array( 'client' => 'ok' ) );
    4141            endif;
    4242            // Version check
    43             if ( isset( $_REQUEST['get'] ) && $_REQUEST['get'] == 'plugin_version' ) :   
     43            if ( isset( $_REQUEST['get'] ) && $_REQUEST['get'] == 'plugin_version' ) :
    4444                print json_encode( array( 'version' => SATELLITE_VERSION ) );
    4545            endif;
     
    114114        endif;
    115115        return str_replace( '\\', '/', $home_path );
    116     }   
     116    }
    117117endif;
    118118
     
    133133                    $the_path = $folder_path . $result;
    134134                    if ( is_dir( $the_path ) ) :
    135                         $size+= satellite_get_folder_size( $the_path . '/' ); 
     135                        $size+= satellite_get_folder_size( $the_path . '/' );
    136136                    elseif ( is_file( $the_path ) ) :
    137137                        $size+= filesize( $the_path );
     
    209209            endforeach;
    210210        endif;
    211        
     211
    212212        // Get themes report
    213         $themes         = wp_get_themes();     
     213        $themes         = wp_get_themes();
    214214        $themes_found   = array();
    215215        $themes_info    = array();
     
    226226            endforeach;
    227227        endif;
    228        
     228
    229229        // Getting the current permalink structure
    230230        $permalink_structure    = '';
     
    246246            'permalink_structure'   => $permalink_structure,
    247247        );
    248        
     248
    249249    }
    250250endif;
     
    325325        // Output
    326326        return array(
    327             'total' => $total, 
    328             'spam'  => $spam 
     327            'total' => $total,
     328            'spam'  => $spam
    329329        );
    330330    }
     
    342342        // Output
    343343        return array(
    344             'total' => $total, 
    345             'spam'  => $spam 
     344            'total' => $total,
     345            'spam'  => $spam
    346346        );
    347347    }
     
    359359        // Output
    360360        return array(
    361             'total' => $total, 
    362             'spam'  => $spam 
     361            'total' => $total,
     362            'spam'  => $spam
    363363        );
    364364    }
     
    376376        // Output
    377377        return array(
    378             'total' => $total, 
    379             'spam'  => $spam 
     378            'total' => $total,
     379            'spam'  => $spam
    380380        );
    381381    }
     
    399399                $output[]   = array(
    400400                    'post_type' => $post_type->post_type,
    401                     'total'     => $total, 
     401                    'total'     => $total,
    402402                    'trash'     => $trash,
    403403                );
     
    449449/*****/
    450450
    451 /* 
     451/*
    452452    This program is free software; you can redistribute it and/or modify
    453     it under the terms of the GNU General Public License, version 2, as 
     453    it under the terms of the GNU General Public License, version 2, as
    454454    published by the Free Software Foundation.
    455455
Note: See TracChangeset for help on using the changeset viewer.