Changeset 3328377
- Timestamp:
- 07/15/2025 04:02:16 PM (9 months ago)
- Location:
- wp-businessdirectory/trunk/includes
- Files:
-
- 4 edited
-
admin.php (modified) (1 diff)
-
install.php (modified) (3 diffs)
-
shortcodes.php (modified) (1 diff)
-
widgets/wp-businessdirectory-listings/helper.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-businessdirectory/trunk/includes/admin.php
r3013016 r3328377 14 14 class WPBDAdmin{ 15 15 16 17 16 /** 18 17 * The admin notices key. 19 18 */ 20 19 const ADMIN_NOTICES_KEY = 'wpbd_admin_notices'; 20 21 /** 22 * WPBD Deployment instance. 23 * 24 * @var WPBDDeployment 25 */ 26 public $wpbdDeployment; 21 27 22 28 /** -
wp-businessdirectory/trunk/includes/install.php
r3281090 r3328377 7 7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later 8 8 */ 9 10 //When haveing save issues the engine should be changed to ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci 9 11 10 12 // Access Denied … … 400 402 `review_status` tinyint(1) DEFAULT '0', 401 403 PRIMARY KEY (`id`), 402 KEY `idx_type` (`typeId` ),403 KEY `idx_user` (`userId`), 404 KEY `idx_type` (`typeId`(100)), 405 KEY `idx_user` (`userId`), 404 406 KEY `idx_state` (`state`), 405 407 KEY `idx_approved` (`approved`), … … 421 423 KEY `idx_publish_end_date` (`publish_end_date`), 422 424 KEY `idx_alias` (`alias`) 423 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 425 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 426 424 427 425 428 CREATE TABLE `{$wpdb->prefix}jbusinessdirectory_company_activity_city` ( -
wp-businessdirectory/trunk/includes/shortcodes.php
r3281090 r3328377 24 24 if(!empty($widget_name)){ 25 25 if (!is_a($wp_widget_factory->widgets[$widget_name], 'WP_Widget')): 26 if (!is_a($wp_widget_factory->widgets[$wp_class], 'WP_Widget')): 26 27 dump($wp_widget_factory->widgets); 28 if (!is_a($wp_widget_factory->widgets[$widget_name], 'WP_Widget')): 27 29 return '<p>'.sprintf(__("%s: Widget class not found. Make sure this widget exists and the class name is correct"),'<strong>'.$class.'</strong>').'</p>'; 28 30 endif; -
wp-businessdirectory/trunk/includes/widgets/wp-businessdirectory-listings/helper.php
r3281090 r3328377 287 287 if ($params->get('show_recently_viewed') && isset($_COOKIE['jbdViewedListings'])) { 288 288 $listingIds = explode(",", $_COOKIE['jbdViewedListings']); 289 $listingIds = array_map('intval', $listingIds); 289 290 $listingIds = array_filter($listingIds); 290 291 if(!empty($listingIds)){
Note: See TracChangeset
for help on using the changeset viewer.