Plugin Directory

Changeset 1555041


Ignore:
Timestamp:
12/14/2016 10:50:26 PM (9 years ago)
Author:
fifthestate
Message:

Up ze version

Location:
fifthestate/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fifthestate/trunk/fifthestate.php

    r1554846 r1555041  
    33Plugin Name: FifthEstate
    44Description: Connect your WordPress.org site to FifthEstate.
    5 Version: 1.0
     5Version: 1.1
    66Author: FifthEstate
    77Author URI: https://profiles.wordpress.org/fifthestate
     
    1111namespace FifthEstate;
    1212const APP_NAME = 'FifthEstate';
     13const APP_VERSION = '1.1';
    1314
    1415// This is an optional local configuration file that you can create.
  • fifthestate/trunk/settings.php

    r1555032 r1555041  
    158158        _e( "<p>The category you are currently posting to is <i>$category_name</i>.</p>" );
    159159    }
    160     //GET category tree
     160    //GET data here because CORS is annoying
    161161    $category_tree = curl_get( SITE_URL . '/data/categories.json', '' );
    162162    $country_data = curl_get( SITE_URL . '/data/country_data.json', '' );
     
    190190//enqueues style and script
    191191add_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 );
    193193} );
    194194
Note: See TracChangeset for help on using the changeset viewer.