Version Description
- Remove some script
Download this release
Release Info
Developer | kubiq |
Plugin | MouseWheel Smooth Scroll |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- mousewheel-smooth-scroll.php +2 -8
- readme.txt +6 -3
mousewheel-smooth-scroll.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: MouseWheel Smooth Scroll
|
4 |
Plugin URI: http://kubiq.sk
|
5 |
Description: MouseWheel smooth scrolling for your WordPress website
|
6 |
-
Version: 1.0.
|
7 |
Author: Jakub Novák
|
8 |
Author URI: http://kubiq.sk
|
9 |
*/
|
@@ -18,12 +18,9 @@ if (!class_exists('wpmss')) {
|
|
18 |
function wpmss_func(){ $this->__construct(); }
|
19 |
|
20 |
function __construct(){
|
21 |
-
// translating strings
|
22 |
$mo = plugin_dir_path(__FILE__) . 'languages/' . $this->domain . '-' . get_locale() . '.mo';
|
23 |
load_textdomain($this->domain, $mo);
|
24 |
-
// add plugin to menu
|
25 |
add_action( 'admin_menu', array( &$this, 'plugin_menu_link' ) );
|
26 |
-
// action on plugin initializing
|
27 |
add_action( 'init', array( &$this, "plugin_init" ) );
|
28 |
}
|
29 |
|
@@ -73,13 +70,10 @@ if (!class_exists('wpmss')) {
|
|
73 |
}
|
74 |
|
75 |
function admin_options_page() {
|
76 |
-
// check if this is plugin admin page
|
77 |
if ( get_current_screen()->id != $this->plugin_admin_page ) return;
|
78 |
-
// get current tab
|
79 |
$this->tab = ( isset( $_GET['tab'] ) ) ? $_GET['tab'] : 'general';
|
80 |
if(isset($_POST['plugin_sent'])) $this->settings[ $this->tab ] = $_POST;
|
81 |
-
update_option( "wpmss_settings", $this->settings );
|
82 |
-
// display content ?>
|
83 |
<div class="wrap">
|
84 |
<h2><?php _e( 'MouseWheel Smooth Scroll', $this->domain ); ?></h2>
|
85 |
<?php if(isset($_POST['plugin_sent'])) echo '<div id="message" class="below-h2 updated"><p>'.__( 'Settings saved.' ).'</p></div>'; ?>
|
3 |
Plugin Name: MouseWheel Smooth Scroll
|
4 |
Plugin URI: http://kubiq.sk
|
5 |
Description: MouseWheel smooth scrolling for your WordPress website
|
6 |
+
Version: 1.0.4
|
7 |
Author: Jakub Novák
|
8 |
Author URI: http://kubiq.sk
|
9 |
*/
|
18 |
function wpmss_func(){ $this->__construct(); }
|
19 |
|
20 |
function __construct(){
|
|
|
21 |
$mo = plugin_dir_path(__FILE__) . 'languages/' . $this->domain . '-' . get_locale() . '.mo';
|
22 |
load_textdomain($this->domain, $mo);
|
|
|
23 |
add_action( 'admin_menu', array( &$this, 'plugin_menu_link' ) );
|
|
|
24 |
add_action( 'init', array( &$this, "plugin_init" ) );
|
25 |
}
|
26 |
|
70 |
}
|
71 |
|
72 |
function admin_options_page() {
|
|
|
73 |
if ( get_current_screen()->id != $this->plugin_admin_page ) return;
|
|
|
74 |
$this->tab = ( isset( $_GET['tab'] ) ) ? $_GET['tab'] : 'general';
|
75 |
if(isset($_POST['plugin_sent'])) $this->settings[ $this->tab ] = $_POST;
|
76 |
+
update_option( "wpmss_settings", $this->settings ); ?>
|
|
|
77 |
<div class="wrap">
|
78 |
<h2><?php _e( 'MouseWheel Smooth Scroll', $this->domain ); ?></h2>
|
79 |
<?php if(isset($_POST['plugin_sent'])) echo '<div id="message" class="below-h2 updated"><p>'.__( 'Settings saved.' ).'</p></div>'; ?>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: kubiq
|
|
3 |
Donate link: http://kubiq.sk
|
4 |
Tags: smooth scroll, mousewheel scroll, scrolling
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -43,4 +43,7 @@ Replace basic scrolling "effect" on Windows, Linux and some browsers with nice s
|
|
43 |
* Improve / change default settings
|
44 |
|
45 |
= 1.0.3 =
|
46 |
-
* Update scroll script
|
|
|
|
|
|
3 |
Donate link: http://kubiq.sk
|
4 |
Tags: smooth scroll, mousewheel scroll, scrolling
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 4.2
|
7 |
+
Stable tag: 1.0.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
43 |
* Improve / change default settings
|
44 |
|
45 |
= 1.0.3 =
|
46 |
+
* Update scroll script
|
47 |
+
|
48 |
+
= 1.0.4 =
|
49 |
+
* Remove some script
|