Changeset 3424963
- Timestamp:
- 12/21/2025 11:44:22 PM (3 months ago)
- Location:
- genoo/trunk
- Files:
-
- 16 edited
-
Genoo.php (modified) (1 diff)
-
libs/Genoo/Admin.php (modified) (2 diffs)
-
libs/Genoo/Frontend.php (modified) (1 diff)
-
libs/WPME/Extensions/Clever/Plugins.php (modified) (2 diffs)
-
libs/WPME/Nag/Nag.php (modified) (1 diff)
-
libs/WPMKTENGINE/Cache.php (modified) (1 diff)
-
libs/WPMKTENGINE/HtmlForm.php (modified) (1 diff)
-
libs/WPMKTENGINE/RepositoryLumens.php (modified) (1 diff)
-
libs/WPMKTENGINE/Table.php (modified) (1 diff)
-
libs/WPMKTENGINE/Utils/Strings.php (modified) (2 diffs)
-
libs/WPMKTENGINE/Wordpress/Metabox.php (modified) (2 diffs)
-
libs/WPMKTENGINE/Wordpress/MetaboxCTA.php (modified) (1 diff)
-
libs/WPMKTENGINE/Wordpress/Settings.php (modified) (1 diff)
-
libs/WPMKTENGINE/Wordpress/TableLite.php (modified) (1 diff)
-
libs/WPMKTENGINE/Wordpress/Utils.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
genoo/trunk/Genoo.php
r3241017 r3424963 6 6 Author URI: http://www.genoo.com/ 7 7 Author Email: info@genoo.com 8 Version: 6.0.2 28 Version: 6.0.23 9 9 License: GPLv2 10 10 Text Domain: genoo -
genoo/trunk/libs/Genoo/Admin.php
r3198455 r3424963 64 64 var $repositaryCTAs; 65 65 /** @var \WPME\Extensions\RepositorySurveys */ 66 var $reposit orySurveys;66 var $repositarySurveys; 67 67 /** @var \WPMKTENGINE\RepositoryUser */ 68 68 var $user; … … 79 79 /** @var \WPMKTENGINE\TablePages */ 80 80 var $tablePages; 81 /** @var \WPME\Extensions\TableSurveys */ 82 var $tableSurveys; 81 83 82 84 -
genoo/trunk/libs/Genoo/Frontend.php
r2902098 r3424963 41 41 /** @var Cache */ 42 42 var $cache; 43 /** @var bool */ 44 var $hasMultipleCTAs = false; 43 45 44 46 /** -
genoo/trunk/libs/WPME/Extensions/Clever/Plugins.php
r2901505 r3424963 37 37 /** @var array */ 38 38 var $installedPlugins = array(); 39 40 /** @var \WPME\Nag\Nag */ 41 var $nag; 39 42 40 43 /** @var array */ … … 106 109 // If it's a plugin, that is not our own, and remote 107 110 // one hosted in a repo, return regular response. 108 if(!i n_array($args->slug, $this->remotePlugins)){111 if(!isset($args->slug) || !in_array($args->slug, $this->remotePlugins)){ 109 112 return $res; 110 113 } -
genoo/trunk/libs/WPME/Nag/Nag.php
r1678278 r3424963 35 35 /** @var \WPMKTENGINE\Wordpress\Nag */ 36 36 public $dummyNag; 37 38 /** @var \WPMKTENGINE\RepositoryUser */ 39 public $userRepository; 37 40 38 41 /** -
genoo/trunk/libs/WPMKTENGINE/Cache.php
r2191137 r3424963 320 320 $this->cacheDir = $data['cacheDir']; 321 321 $this->cacheName = $data['cacheName']; 322 $this-> _cache_tinme = $data['cacheTime'];322 $this->cacheTime = $data['cacheTime']; 323 323 $this->hardFind = $data['hardFind']; 324 324 return $this; -
genoo/trunk/libs/WPMKTENGINE/HtmlForm.php
r1784533 r3424963 41 41 /** @var string */ 42 42 private $validator; 43 /** @var \DOMElement|null */ 44 private $msg; 43 45 /** @var int */ 44 46 static $count = 1; -
genoo/trunk/libs/WPMKTENGINE/RepositoryLumens.php
r2191137 r3424963 51 51 */ 52 52 private $api; 53 54 /** 55 * @var bool 56 */ 57 private $empty = false; 53 58 54 59 const REPO_TIMER = '3600'; -
genoo/trunk/libs/WPMKTENGINE/Table.php
r2243769 r3424963 40 40 var $screen; 41 41 /** @var string */ 42 var $screenId; 43 /** @var bool */ 44 var $screenOptions; 45 /** @var int|false */ 46 var $userPerpage; 47 /** @var int */ 48 var $perPage; 49 /** @var string */ 42 50 var $searchQuery; 51 /** @var array */ 52 var $found_data; 43 53 44 54 /** -
genoo/trunk/libs/WPMKTENGINE/Utils/Strings.php
r2761864 r3424963 175 175 public static function toAscii($s) 176 176 { 177 if ($s === null) { 178 return ''; 179 } 177 180 $s = \preg_replace('#[^\x09\x0A\x0D\x20-\x7E\xA0-\x{2FF}\x{370}-\x{10FFFF}]#u', '', $s); 178 181 $s = \strtr($s, '`\'"^~', "\x01\x02\x03\x04\x05"); … … 371 374 public static function length($s) 372 375 { 373 return strlen(utf8_decode($s)); // fastest way 376 // mb_strlen is the modern replacement for utf8_decode (deprecated PHP 8.2+) 377 if (function_exists('mb_strlen')) { 378 return mb_strlen($s, 'UTF-8'); 379 } 380 // Fallback for systems without mbstring 381 return strlen($s); 374 382 } 375 383 -
genoo/trunk/libs/WPMKTENGINE/Wordpress/Metabox.php
r2549300 r3424963 149 149 if(is_array($this->fields) && !empty($this->fields)){ 150 150 foreach($this->fields as $field){ 151 $fieldId = isset($field['id']) ? $field['id'] : str_replace('-', '_', Strings::lower(Strings::webalize($field['label']))); 152 if(isset($field['type']) && (isset($field['label']))){ 151 if (!is_array($field)) { 152 continue; 153 } 154 $fieldLabel = isset($field['label']) ? $field['label'] : ''; 155 $fieldId = isset($field['id']) ? $field['id'] : str_replace('-', '_', Strings::lower(Strings::webalize($fieldLabel))); 156 if(isset($field['type']) && !empty($fieldLabel)){ 153 157 $fieldRow = '<tr class="themeMetaboxRow" id="themeMetaboxRow'. $fieldId .'" >'; 154 158 $fieldValue = get_post_meta($post->ID, $fieldId, true); … … 171 175 } 172 176 if(isset($field['atts']) && is_array($field['atts'])){ foreach($field['atts'] as $key => $value){ $fieldAtts .= ' '. $key .'="'. $value .'" '; } } 177 if (!isset($field['type'])) { 178 continue; 179 } 173 180 switch($field['type']){ 174 181 case 'text': -
genoo/trunk/libs/WPMKTENGINE/Wordpress/MetaboxCTA.php
r1603735 r3424963 38 38 /** @var */ 39 39 var $ctas; 40 /** @var array */ 41 var $fields; 42 /** @var array */ 43 var $fieldsSanatized; 40 44 41 45 -
genoo/trunk/libs/WPMKTENGINE/Wordpress/Settings.php
r1801692 r3424963 138 138 if (false == get_option($section['id'])){ add_option($section['id']); } 139 139 if (isset($section['desc']) && !empty($section['desc'])){ 140 $section['desc'] = '<div class="inside">'.$section['desc'].'</div>'; 141 $callback = create_function('', 'echo "'.str_replace('"', '\"', $section['desc']).'";'); 140 $sectionDesc = '<div class="inside">'.$section['desc'].'</div>'; 141 $callback = function() use ($sectionDesc) { 142 echo $sectionDesc; 143 }; 142 144 } else { 143 145 $callback = '__return_false'; -
genoo/trunk/libs/WPMKTENGINE/Wordpress/TableLite.php
r2761864 r3424963 95 95 */ 96 96 protected $modes = array(); 97 98 /** 99 * Stores column headers info 100 * 101 * @since 3.1.0 102 * @var array 103 * @access protected 104 */ 105 protected $_column_headers; 97 106 98 107 /** -
genoo/trunk/libs/WPMKTENGINE/Wordpress/Utils.php
r2761864 r3424963 163 163 public static function underscoreToCamelCase($string, $firstCaps = true) 164 164 { 165 if($firstCaps == true){$string[0] = strtoupper($string[0]); } $func = create_function('$c', 'return strtoupper($c[1]);'); 166 return preg_replace_callback('/_([a-z])/', $func, $string); 165 if ($firstCaps == true) { 166 $string[0] = strtoupper($string[0]); 167 } 168 return preg_replace_callback('/_([a-z])/', function($c) { 169 return strtoupper($c[1]); 170 }, $string); 167 171 } 168 172 -
genoo/trunk/readme.txt
r3241017 r3424963 3 3 Tags: marketing automation, email marketing, centralized lead database, lead capture forms 4 4 Requires at least: 4.6 5 Tested up to: 6. 7.25 Tested up to: 6.9 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html 8 Stable tag: 6.0.2 28 Stable tag: 6.0.23 9 9 10 10 Combine the flexibility of WordPress with the power of Genoo and experience amazing results! … … 35 35 36 36 1. Wordpress at least version 3.3 37 2. PHP at least version 5.3.137 2. PHP at least version 7.4 38 38 3. PHP DOMDocument extension 39 39 4. Active Genoo account (http://www.genoo.com) … … 70 70 == Changelog == 71 71 72 = 6.0.23 = 73 * PHP 8.0/8.1/8.2+ compatibility fixes 74 * Replaced deprecated utf8_decode() function 75 * Replaced removed create_function() calls with closures 76 * Fixed dynamic property deprecation warnings 77 * Fixed null value warnings in strict mode 78 * Fixed typo in Cache.php 79 72 80 = 6.0.22 = 73 81 * Fixed issue with PageBuilder pages (templates) being cleared from cache prior to being refreshed, and pages not able to display.
Note: See TracChangeset
for help on using the changeset viewer.