Plugin Directory

Changeset 1320215


Ignore:
Timestamp:
01/03/2016 10:59:08 AM (10 years ago)
Author:
latorante
Message:

Updating to version 3.3.1

Location:
genoo/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • genoo/trunk/Genoo.php

    r1314410 r1320215  
    66    Author URI: http://www.genoo.com/
    77    Author Email: info@genoo.com
    8     Version: 3.3
     8    Version: 3.3.1
    99    License: GPLv2
    1010    Text Domain: genoo
  • genoo/trunk/libs/Genoo/Frontend.php

    r1297241 r1320215  
    281281                }
    282282            }
     283            // Fire filter to add additional Modals if needed by extensions
     284            // TODO: convert to Filter::apply()
     285            apply_filters('wpmktengine_footer_modals', $footerModals);
    283286            // Add open modal javascript for PopOver (if set)
    284287            if(isset($footerPopOverData) && !empty($footerPopOverData)){
     
    308311            .'<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">'
    309312            .'<title>'. $subscribe .'</title>';
    310             wp_head();
     313        wp_head();
    311314        echo '</head>';
    312315        echo '<body class="genooMobileWindow '. $bodyClass .'">';
  • genoo/trunk/libs/Genoo/Wordpress/Action.php

    r1121144 r1320215  
    7979     */
    8080
    81     public static function run($t, $args)
     81    public static function run($t, $arg)
    8282    {
    83         do_action($t, $args);
     83        // Deconstruct arguments
     84        $args = array();
     85        if ( is_array($arg) && 1 == count($arg) && isset($arg[0]) && is_object($arg[0]) ){
     86            $args[] =& $arg[0];
     87        } else {
     88            $args[] = $arg;
     89            for ($a = 2, $num = func_num_args(); $a < $num; $a++){
     90                $args[] = func_get_arg($a);
     91            }
     92        }
     93        // Push tag as first
     94        array_unshift($args, $t);
     95        // Call do_action
     96        call_user_func_array('do_action', $args);
    8497    }
    8598}
  • genoo/trunk/readme.txt

    r1314410 r1320215  
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    8 Stable tag: 3.3
     8Stable tag: 3.3.1
    99
    1010Combine the flexibility of WordPress with the power of Genoo and experience amazing results!
     
    6767
    6868== Changelog ==
     69
     70= 3.3.1 =
     71* Added hooks for extensions to append modal windows
    6972
    7073= 3.3 =
Note: See TracChangeset for help on using the changeset viewer.