Changeset 1982989
- Timestamp:
- 11/30/2018 04:18:49 AM (7 years ago)
- Location:
- hotline-phone-ring/trunk
- Files:
-
- 5 edited
-
hotline-phone-ring.php (modified) (2 diffs)
-
includes/class-hotline-phone-ring.php (modified) (3 diffs)
-
languages/hotline-phone-ring-vi.mo (modified) (previous)
-
languages/hotline-phone-ring-vi.po (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hotline-phone-ring/trunk/hotline-phone-ring.php
r1956428 r1982989 4 4 * Plugin URI: https://namncn.com/plugins/hotline-phone-ring/ 5 5 * Description: Fixed Hotline on the screen. 6 * Version: 1.0. 66 * Version: 1.0.7 7 7 * Author: Nam Truong 8 8 * Author URI: https://namncn.com … … 19 19 20 20 // Define. 21 define( 'HPR_VERSION', '1.0. 6' );21 define( 'HPR_VERSION', '1.0.7' ); 22 22 define( 'HPR_FILE', __FILE__ ); 23 23 define( 'HPR_PATH', plugin_dir_path( HPR_FILE ) ); -
hotline-phone-ring/trunk/includes/class-hotline-phone-ring.php
r1956428 r1982989 35 35 */ 36 36 public function __construct() { 37 add_action( 'plugins_loaded', [ $this, 'init_hooks' ]);37 add_action( 'plugins_loaded', array( $this, 'init_hooks' ) ); 38 38 } 39 39 … … 46 46 */ 47 47 public function init_hooks() { 48 add_action( 'admin_menu', [ $this, 'menu' ]);49 add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ]);48 add_action( 'admin_menu', array( $this, 'menu' ) ); 49 add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); 50 50 add_action( 'wp_footer', array( $this, 'frontend' ) ); 51 add_filter( 'admin_footer_text', [ $this, 'admin_footer_text' ], 500 );51 add_filter( 'admin_footer_text', array( $this, 'admin_footer_text' ), 500 ); 52 52 53 53 if ( isset( $_REQUEST['page'] ) && 'hotline-phone-ring' == $_REQUEST['page'] ) { … … 81 81 $cap = 'manage_options'; 82 82 $slug = 'hotline-phone-ring'; 83 $func = [ $this, 'backend' ];83 $func = array( $this, 'backend' ); 84 84 $icon = 'dashicons-phone'; 85 85 $position = 500; -
hotline-phone-ring/trunk/languages/hotline-phone-ring-vi.po
r1956428 r1982989 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2018-10-14 05:23+0000\n" 6 "PO-Revision-Date: 2018-1 0-14 05:58+0000\n"6 "PO-Revision-Date: 2018-11-30 04:15+0000\n" 7 7 "Last-Translator: phoenixdigi <quantri@phoenixdigi.vn>\n" 8 8 "Language-Team: Tiếng Việt\n" … … 46 46 #: includes/backend.php:31 47 47 msgid "Hide Hotline Bar" 48 msgstr " Thanh chứa số điện thoại"48 msgstr "Ẩn thanh chứa số điện thoại" 49 49 50 50 #: includes/backend.php:23 includes/class-hotline-phone-ring.php:164 -
hotline-phone-ring/trunk/readme.txt
r1956428 r1982989 56 56 = 1.0.6 = 57 57 * Vietnamese language support. 58 59 = 1.0.7 = 60 * Fix bug.
Note: See TracChangeset
for help on using the changeset viewer.