Changeset 2601411
- Timestamp:
- 09/19/2021 08:52:02 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dominion-domain-checker-wpbakery-addon/trunk/modules/domain_search/domain_search_6/doamin_search_shortcodes.php
r2601062 r2601411 127 127 if(!empty($domain)){ 128 128 $output1 = '<select id="domainext_domain_search_6" class="ft-drlist" name="domainext_domain_search_6">'; 129 $domain = !empty($domain) ? explode("\n", trim($domain)) : array(); 129 130 $domain = !empty($domain) ? explode("\n", trim($domain)) : array(); 131 $domain = !empty($domain) ? implode(" ", $domain) : ''; 132 $domain = !empty($domain) ? explode(" ", $domain) : array(); 133 130 134 foreach ( $domain as $label ) { 131 if( $label ) { 132 $extvalue = str_replace(array('<br />'), '', $label); 133 $output1 .= '<option value="'.$extvalue.'">'.htmlspecialchars_decode($label).'</option>'; 135 if( $label ) { 136 $output1 .= '<option value="'.htmlspecialchars_decode($label).'">'.htmlspecialchars_decode($label).'</option>'; 134 137 } 135 138 } … … 160 163 161 164 162 //if(class_exists('WPBakeryVisualComposerAbstract')) {165 if(class_exists('WPBakeryVisualComposerAbstract')) { 163 166 include_once('doamin_search_vc_shortcodes.php'); 164 //}167 }
Note: See TracChangeset
for help on using the changeset viewer.