Plugin Directory

Changeset 1982989


Ignore:
Timestamp:
11/30/2018 04:18:49 AM (7 years ago)
Author:
namncn
Message:

up ver 1.0.7

Location:
hotline-phone-ring/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • hotline-phone-ring/trunk/hotline-phone-ring.php

    r1956428 r1982989  
    44 * Plugin URI: https://namncn.com/plugins/hotline-phone-ring/
    55 * Description: Fixed Hotline on the screen.
    6  * Version: 1.0.6
     6 * Version: 1.0.7
    77 * Author: Nam Truong
    88 * Author URI: https://namncn.com
     
    1919
    2020// Define.
    21 define( 'HPR_VERSION', '1.0.6' );
     21define( 'HPR_VERSION', '1.0.7' );
    2222define( 'HPR_FILE', __FILE__ );
    2323define( 'HPR_PATH', plugin_dir_path( HPR_FILE ) );
  • hotline-phone-ring/trunk/includes/class-hotline-phone-ring.php

    r1956428 r1982989  
    3535     */
    3636    public function __construct() {
    37         add_action( 'plugins_loaded', [ $this, 'init_hooks' ] );
     37        add_action( 'plugins_loaded', array( $this, 'init_hooks' ) );
    3838    }
    3939
     
    4646     */
    4747    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' ) );
    5050        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 );
    5252
    5353        if ( isset( $_REQUEST['page'] ) && 'hotline-phone-ring' == $_REQUEST['page'] ) {
     
    8181                $cap      = 'manage_options';
    8282                $slug     = 'hotline-phone-ring';
    83                 $func     = [ $this, 'backend' ];
     83                $func     = array( $this, 'backend' );
    8484                $icon     = 'dashicons-phone';
    8585                $position = 500;
  • hotline-phone-ring/trunk/languages/hotline-phone-ring-vi.po

    r1956428 r1982989  
    44"Report-Msgid-Bugs-To: \n"
    55"POT-Creation-Date: 2018-10-14 05:23+0000\n"
    6 "PO-Revision-Date: 2018-10-14 05:58+0000\n"
     6"PO-Revision-Date: 2018-11-30 04:15+0000\n"
    77"Last-Translator: phoenixdigi <quantri@phoenixdigi.vn>\n"
    88"Language-Team: Tiếng Việt\n"
     
    4646#: includes/backend.php:31
    4747msgid "Hide Hotline Bar"
    48 msgstr "Thanh chứa số điện thoại"
     48msgstr "Ẩn thanh chứa số điện thoại"
    4949
    5050#: includes/backend.php:23 includes/class-hotline-phone-ring.php:164
  • hotline-phone-ring/trunk/readme.txt

    r1956428 r1982989  
    5656= 1.0.6 =
    5757* Vietnamese language support.
     58
     59= 1.0.7 =
     60* Fix bug.
Note: See TracChangeset for help on using the changeset viewer.