Plugin Directory

Changeset 2083492


Ignore:
Timestamp:
05/08/2019 11:32:40 AM (7 years ago)
Author:
asabagh
Message:

debug 1557312880

Location:
rng-shortlink/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • rng-shortlink/trunk/includes/class.init.php

    r2060399 r2083492  
    3535    public function plugins_loaded() {
    3636        load_plugin_textdomain($this->slug, false, RNGSHL_PRT . "/languages");
     37        require_once trailingslashit(__DIR__) . "translate.php";
    3738    }
    3839
     
    5556        require_once 'class.controller.settings.php';
    5657        require_once 'class.controller.clicked.php';
    57         require_once trailingslashit(__DIR__) . "translate.php";
    5858    }
    5959
  • rng-shortlink/trunk/readme.txt

    r2059548 r2083492  
    2727it is strongly was recommended that after the plugin is activated, go to the permalink settings and change URL structure and undo.
    2828
    29 = Github Repository =
    30 Also You can find plugin repository on github:
    31 [https://github.com/a-sabagh/rng-shortlink](https://github.com/a-sabagh/rng-shortlink)
    32 
    33 == Screenshots ==
    34 
    35 1. Click count report
    36 2. Meta Box
    37 3. Settings panel
    38 
    3929== Installation ==
    4030
  • rng-shortlink/trunk/rng-shortlink.php

    r2047971 r2083492  
    1515}
    1616
    17 define(RNGSHL_FILE, __FILE__);
    18 define(RNGSHL_PRF, plugin_basename(__FILE__)); //rng-shortlink/rng-shortlink.php
    19 define(RNGSHL_PDU, plugin_dir_url(__FILE__));   //http://localhost:8888/rng-plugin/wp-content/plugins/rng-shortlink/
    20 define(RNGSHL_PRT, basename(__DIR__));          //rng-refresh.php
    21 define(RNGSHL_PDP, plugin_dir_path(__FILE__));  //Applications/MAMP/htdocs/rng-plugin/wp-content/plugins/rng-shortlink/
    22 define(RNGSHL_TMP, RNGSHL_PDP . "public/");     // view OR templates System for public
    23 define(RNGSHL_ADM, RNGSHL_PDP . "admin/");      // view OR templates System for admin panel
     17define("RNGSHL_FILE", __FILE__);
     18define("RNGSHL_PRF", plugin_basename(__FILE__)); //rng-shortlink/rng-shortlink.php
     19define("RNGSHL_PDU", plugin_dir_url(__FILE__));   //http://localhost:8888/rng-plugin/wp-content/plugins/rng-shortlink/
     20define("RNGSHL_PRT", basename(__DIR__));          //rng-refresh.php
     21define("RNGSHL_PDP", plugin_dir_path(__FILE__));  //Applications/MAMP/htdocs/rng-plugin/wp-content/plugins/rng-shortlink/
     22define("RNGSHL_TMP", RNGSHL_PDP . "public/");     // view OR templates System for public
     23define("RNGSHL_ADM", RNGSHL_PDP . "admin/");      // view OR templates System for admin panel
    2424
    2525require_once 'includes/class.init.php';
Note: See TracChangeset for help on using the changeset viewer.