Plugin Directory

Changeset 1069129


Ignore:
Timestamp:
01/16/2015 06:57:31 AM (11 years ago)
Author:
themeavenue
Message:

Update to 1.2.4

Location:
betteroptin/trunk
Files:
253 added
21 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • betteroptin/trunk/admin/assets/js/ta-live-editor.js

    r987854 r1069129  
    2424    }
    2525
     26    // Make the function global
     27    // http://stackoverflow.com/a/2223370
     28    jQuery.taedNoSelection = function taedNoSelection() {
     29        $('.taed-elem-active').removeClass('taed-elem-active');
     30        $('.taed-sidebar-active').removeClass('taed-sidebar-active');
     31        $('.taed-field-active').removeClass('taed-field-active');
     32        $('.wrap').removeClass('wrap-has-sidebar');
     33    };
     34
    2635    $(function () {
    2736
     
    3645        }
    3746
    38         function noSelection() {
    39             $('.taed-elem-active').removeClass('taed-elem-active');
    40             $('.taed-sidebar-active').removeClass('taed-sidebar-active');
    41             $('.taed-field-active').removeClass('taed-field-active');
    42             $('.wrap').removeClass('wrap-has-sidebar');
    43         }
    44 
    4547        elSidebar.on('click', function (e) {
    4648            e.stopPropagation();
     
    5355
    5456        $('#wpwrap').on('click', function () {
    55             noSelection();
     57            $.taedNoSelection();
    5658        });
    5759
     
    151153            e.stopPropagation();
    152154            e.preventDefault();
    153             noSelection();
     155            $.taedNoSelection();
    154156
    155157            // Show sidebar & Buttons
     
    260262                        });
    261263                    } else {
     264                        formControl.autosize();
    262265                        formControl.val($this.text()).trigger('autosize.resize');
    263266                        formControl.on('change keyup', function (e) {
    264267                            e.preventDefault();
    265                             $(document).find('.taed-elem-active').text($(this).val());
     268
     269                            /*
     270                            Trigger matchHeight & Autosize
     271                             */
    266272                            $.fn.matchHeight._update();
     273                            formControl.trigger('autosize.resize');
     274
     275                            /*
     276                            Make sure to only edit the editable part
     277                            And prevent the icon from being wiped out
     278                             */
     279                            if ($this.find('span.taed-textEdit').length !== 0) {
     280                                $(document).find('.taed-elem-active span.taed-textEdit').text($(this).val());
     281                            } else {
     282                                $(document).find('.taed-elem-active').text($(this).val());
     283                            }
    267284                        });
    268285                    }
  • betteroptin/trunk/admin/includes/class-titan-framework.php

    r987854 r1069129  
    5959        // Use the embedded Titan Framework
    6060        if ( $useEmbeddedFramework && ! class_exists( 'TitanFramework' ) ) {
    61             require_once( WPBO_PATH . 'vendor/titan-framework/titan-framework.php' );
     61            require_once( WPBO_PATH . 'vendor/gambitph/titan-framework/titan-framework.php' );
    6262        }
    6363
  • betteroptin/trunk/better-optin.php

    r1003171 r1069129  
    1313 * Plugin URI:        http://betteropt.in/
    1414 * Description:       BetterOptin helps you convert your visitors in subscribers and fill up your mailing lists.
    15  * Version:           1.2.3
     15 * Version:           1.2.4
    1616 * Author:            ThemeAvenue
    1717 * Author URI:        http://themeavenue.net
     
    2828
    2929/* Define all the plugin constants */
    30 define( 'WPBO_URL', plugin_dir_url( __FILE__ ) );
    31 define( 'WPBO_PATH', plugin_dir_path( __FILE__ ) );
     30define( 'WPBO_URL',      trailingslashit( plugin_dir_url( __FILE__ ) ) );
     31define( 'WPBO_PATH',     trailingslashit( plugin_dir_path( __FILE__ ) ) );
    3232define( 'WPBO_BASENAME', plugin_basename(__FILE__) );
    3333
  • betteroptin/trunk/public/class-better-optin.php

    r1003171 r1069129  
    2323     * @var     string
    2424     */
    25     const VERSION = '1.2.3';
     25    const VERSION = '1.2.4';
    2626
    2727    /**
     
    242242        /* The WordPress addon is build-in the core plugin */
    243243        $load = array(
    244             'WPBO_WordPress' => str_replace( array( '/public', '\public' ), '', plugin_dir_path( __FILE__ ) ) . 'includes/addons/wordpress/class-wordpress.php'
     244            'WPBO_WordPress' => WPBO_PATH . 'includes/addons/wordpress/class-wordpress.php'
    245245        );
    246246
  • betteroptin/trunk/readme.txt

    r1008952 r1069129  
    55Requires at least: 3.5.1
    66Tested up to: 4.0
    7 Stable tag: 1.2.3
     7Stable tag: 1.2.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    124124== Changelog ==
    125125
     126= 1.2.4 =
     127* Fix potential issue with add-ons loading
     128* Update Titan Framework
     129
    126130= 1.2.3 =
    127131* Fix colorpicker not loading on popup customizer screen
  • betteroptin/trunk/vendor/autoload.php

    r1002394 r1069129  
    55require_once __DIR__ . '/composer' . '/autoload_real.php';
    66
    7 return ComposerAutoloaderInit7ba040913c655ced94c5d9d7e981a3d3::getLoader();
     7return ComposerAutoloaderInit6766ab4e4b81cf6b3c48f6571158db1d::getLoader();
  • betteroptin/trunk/vendor/composer/ClassLoader.php

    r1002394 r1069129  
    5757    public function getPrefixes()
    5858    {
    59         return call_user_func_array('array_merge', $this->prefixesPsr0);
     59        if (!empty($this->prefixesPsr0)) {
     60            return call_user_func_array('array_merge', $this->prefixesPsr0);
     61        }
     62
     63        return array();
    6064    }
    6165
  • betteroptin/trunk/vendor/composer/autoload_real.php

    r1002394 r1069129  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit7ba040913c655ced94c5d9d7e981a3d3
     5class ComposerAutoloaderInit6766ab4e4b81cf6b3c48f6571158db1d
    66{
    77    private static $loader;
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInit7ba040913c655ced94c5d9d7e981a3d3', 'loadClassLoader'), true, true);
     22        spl_autoload_register(array('ComposerAutoloaderInit6766ab4e4b81cf6b3c48f6571158db1d', 'loadClassLoader'), true, true);
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit7ba040913c655ced94c5d9d7e981a3d3', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInit6766ab4e4b81cf6b3c48f6571158db1d', 'loadClassLoader'));
    2525
    2626        $map = require __DIR__ . '/autoload_namespaces.php';
     
    4141        $loader->register(true);
    4242
     43        $includeFiles = require __DIR__ . '/autoload_files.php';
     44        foreach ($includeFiles as $file) {
     45            composerRequire6766ab4e4b81cf6b3c48f6571158db1d($file);
     46        }
     47
    4348        return $loader;
    4449    }
    4550}
    4651
    47 function composerRequire7ba040913c655ced94c5d9d7e981a3d3($file)
     52function composerRequire6766ab4e4b81cf6b3c48f6571158db1d($file)
    4853{
    4954    require $file;
  • betteroptin/trunk/vendor/composer/installed.json

    r1002394 r1069129  
    11[
    22    {
    3         "name": "titan-framework",
    4         "version": "dev-master",
    5         "version_normalized": "9999999-dev",
     3        "name": "gambitph/titan-framework",
     4        "version": "v1.7.3",
     5        "version_normalized": "1.7.3.0",
     6        "source": {
     7            "type": "git",
     8            "url": "https://github.com/gambitph/Titan-Framework.git",
     9            "reference": "c083fa441a2fe77c485385782b7eb606220e3cf5"
     10        },
    611        "dist": {
    712            "type": "zip",
    8             "url": "https://github.com/gambitph/Titan-Framework/archive/master.zip",
    9             "reference": null,
    10             "shasum": null
     13            "url": "https://api.github.com/repos/gambitph/Titan-Framework/zipball/c083fa441a2fe77c485385782b7eb606220e3cf5",
     14            "reference": "c083fa441a2fe77c485385782b7eb606220e3cf5",
     15            "shasum": ""
    1116        },
     17        "time": "2014-12-22 07:58:51",
    1218        "type": "library",
    13         "installation-source": "dist"
     19        "installation-source": "dist",
     20        "autoload": {
     21            "files": [
     22                "titan-framework.php"
     23            ]
     24        },
     25        "notification-url": "https://packagist.org/downloads/",
     26        "license": [
     27            "GPLv2+"
     28        ],
     29        "authors": [
     30            {
     31                "name": "Gambit Technologies",
     32                "email": "[email protected]",
     33                "homepage": "http://www.titanframework.net/",
     34                "role": "Developer"
     35            }
     36        ],
     37        "description": "Titan Framework allows theme and plugin developers to create admin pages, options, meta boxes, and theme customizer options with just a few simple lines of code.",
     38        "homepage": "https://github.com/gambitph/Titan-Framework",
     39        "keywords": [
     40            "Titan Framework",
     41            "wordpress"
     42        ]
    1443    }
    1544]
Note: See TracChangeset for help on using the changeset viewer.