Changeset 1447772
- Timestamp:
- 07/02/2016 01:24:24 PM (10 years ago)
- Location:
- warp-cache
- Files:
-
- 36 added
- 6 edited
-
assets/screenshot-1.png (added)
-
tags/1.0.1 (added)
-
tags/1.0.1/LICENSE.txt (added)
-
tags/1.0.1/README.txt (added)
-
tags/1.0.1/admin (added)
-
tags/1.0.1/admin/class-warp-cache-admin.php (added)
-
tags/1.0.1/admin/css (added)
-
tags/1.0.1/admin/css/warp-cache-admin.css (added)
-
tags/1.0.1/admin/index.php (added)
-
tags/1.0.1/admin/js (added)
-
tags/1.0.1/admin/js/warp-cache-admin.js (added)
-
tags/1.0.1/admin/partials (added)
-
tags/1.0.1/admin/partials/warp-cache-admin-display.php (added)
-
tags/1.0.1/assets (added)
-
tags/1.0.1/assets/screenshot-1.png (added)
-
tags/1.0.1/includes (added)
-
tags/1.0.1/includes/class-warp-cache-activator.php (added)
-
tags/1.0.1/includes/class-warp-cache-deactivator.php (added)
-
tags/1.0.1/includes/class-warp-cache-i18n.php (added)
-
tags/1.0.1/includes/class-warp-cache-loader.php (added)
-
tags/1.0.1/includes/class-warp-cache.php (added)
-
tags/1.0.1/includes/index.php (added)
-
tags/1.0.1/index.php (added)
-
tags/1.0.1/languages (added)
-
tags/1.0.1/languages/warp-cache.pot (added)
-
tags/1.0.1/public (added)
-
tags/1.0.1/public/class-warp-cache-public.php (added)
-
tags/1.0.1/public/css (added)
-
tags/1.0.1/public/css/warp-cache-public.css (added)
-
tags/1.0.1/public/index.php (added)
-
tags/1.0.1/public/js (added)
-
tags/1.0.1/public/js/warp-cache-public.js (added)
-
tags/1.0.1/public/partials (added)
-
tags/1.0.1/public/partials/warp-cache-public-display.php (added)
-
tags/1.0.1/uninstall.php (added)
-
tags/1.0.1/warp-cache.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-warp-cache-admin.php (modified) (2 diffs)
-
trunk/admin/js/warp-cache-admin.js (modified) (1 diff)
-
trunk/admin/partials/warp-cache-admin-display.php (modified) (2 diffs)
-
trunk/includes/class-warp-cache-activator.php (modified) (1 diff)
-
trunk/warp-cache.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
warp-cache/trunk/README.txt
r1446879 r1447772 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.5.3 7 Stable tag: 4.5.37 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 37 37 == Changelog == 38 38 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 39 44 = 1.0 = 40 45 * First stable version -
warp-cache/trunk/admin/class-warp-cache-admin.php
r1446879 r1447772 81 81 * Register the JavaScript for the admin area. 82 82 * 83 * @since 1.0. 083 * @since 1.0.1 84 84 */ 85 85 public function enqueue_scripts() { … … 97 97 */ 98 98 99 99 100 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; 100 103 101 104 } -
warp-cache/trunk/admin/js/warp-cache-admin.js
r1446879 r1447772 37 37 // Specify your actual API key here: 38 38 var 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; 40 var URL_TO_GET_RESULTS_FOR = WPURLS.siteurl; 41 console.log(URL_TO_GET_RESULTS_FOR); 40 42 41 43 -
warp-cache/trunk/admin/partials/warp-cache-admin-display.php
r1446879 r1447772 7 7 * 8 8 * @link http://antonionovak.com 9 * @since 1.0. 09 * @since 1.0.1 10 10 * 11 11 * @package Warp_Cache … … 18 18 19 19 <div class="wrap"> 20 <?php echo '<div class="wrap"><h2></h2></div>'; // Stupid hack for WordPress alerts and warnings ?> 21 <?php settings_errors(); ?> 20 22 <div id="warp-cache"> 21 23 <div class="warp-cache-header"> -
warp-cache/trunk/includes/class-warp-cache-activator.php
r1446879 r1447772 40 40 41 41 //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)); 43 43 44 44 $json = wp_remote_retrieve_body( $response ); -
warp-cache/trunk/warp-cache.php
r1446879 r1447772 17 17 * Plugin URI: http://antonionovak.com/plugins/warp-cache/ 18 18 * Description: Simple, light and powerful cache plugin. Plug and play. No customisation required. 19 * Version: 1.0. 019 * Version: 1.0.1 20 20 * Author: Antonio Novak 21 21 * Author URI: http://antonionovak.com
Note: See TracChangeset
for help on using the changeset viewer.