Plugin Directory

Changeset 1061535


Ignore:
Timestamp:
01/06/2015 06:20:40 PM (11 years ago)
Author:
mcnardelli
Message:

Minor bugs fixed

Location:
where-i-was-where-i-will-be/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • where-i-was-where-i-will-be/trunk/system/control/control_admin.php

    r1060919 r1061535  
    133133   
    134134    function add_wiw_plugin( $plugin_array ) {
    135        $plugin_array['wiwwiwb'] = WIW_DIR_JS . 'call_plugin.js';
     135       $plugin_array['wiwwiwb'] = WIW_DIR_JS . 'call_plugin.min.js';
    136136       return $plugin_array;
    137137    }
     
    158158        $mo_file = WIW_DIR . 'language/'. get_locale() . '.mo';
    159159     
    160         //load_textdomain( $domain, $mo_file );
     160        load_textdomain( $domain, $mo_file );
    161161        load_plugin_textdomain( $domain, false, $mo_file = WIW_DIR . 'language/');
    162162    }
  • where-i-was-where-i-will-be/trunk/wiwwiwb.php

    r1060919 r1061535  
    1 <?php //Info
     1<?php
    22/**
    33 * @package Where I Was, Where I Will Be
    4  * @version 1.0
     4 * @version 1.0.1
    55 */
    66/*
     
    99Description: A Plugin that use Google Maps to show where you was and where you will be! Seriously! :)
    1010Author: Mauro Baptista
    11 Version: 1.0
     11Version: 1.0.1
    1212Author URI: http://carnou.com/
    1313License: GPL2
     
    8080    // Call Admin Functions and Screens
    8181    include_once (WIW_DIR_CONTROL.'admin.php');
    82     $admin = new WIWWIWB_Admin();
     82    $wiwwiwb_admin = new WIWWIWB_Admin();
    8383
    8484    //Activate and Deactivate Plugin
    85     register_activation_hook(__FILE__, array($admin,'wiw_activate'));
    86     register_deactivation_hook(__FILE__, array($admin,'wiw_deactivate'));
     85    register_activation_hook(__FILE__, array($wiwwiwb_admin,'wiw_activate'));
     86    register_deactivation_hook(__FILE__, array($wiwwiwb_admin,'wiw_deactivate'));
    8787   
    8888} else {
     
    9393    // Call User Functions and Screens
    9494    include_once (WIW_DIR_CONTROL.'user.php');
    95     $user = new WIWWIWB_User();
     95    $wiwwiwb_user = new WIWWIWB_User();
    9696}
    9797?>
Note: See TracChangeset for help on using the changeset viewer.