Changeset 1408951
- Timestamp:
- 05/02/2016 02:25:50 PM (10 years ago)
- Location:
- jumpout/trunk
- Files:
-
- 3 edited
-
class.php (modified) (1 diff)
-
launch.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
jumpout/trunk/class.php
r1341556 r1408951 33 33 private 34 34 $settings, $settings_default, $jo_url, $popupfiles_domain, 35 $version = '3.1. 2';35 $version = '3.1.3'; 36 36 37 37 function JumpOut() -
jumpout/trunk/launch.php
r1341556 r1408951 4 4 Plugin URI: http://makedreamprofits.ru/jo/ 5 5 Description: Устанавливайте JumpOut попапы в один клик с нашим плагином для Вордпресс! 6 Version: 3.1. 26 Version: 3.1.3 7 7 Author: MakeDreamProfits 8 8 Author URI: http://makedreamprofits.ru … … 43 43 add_action('admin_init', array($JumpOut, 'addScripts')); 44 44 } else { 45 //echo $_SERVER['REQUEST_URI']; 46 47 $execute = TRUE; 48 if (isset($_SERVER['REQUEST_URI'])) { 49 $request_uri = strtok($_SERVER['REQUEST_URI'], '?'); 50 51 // if its .xml or .xsl - ignoring such files 52 // https://trello.com/c/nm1A8MuN/2211-jo-xml-sitemap 53 $url = explode('/', $request_uri); 54 $url = $url[count($url) - 1]; 55 56 if (FALSE !== strpos($url, '.')) { 57 if (in_array(substr($url, 1 + strpos($url, '.')), array('xml', 'xsl'))) { 58 $execute = FALSE; 59 } 60 } 61 62 // ignoring the login page 63 if (strpos($request_uri, 'wp-login')) { 64 $execute = FALSE; 65 } 66 } 67 68 //wp-login.php 69 70 71 if ($execute) { 72 add_action('init', array($JumpOut, 'frontendStart'), 0); 73 add_action('shutdown', array($JumpOut, 'frontendEnd'), 1000); 74 75 add_action('wp_head', array($JumpOut, 'frontendHeader')); 76 } 77 78 45 79 //add_action('wp_footer', array($JumpOut, 'frontendFooter')); 46 add_action('init', array($JumpOut, 'frontendStart'), 0);47 add_action('shutdown', array($JumpOut, 'frontendEnd'), 1000);48 49 add_action('wp_head', array($JumpOut, 'frontendHeader'));50 80 51 81 //add_action('init', array($JumpOut, 'frontendStart'), 0); -
jumpout/trunk/readme.txt
r1357355 r1408951 3 3 Tags: popup, jumpout 4 4 Requires at least: 2.5.0 5 Tested up to: 4. 45 Tested up to: 4.5.1 6 6 Stable tag: trunk 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 The plugin is for simplifying installation of Jumpoutpopups on your website.10 The plugin is simplifying installation of [Jumpout](http://makedreamprofits.com/jo/) popups on your website. 11 11 12 12 == Description ==
Note: See TracChangeset
for help on using the changeset viewer.