Version Description
- WP3.3 style updating
Download this release
Release Info
| Developer | WPMUDEV |
| Plugin | |
| Version | 3.1.4 |
| Comparing to | |
| See all releases | |
Code changes from version 3.1.3 to 3.1.4
- popover.php +1 -1
- popoverincludes/classes/popoveradmin.php +9 -1
- readme.txt +5 -2
popover.php
CHANGED
|
@@ -4,7 +4,7 @@ Plugin Name: WordPress Popup plugin
|
|
| 4 |
Plugin URI: http://premium.wpmudev.org
|
| 5 |
Description: This plugin adds a customisable popover to a site. The content, size, position can be changed and rules determining if the popup should show or not.
|
| 6 |
Author: Barry (Incsub)
|
| 7 |
-
Version: 3.1.
|
| 8 |
Author URI: http://caffeinatedb.com
|
| 9 |
WDP ID: 230
|
| 10 |
|
| 4 |
Plugin URI: http://premium.wpmudev.org
|
| 5 |
Description: This plugin adds a customisable popover to a site. The content, size, position can be changed and rules determining if the popup should show or not.
|
| 6 |
Author: Barry (Incsub)
|
| 7 |
+
Version: 3.1.4
|
| 8 |
Author URI: http://caffeinatedb.com
|
| 9 |
WDP ID: 230
|
| 10 |
|
popoverincludes/classes/popoveradmin.php
CHANGED
|
@@ -170,10 +170,18 @@ if(!class_exists('popoveradmin')) {
|
|
| 170 |
|
| 171 |
function add_admin_header_popover() {
|
| 172 |
|
|
|
|
|
|
|
| 173 |
wp_enqueue_script('popoveradminjs', popover_url('popoverincludes/js/popoveradmin.js'), array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), $this->build);
|
| 174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
|
| 176 |
$this->update_admin_header_popover();
|
|
|
|
| 177 |
}
|
| 178 |
|
| 179 |
function handle_admin_panel() {
|
| 170 |
|
| 171 |
function add_admin_header_popover() {
|
| 172 |
|
| 173 |
+
global $wp_version;
|
| 174 |
+
|
| 175 |
wp_enqueue_script('popoveradminjs', popover_url('popoverincludes/js/popoveradmin.js'), array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), $this->build);
|
| 176 |
+
|
| 177 |
+
if(version_compare( preg_replace('/-.*$/', '', $wp_version), "3.3", '<')) {
|
| 178 |
+
wp_enqueue_style('popoveradmincss', popover_url('popoverincludes/css/popoveradmin.css'), array('widgets'), $this->build);
|
| 179 |
+
} else {
|
| 180 |
+
wp_enqueue_style('popoveradmincss', popover_url('popoverincludes/css/popoveradmin.css'), array(), $this->build);
|
| 181 |
+
}
|
| 182 |
|
| 183 |
$this->update_admin_header_popover();
|
| 184 |
+
|
| 185 |
}
|
| 186 |
|
| 187 |
function handle_admin_panel() {
|
readme.txt
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
Contributors: WPMUDEV
|
| 3 |
Tags: buddypress, wpmu, wpmu plugin, buddypress plugin, making money, seo, Advertising, multisite, Advertising
|
| 4 |
Requires at least: 3.1
|
| 5 |
-
Tested up to: 3.
|
| 6 |
-
Stable tag: 3.1.
|
| 7 |
|
| 8 |
Allows you to display a fancy popup (powered as a popover!) to visitors sitewide or per blog, a *very* effective way of advertising a mailing list.
|
| 9 |
|
|
@@ -68,5 +68,8 @@ For blog by blog control - comment out the PO_GLOBAL line at the top of the plug
|
|
| 68 |
|
| 69 |
== Changelog ==
|
| 70 |
|
|
|
|
|
|
|
|
|
|
| 71 |
= 3.0 =
|
| 72 |
* Initial release
|
| 2 |
Contributors: WPMUDEV
|
| 3 |
Tags: buddypress, wpmu, wpmu plugin, buddypress plugin, making money, seo, Advertising, multisite, Advertising
|
| 4 |
Requires at least: 3.1
|
| 5 |
+
Tested up to: 3.3
|
| 6 |
+
Stable tag: 3.1.4
|
| 7 |
|
| 8 |
Allows you to display a fancy popup (powered as a popover!) to visitors sitewide or per blog, a *very* effective way of advertising a mailing list.
|
| 9 |
|
| 68 |
|
| 69 |
== Changelog ==
|
| 70 |
|
| 71 |
+
= 3.1.4 =
|
| 72 |
+
* WP3.3 style updating
|
| 73 |
+
|
| 74 |
= 3.0 =
|
| 75 |
* Initial release
|
