Skip to content

Commit

Permalink
SD merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Stiofan committed May 16, 2024
1 parent 553fc01 commit 9394814
Show file tree
Hide file tree
Showing 137 changed files with 79 additions and 142 deletions.
Empty file modified .wordpress-org/banner-1544x500.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/banner-772x250.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/icon-128x128.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/icon-256x256.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/screenshot-1.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/screenshot-2.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/screenshot-3.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/screenshot-4.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/screenshot-5.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/screenshot-6.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .wordpress-org/screenshot-7.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 2 additions & 114 deletions assets/css/auth.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/block_editor.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/block_editor.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/css/gd_core_frontend.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/gd_core_frontend.css.map

Large diffs are not rendered by default.

Empty file modified assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-bg_flat_75_ffffff_40x100.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-bg_glass_55_fbf9ee_1x400.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-bg_glass_65_ffffff_1x400.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-bg_glass_75_dadada_1x400.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-bg_glass_95_fef1ec_1x400.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-icons_222222_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-icons_2e83ff_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-icons_454545_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-icons_888888_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/css/images/ui-icons_cd0a0a_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/style.css.map

Large diffs are not rendered by default.

Empty file modified assets/images/404.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/ajax-loader.gif
100644 → 100755
Empty file modified assets/images/arrow-img.png
100644 → 100755
Empty file modified assets/images/arrow.png
100644 → 100755
Empty file modified assets/images/arrow18x11.png
100644 → 100755
Empty file modified assets/images/arrow_left.gif
100644 → 100755
Empty file modified assets/images/arrow_left_over.gif
100644 → 100755
Empty file modified assets/images/arrow_right.gif
100644 → 100755
Empty file modified assets/images/arrow_right_over.gif
100644 → 100755
Empty file modified assets/images/arrows.png
100644 → 100755
Empty file modified assets/images/arrows_down.png
100644 → 100755
Empty file modified assets/images/b_reply.png
100644 → 100755
Empty file modified assets/images/bg_direction_nav.png
100644 → 100755
Empty file modified assets/images/bg_jRatingInfos.png
100644 → 100755
Empty file modified assets/images/block-placeholder-map.png
100644 → 100755
Empty file modified assets/images/cal.gif
100644 → 100755
Empty file modified assets/images/chosen-sprite.png
100644 → 100755
Empty file modified assets/images/[email protected]
100644 → 100755
Empty file modified assets/images/classic-loader.gif
100644 → 100755
Empty file modified assets/images/classic-map.png
100644 → 100755
Empty file modified assets/images/close.gif
100644 → 100755
Empty file modified assets/images/close_over.gif
100644 → 100755
Empty file modified assets/images/comment_left.png
100644 → 100755
Empty file modified assets/images/cross-img.png
100644 → 100755
Empty file modified assets/images/delete.png
100644 → 100755
Empty file modified assets/images/down-arrow18x11.png
100644 → 100755
Empty file modified assets/images/downarrow-img.png
100644 → 100755
Empty file modified assets/images/dummy-avatar-1.png
100644 → 100755
Empty file modified assets/images/dummy-avatar-2.png
100644 → 100755
Empty file modified assets/images/favicon.ico
100644 → 100755
Empty file.
Empty file modified assets/images/featured.png
100644 → 100755
Empty file modified assets/images/fullscreen.png
100644 → 100755
Empty file modified assets/images/gd-logo-dark.png
100644 → 100755
Empty file modified assets/images/gd-logo-grey.png
100644 → 100755
Empty file modified assets/images/geo-logo.png
100644 → 100755
Empty file modified assets/images/geo-logoalter.png
100644 → 100755
Empty file modified assets/images/google-maps.jpg
100644 → 100755
Empty file modified assets/images/gravatar.png
100644 → 100755
Empty file modified assets/images/gravatar2.png
100644 → 100755
Empty file modified assets/images/i_clock.png
100644 → 100755
Empty file modified assets/images/i_comment2.png
100644 → 100755
Empty file modified assets/images/i_fav.png
100644 → 100755
Empty file modified assets/images/i_location_2.png
100644 → 100755
Empty file modified assets/images/i_phone.png
100644 → 100755
Empty file modified assets/images/i_rss.png
100644 → 100755
Empty file modified assets/images/i_website.png
100644 → 100755
Empty file modified assets/images/icon-address.png
100644 → 100755
Empty file modified assets/images/icon-delete.png
100644 → 100755
Empty file modified assets/images/icon-edit.png
100644 → 100755
Empty file modified assets/images/icon-upgrade.png
100644 → 100755
Empty file modified assets/images/icondefault.png
100644 → 100755
Empty file modified assets/images/leftarrow-img.png
100644 → 100755
Empty file modified assets/images/lightbox-blank.gif
100644 → 100755
Empty file modified assets/images/lightbox-btn-close.gif
100644 → 100755
Empty file modified assets/images/lightbox-btn-next.gif
100644 → 100755
Empty file modified assets/images/lightbox-btn-prev.gif
100644 → 100755
Empty file modified assets/images/lightbox-ico-loading.gif
100644 → 100755
Empty file modified assets/images/loading.gif
100644 → 100755
Empty file modified assets/images/loading2.gif
100644 → 100755
Empty file modified assets/images/loadingAnimation.gif
100644 → 100755
Empty file modified assets/images/minus-white-icon.png
100644 → 100755
Empty file modified assets/images/move.png
100644 → 100755
Empty file modified assets/images/new.png
100644 → 100755
Empty file modified assets/images/next.png
100644 → 100755
Empty file modified assets/images/osm.jpg
100644 → 100755
Empty file modified assets/images/pin.png
100644 → 100755
Empty file modified assets/images/plus-white-icon.png
100644 → 100755
Empty file modified assets/images/rightarrow-img.png
100644 → 100755
Empty file modified assets/images/small.png
100644 → 100755
Empty file modified assets/images/spacer.gif
100644 → 100755
Empty file modified assets/images/sprite.png
100644 → 100755
Empty file modified assets/images/stars.png
100644 → 100755
Empty file modified assets/images/t-image1.png
100644 → 100755
Empty file modified assets/images/t-image2.png
100644 → 100755
Empty file modified assets/images/tab-seprator.jpg
100644 → 100755
Empty file modified assets/images/transparent-bg.png
100644 → 100755
Empty file modified assets/images/ui-bg_flat_75_ffffff_40x100.png
100644 → 100755
Empty file modified assets/images/ui-bg_glass_55_fbf9ee_1x400.png
100644 → 100755
Empty file modified assets/images/ui-bg_glass_65_ffffff_1x400.png
100644 → 100755
Empty file modified assets/images/ui-bg_glass_75_dadada_1x400.png
100644 → 100755
Empty file modified assets/images/ui-bg_glass_75_e6e6e6_1x400.png
100644 → 100755
Empty file modified assets/images/ui-bg_glass_95_fef1ec_1x400.png
100644 → 100755
Empty file modified assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
100644 → 100755
Empty file modified assets/images/ui-icons_datepicker.png
100644 → 100755
Empty file modified assets/images/ui-icons_datepicker_h.png
100644 → 100755
Empty file modified assets/images/warning-icon.png
100644 → 100755
Empty file modified assets/images/x.png
100644 → 100755
4 changes: 2 additions & 2 deletions assets/js/geodirectory.js
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ function geodir_animate_markers() {

/**
* Test if browser local storage is available.
*
*
* @returns {boolean}
*/
function geodir_is_localstorage() {
Expand Down Expand Up @@ -1972,4 +1972,4 @@ function geodir_init_listings_carousel(el, index) {
$el.find(wEl).addClass('geodir-slides');
geodir_init_slider($el.prop('id'));
}
}
}
Empty file modified assets/leaflet/images/layers-2x.png
100644 → 100755
Empty file modified assets/leaflet/images/layers.png
100644 → 100755
Empty file modified assets/leaflet/images/marker-icon-2x.png
100644 → 100755
Empty file modified assets/leaflet/images/marker-icon.png
100644 → 100755
Empty file modified assets/leaflet/images/marker-shadow.png
100644 → 100755
Empty file modified assets/leaflet/routing/leaflet.routing.icons.png
100644 → 100755
Empty file modified assets/leaflet/routing/routing-icon.png
100644 → 100755
Empty file modified includes/admin/images/t-image1.png
100644 → 100755
Empty file modified includes/admin/images/t-image2.png
100644 → 100755
4 changes: 2 additions & 2 deletions includes/widgets/class-geodir-widget-post-title.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function output( $instance = array(), $args = array(), $content = '' ) {
* @param array $args Widget arguments.
* @param object $this The GeoDir_Widget_Post_Title object.
*/
$title_tag = empty( $instance['tag'] ) ? 'h2' : apply_filters( 'geodir_widget_gd_post_title_tag', $tag, $instance, $args, $this );
$title_tag = apply_filters( 'geodir_widget_gd_post_title_tag', $tag, $instance, $args, $this );

$design_style = geodir_design_style();
$classes = '';
Expand All @@ -186,7 +186,7 @@ public function output( $instance = array(), $args = array(), $content = '' ) {
}

// wrapper class
$wrap_class = geodir_build_aui_class($instance);
$wrap_class = sd_build_aui_class($instance);
$classes .= " ".$wrap_class;

if ( !empty( $instance['text_color'] ) ) { $link_class .= "text-".sanitize_html_class($instance['text_color']); }
Expand Down
Binary file modified languages/geodirectory-en_US.mo
100644 → 100755
Binary file not shown.
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ __WARNING: GDv2 is a significant update over GDv1 and may require manual work, s
* Add to favorite action is not working - FIXED
* Booking Availability field is not working properly with Fast AJAX - FIXED
* GD > Post Meta post_type field support added - CHANGED
* GD > Post title widget not respecting the GD > Listings SEO heading setting - FIXED

= GeoDirectory v2.3.52 - 2024-05-09 =
* AUI radio set should skip showing optgroup from option values - FIXED
Expand Down
4 changes: 4 additions & 0 deletions vendor/ayecode/wp-super-duper/change-log.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
= 1.1.40 - 2024-05-16 =
* Block Visibility condition not working for CPT non-supported fields - FIXED
* Block label dynamic name not working for containers - FIXED

= 1.1.39 - 2024-04-18 =
* Better block recovery - UPDATED

Expand Down
Empty file modified vendor/ayecode/wp-super-duper/icons/placeholder.png
100644 → 100755
50 changes: 47 additions & 3 deletions vendor/ayecode/wp-super-duper/sd-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2614,6 +2614,10 @@ function sd_build_aui_class( $args ) {
}
}

if ( ! empty( $classes ) ) {
$classes = array_unique( array_filter( array_map( 'trim', $classes ) ) );
}

return implode( ' ', $classes );
}

Expand Down Expand Up @@ -2753,7 +2757,7 @@ function sd_build_hover_styles( $args, $is_preview = false ) {
}

/**
* Try to get a CSS color varibale for a given value.
* Try to get a CSS color variable for a given value.
*
* @param $var
*
Expand Down Expand Up @@ -3371,6 +3375,7 @@ function sd_block_check_rule_gd_field( $rule ) {
if ( $match_field === '' || ( ! empty( $find_post_keys ) && ( in_array( $match_field, $find_post_keys ) || in_array( $_match_field, $find_post_keys ) ) ) ) {
$address_fields = array( 'street2', 'neighbourhood', 'city', 'region', 'country', 'zip', 'latitude', 'longitude' ); // Address fields
$field = array();
$empty_field = false;

$standard_fields = sd_visibility_gd_standard_fields();

Expand All @@ -3389,7 +3394,7 @@ function sd_block_check_rule_gd_field( $rule ) {
}

if ( empty( $field ) ) {
return false;
$empty_field = true;
}
}

Expand All @@ -3410,7 +3415,7 @@ function sd_block_check_rule_gd_field( $rule ) {
$is_date = ( ! empty( $field['type'] ) && $field['type'] == 'datepicker' ) || in_array( $match_field, array( 'post_date', 'post_modified' ) ) ? true : false;
$is_date = apply_filters( 'geodir_post_badge_is_date', $is_date, $match_field, $field, $args, $find_post );

$match_value = isset($find_post->{$match_field}) ? esc_attr( trim( $find_post->{$match_field} ) ) : '';
$match_value = isset( $find_post->{$match_field} ) && empty( $empty_field ) ? esc_attr( trim( $find_post->{$match_field} ) ) : '';
$match_found = $match_field === '' ? true : false;

if ( ! $match_found ) {
Expand Down Expand Up @@ -3457,6 +3462,45 @@ function sd_block_check_rule_gd_field( $rule ) {
}

$match_found = apply_filters( 'geodir_post_badge_check_match_found', $match_found, $args, $find_post );
} else {
$field = array();

// Parse search.
$search = sd_gd_field_rule_search( $args['search'], $find_post->post_type, $rule, $field, $find_post );

$match_value = '';
$match_found = $match_field === '' ? true : false;

if ( ! $match_found ) {
switch ( $args['condition'] ) {
case 'is_equal':
$match_found = (bool) ( $search != '' && $match_value == $search );
break;
case 'is_not_equal':
$match_found = (bool) ( $search != '' && $match_value != $search );
break;
case 'is_greater_than':
$match_found = false;
break;
case 'is_less_than':
$match_found = false;
break;
case 'is_empty':
$match_found = true;
break;
case 'is_not_empty':
$match_found = false;
break;
case 'is_contains':
$match_found = false;
break;
case 'is_not_contains':
$match_found = false;
break;
}
}

$match_found = apply_filters( 'geodir_post_badge_check_match_found_empty', $match_found, $args, $find_post );
}
}

Expand Down
4 changes: 2 additions & 2 deletions vendor/ayecode/wp-super-duper/wp-super-duper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

if ( ! class_exists( 'WP_Super_Duper' ) ) {

define( 'SUPER_DUPER_VER', '1.1.39' );
define( 'SUPER_DUPER_VER', '1.1.40' );

/**
* A Class to be able to create a Widget, Shortcode or Block to be able to output content for WordPress.
Expand Down Expand Up @@ -2484,7 +2484,7 @@ function sd_get_class_build_keys(){
},
__experimentalLabel( attributes, { context } ) {
var visibility_html = attributes && attributes.visibility_conditions ? ' 👁' : '';
var metadata_name = attributes && attributes.metadata && attributes.metadata.name ? attributes.metadata.name : '<?php echo esc_attr( addslashes( $this->options['name'] ) ); ?>';
var metadata_name = attributes && attributes.metadata && attributes.metadata.name ? attributes.metadata.name : '';
var label_name = <?php echo !empty($this->options['block-label']) ? $this->options['block-label'] : "'" . esc_attr( addslashes( $this->options['name'] ) ) . "'"; ?>;
return metadata_name ? metadata_name + visibility_html : label_name + visibility_html;
},
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,24 +246,24 @@
},
{
"name": "ayecode/wp-super-duper",
"version": "1.1.39",
"version_normalized": "1.1.39.0",
"version": "1.1.40",
"version_normalized": "1.1.40.0",
"source": {
"type": "git",
"url": "https://github.com/AyeCode/wp-super-duper.git",
"reference": "b6d557cee33213e8b775d4ec595209bab4b8c440"
"reference": "dec351e70c34f843bb9edfc7f2a4a1a54ca1f877"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/AyeCode/wp-super-duper/zipball/b6d557cee33213e8b775d4ec595209bab4b8c440",
"reference": "b6d557cee33213e8b775d4ec595209bab4b8c440",
"url": "https://api.github.com/repos/AyeCode/wp-super-duper/zipball/dec351e70c34f843bb9edfc7f2a4a1a54ca1f877",
"reference": "dec351e70c34f843bb9edfc7f2a4a1a54ca1f877",
"shasum": ""
},
"require": {
"composer/installers": "~1.0",
"php": ">=5.3.0"
},
"time": "2024-04-18T10:11:36+00:00",
"time": "2024-05-16T12:49:17+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -295,7 +295,7 @@
],
"support": {
"issues": "https://github.com/AyeCode/wp-super-duper/issues",
"source": "https://github.com/AyeCode/wp-super-duper/tree/1.1.39"
"source": "https://github.com/AyeCode/wp-super-duper/tree/1.1.40"
},
"install-path": "../ayecode/wp-super-duper"
},
Expand Down
10 changes: 5 additions & 5 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'ayecode/geodirectory',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'ad2064f097572c4e645f7463d6e0e74ef853be2b',
'reference' => '553fc019b888363de87b0f341d2817c780b26cd7',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -22,7 +22,7 @@
'ayecode/geodirectory' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'ad2064f097572c4e645f7463d6e0e74ef853be2b',
'reference' => '553fc019b888363de87b0f341d2817c780b26cd7',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -65,9 +65,9 @@
'dev_requirement' => false,
),
'ayecode/wp-super-duper' => array(
'pretty_version' => '1.1.39',
'version' => '1.1.39.0',
'reference' => 'b6d557cee33213e8b775d4ec595209bab4b8c440',
'pretty_version' => '1.1.40',
'version' => '1.1.40.0',
'reference' => 'dec351e70c34f843bb9edfc7f2a4a1a54ca1f877',
'type' => 'library',
'install_path' => __DIR__ . '/../ayecode/wp-super-duper',
'aliases' => array(),
Expand Down

0 comments on commit 9394814

Please sign in to comment.