Plugin Directory

Changeset 1447772


Ignore:
Timestamp:
07/02/2016 01:24:24 PM (10 years ago)
Author:
webpuls
Message:

Released new subversion. 3 bug fixes

Location:
warp-cache
Files:
36 added
6 edited

Legend:

Unmodified
Added
Removed
  • warp-cache/trunk/README.txt

    r1446879 r1447772  
    55Requires at least: 3.0.1
    66Tested up to: 4.5.3
    7 Stable tag: 4.5.3
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3737== Changelog ==
    3838
     39= 1.0.1 =
     40* Fixed "unexpected output during activation" notice
     41* Fixed WordPress alerts and warnings notice display
     42* Fixed before stats when wordpress is installed in subdirectory.
     43
    3944= 1.0 =
    4045* First stable version
  • warp-cache/trunk/admin/class-warp-cache-admin.php

    r1446879 r1447772  
    8181     * Register the JavaScript for the admin area.
    8282     *
    83      * @since    1.0.0
     83     * @since    1.0.1
    8484     */
    8585    public function enqueue_scripts() {
     
    9797         */
    9898
     99
    99100        wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/warp-cache-admin.js', array( 'jquery' ), $this->version, false );
     101
     102        wp_localize_script( $this->plugin_name, 'WPURLS', array( 'siteurl' => get_option('siteurl') ));  // var url = WPURLS.siteurl;
    100103
    101104    }
  • warp-cache/trunk/admin/js/warp-cache-admin.js

    r1446879 r1447772  
    3737// Specify your actual API key here:
    3838var API_KEY = 'AIzaSyAGSsnZvEQhnJkL7z1LjNvwClp9F9NRAec';
    39 var URL_TO_GET_RESULTS_FOR = window.location.protocol + "//" + window.location.host;
     39//var URL_TO_GET_RESULTS_FOR = window.location.protocol + "//" + window.location.host;
     40var URL_TO_GET_RESULTS_FOR = WPURLS.siteurl;
     41console.log(URL_TO_GET_RESULTS_FOR);
    4042
    4143
  • warp-cache/trunk/admin/partials/warp-cache-admin-display.php

    r1446879 r1447772  
    77 *
    88 * @link       http://antonionovak.com
    9  * @since      1.0.0
     9 * @since      1.0.1
    1010 *
    1111 * @package    Warp_Cache
     
    1818
    1919<div class="wrap">
     20    <?php echo '<div class="wrap"><h2></h2></div>'; // Stupid hack for WordPress alerts and warnings ?>
     21    <?php settings_errors(); ?>
    2022    <div id="warp-cache">
    2123        <div class="warp-cache-header">
  • warp-cache/trunk/includes/class-warp-cache-activator.php

    r1446879 r1447772  
    4040
    4141        //call api
    42         $response = wp_remote_get($apiUrl . 'url=' . $siteUrl . '&key=' . $apiKey);
     42        $response = wp_remote_get($apiUrl . 'url=' . $siteUrl . '&key=' . $apiKey, array('timeout' => 15));
    4343
    4444        $json = wp_remote_retrieve_body( $response );
  • warp-cache/trunk/warp-cache.php

    r1446879 r1447772  
    1717 * Plugin URI:        http://antonionovak.com/plugins/warp-cache/
    1818 * Description:       Simple, light and powerful cache plugin. Plug and play. No customisation required.
    19  * Version:           1.0.0
     19 * Version:           1.0.1
    2020 * Author:            Antonio Novak
    2121 * Author URI:        http://antonionovak.com
Note: See TracChangeset for help on using the changeset viewer.