Plugin Directory

Changeset 1958644


Ignore:
Timestamp:
10/18/2018 01:52:05 PM (7 years ago)
Author:
julienappert
Message:

fix bug in the admin area

Location:
mapinco-easy-maps/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mapinco-easy-maps/trunk/index.php

    r1764931 r1958644  
    44Plugin URI:
    55Description:    Create simple and personalized maps based on Leafletjs.
    6 Version:      0.1.2
     6Version:      0.1.3
    77Author:       Mappa Incognita
    88Author URI:   https://mapinco.fr
     
    191191}
    192192
    193 function mapinco_easymaps_admin_scripts(){
    194     if($_GET['page'] == 'mapinco_easymaps'){
     193function mapinco_easymaps_admin_scripts($hook){
     194    if($hook == 'toplevel_page_mapinco_easymaps'){
    195195        wp_enqueue_style('leaflet',plugins_url( 'inc/leaflet/leaflet.css', __FILE__));
    196196        wp_enqueue_style('mapinco_easymaps_admin', plugins_url( 'mapinco_easymaps_admin.css', __FILE__ ));
  • mapinco-easy-maps/trunk/readme.txt

    r1764931 r1958644  
    2323== Changelog ==
    2424
     25= 0.1.3 =
     26* Fix bug in admin area
     27
    2528= 0.1.2 =
    2629* Adding French translation
Note: See TracChangeset for help on using the changeset viewer.