Changeset 1320215
- Timestamp:
- 01/03/2016 10:59:08 AM (10 years ago)
- Location:
- genoo/trunk
- Files:
-
- 4 edited
-
Genoo.php (modified) (1 diff)
-
libs/Genoo/Frontend.php (modified) (2 diffs)
-
libs/Genoo/Wordpress/Action.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
genoo/trunk/Genoo.php
r1314410 r1320215 6 6 Author URI: http://www.genoo.com/ 7 7 Author Email: info@genoo.com 8 Version: 3.3 8 Version: 3.3.1 9 9 License: GPLv2 10 10 Text Domain: genoo -
genoo/trunk/libs/Genoo/Frontend.php
r1297241 r1320215 281 281 } 282 282 } 283 // Fire filter to add additional Modals if needed by extensions 284 // TODO: convert to Filter::apply() 285 apply_filters('wpmktengine_footer_modals', $footerModals); 283 286 // Add open modal javascript for PopOver (if set) 284 287 if(isset($footerPopOverData) && !empty($footerPopOverData)){ … … 308 311 .'<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">' 309 312 .'<title>'. $subscribe .'</title>'; 310 wp_head();313 wp_head(); 311 314 echo '</head>'; 312 315 echo '<body class="genooMobileWindow '. $bodyClass .'">'; -
genoo/trunk/libs/Genoo/Wordpress/Action.php
r1121144 r1320215 79 79 */ 80 80 81 public static function run($t, $arg s)81 public static function run($t, $arg) 82 82 { 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); 84 97 } 85 98 } -
genoo/trunk/readme.txt
r1314410 r1320215 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html 8 Stable tag: 3.3 8 Stable tag: 3.3.1 9 9 10 10 Combine the flexibility of WordPress with the power of Genoo and experience amazing results! … … 67 67 68 68 == Changelog == 69 70 = 3.3.1 = 71 * Added hooks for extensions to append modal windows 69 72 70 73 = 3.3 =
Note: See TracChangeset
for help on using the changeset viewer.