Changeset 1791047
- Timestamp:
- 12/22/2017 05:03:04 AM (8 years ago)
- Location:
- wp-click-2-chat/trunk
- Files:
-
- 4 added
- 2 edited
-
languages (added)
-
languages/wc2c-he_IL.mo (added)
-
languages/wc2c-he_IL.po (added)
-
languages/wc2c.pot (added)
-
readme.txt (modified) (1 diff)
-
wp-click-2-chat.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-click-2-chat/trunk/readme.txt
r1790876 r1791047 3 3 Requires at least: 3.8 4 4 Tested up to: 4.9.1 5 Stable tag: 1.2. 35 Stable tag: 1.2.4 6 6 License: GPLv2 7 7 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
wp-click-2-chat/trunk/wp-click-2-chat.php
r1790875 r1791047 7 7 * Author: WP Click 2 Chat 8 8 * Text Domain: wc2c 9 * Text Domain: /languages10 9 */ 11 10 … … 72 71 73 72 73 74 75 // for plugins language 76 add_action( 'init', 'wc2c_load_plugin_textdomain' ); 77 function wc2c_load_plugin_textdomain() { 78 load_plugin_textdomain( 'wc2c', false, basename( dirname( __FILE__ ) ) . '/languages' ); 79 } 80 81 82 74 83 //////////////////////////////////////////////////////// 75 84 // Adding item to settings menu of the admin: … … 87 96 function wc2c_plugin_options() { 88 97 global $wc2c_options_key; 98 99 89 100 if ( !current_user_can( 'manage_options') ) { 90 101 wp_die( __( 'You do not have sufficient permissions to access this page.', 'wc2c' ) );
Note: See TracChangeset
for help on using the changeset viewer.