Plugin Directory

Changeset 918123


Ignore:
Timestamp:
05/20/2014 07:05:54 PM (12 years ago)
Author:
hintsolutions
Message:

Updated options check - version 1.9.8

Location:
profit-button/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • profit-button/trunk/probtn.php

    r885519 r918123  
    11<?php
     2
     3error_reporting(E_ERROR);
     4
    25/**
    36 * Plugin Name: Floating Button
    47 * Plugin URI: http://probtn.com
    58 * Description: Floating Button is an interactive element that used to show custom content inside your application. If the button is tapped then the popup with Browser would open. The url in the Browser is set using settings on our server.
    6  * Version: 1.9.7
     9 * Version: 1.9.8
    710 * Author: hintsolutions
    811 * Author URI: http://probtn.com
     
    8083    }
    8184    $url = '';
    82     $url .= implode('&amp;', array_map('urlify', array_keys($options), $options));
     85    if (gettype($options)=="array") {
     86        $url .= implode('&amp;', array_map('urlify', array_keys($options), $options));
     87    };
    8388    wp_register_script( 'probtn-start-script', plugins_url("start_probtn.php?mainStyleCss=".$mainStyleCss."&jqueryPepPath=".$jqueryPepPath."&".$url, __FILE__), array( 'jquery' ) );
    8489    wp_enqueue_script( 'probtn-start-script' );
  • profit-button/trunk/readme.txt

    r885519 r918123  
    55Requires at least: 3.3
    66Tested up to: 3.5.1
    7 Stable tag: 1.9.7
     7Stable tag: 1.9.8
    88License: Licenced under LGPL
    99License URI: http://opensource.org/licenses/LGPL-3.0
     
    8282== Changelog ==
    8383
     84= 1.9.8=
     85Added options check
     86
    8487= 1.9.7=
    8588Fixed jquery.pep.js path for start_button init script
Note: See TracChangeset for help on using the changeset viewer.