Changeset 1325318
- Timestamp:
- 01/10/2016 04:35:36 PM (10 years ago)
- File:
-
- 1 edited
-
wp-developers-toolbox/trunk/wp-debug-switcher.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-developers-toolbox/trunk/wp-debug-switcher.php
r1325261 r1325318 6 6 * Version: 1.0 7 7 * Text Domain: wp-debug-switcher 8 * Domain Path: /lang 8 * Domain Path: /lang/ 9 9 * Author: James Read 10 10 * Author URI: https://readwebtechnology.com/ … … 12 12 */ 13 13 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 14 15 function load_plugin_textdomain() { 16 load_plugin_textdomain( 'wp-debug-switcher', FALSE, basename( dirname( __FILE__ ) ) . '/lang/' ); 17 } 18 add_action( 'plugins_loaded', 'load_plugin_textdomain' ); 19 14 20 // Assign global variables 15 21 $plugin_url = plugins_url( '' , __FILE__ );
Note: See TracChangeset
for help on using the changeset viewer.