Changeset 2058926
- Timestamp:
- 03/28/2019 01:25:44 PM (7 years ago)
- File:
-
- 1 edited
-
wh-eyecatcher/trunk/wh-eyecatcher.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wh-eyecatcher/trunk/wh-eyecatcher.php
r1857832 r2058926 4 4 Plugin URI: https://wordpress-handbuch.com/wh-eyecatcher 5 5 Description: Add a floating slogan to eyery page of your website 6 Version: 1.0. 06 Version: 1.0.1 7 7 Author: WordPress-Handbuch 8 8 Author URI: https://wordpress-handbuch.com 9 Copyright 201 8Richard Eisenmenger9 Copyright 2019 Richard Eisenmenger 10 10 This program is free software; you can redistribute it and/or modify 11 11 it under the terms of the GNU General Public License, version 2, as … … 20 20 */ 21 21 if( !defined( 'WH_EYECATCHER_VERSION' ) ) 22 define( 'WH_EYECATCHER_VERSION', '1.0. 0' );22 define( 'WH_EYECATCHER_VERSION', '1.0.1' ); 23 23 24 24 class WH_Eyecatcher { 25 25 static $instance = false; 26 26 private function __construct() { 27 // back end 28 add_action ( 'init', array( $this, 'load_textdomain' ), 1 ); 27 add_action( 'init', array( $this, 'load_textdomain' ), 1 ); 29 28 add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) ); 30 29 add_action( 'admin_init', array( $this, 'page_init' ) ); … … 55 54 56 55 public function admin_scripts() { 57 wp_enqueue_script( 'wh-eyecatc er-admin', plugins_url('lib/js/admin.js', __FILE__), array(), WH_EYECATCHER_VERSION, 'all' );56 wp_enqueue_script( 'wh-eyecatcher-admin', plugins_url('lib/js/admin.js', __FILE__), array(), WH_EYECATCHER_VERSION, 'all' ); 58 57 } 59 58
Note: See TracChangeset
for help on using the changeset viewer.