Changeset 1555041
- Timestamp:
- 12/14/2016 10:50:26 PM (9 years ago)
- Location:
- fifthestate/trunk
- Files:
-
- 2 edited
-
fifthestate.php (modified) (2 diffs)
-
settings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fifthestate/trunk/fifthestate.php
r1554846 r1555041 3 3 Plugin Name: FifthEstate 4 4 Description: Connect your WordPress.org site to FifthEstate. 5 Version: 1. 05 Version: 1.1 6 6 Author: FifthEstate 7 7 Author URI: https://profiles.wordpress.org/fifthestate … … 11 11 namespace FifthEstate; 12 12 const APP_NAME = 'FifthEstate'; 13 const APP_VERSION = '1.1'; 13 14 14 15 // This is an optional local configuration file that you can create. -
fifthestate/trunk/settings.php
r1555032 r1555041 158 158 _e( "<p>The category you are currently posting to is <i>$category_name</i>.</p>" ); 159 159 } 160 //GET category tree160 //GET data here because CORS is annoying 161 161 $category_tree = curl_get( SITE_URL . '/data/categories.json', '' ); 162 162 $country_data = curl_get( SITE_URL . '/data/country_data.json', '' ); … … 190 190 //enqueues style and script 191 191 add_action( 'admin_enqueue_scripts', function() { 192 wp_enqueue_script( 'script', plugins_url( 'js/category-helper.js', __FILE__ ), array(), '0.0.0');192 wp_enqueue_script( 'script', plugins_url( 'js/category-helper.js', __FILE__ ), array(), APP_VERSION ); 193 193 } ); 194 194
Note: See TracChangeset
for help on using the changeset viewer.