Skip to content

Commit

Permalink
Merge pull request #2448 from kprajapatii/master
Browse files Browse the repository at this point in the history
Add / Edit CPT package shows error on update plugin - FIXED
  • Loading branch information
kprajapatii authored Oct 13, 2023
2 parents a847676 + 21d3e96 commit 03abcce
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions includes/admin/class-geodir-admin-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,9 @@ class="<?php echo esc_attr( isset( $value['class'] ) ? $value['class'] : '' ); ?
// Select boxes
case 'font-awesome' :
// include the font-awesome data
if ( ! function_exists( 'geodir_font_awesome_array' ) ) {
include_once( dirname( __FILE__ ) . '/settings/data_fontawesome.php' );
}
$value['options'] = geodir_font_awesome_array();
$rating_color = geodir_get_option('rating_color','#ff9900');

Expand Down
4 changes: 3 additions & 1 deletion includes/admin/class-geodir-admin-taxonomies.php
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,9 @@ class="regular-text geodir-select postform"
data-fa-icons="1" tabindex="-1" aria-hidden="true"
>
<?php
include_once( dirname( __FILE__ ) . '/settings/data_fontawesome.php' );
if ( ! function_exists( 'geodir_font_awesome_array' ) ) {
include_once( dirname( __FILE__ ) . '/settings/data_fontawesome.php' );
}
echo "<option value=''>".__('None','geodirectory')."</option>";
foreach ( geodir_font_awesome_array() as $key => $val ) {
?>
Expand Down
4 changes: 3 additions & 1 deletion includes/admin/settings/class-geodir-settings-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ public function font_awesome_select(){
<div id="gd-font-awesome-select" class="gd-notification lity-hide noti-white">
<select name="tab_icon" class="regular-text geodir-select" data-fa-icons="1" tabindex="-1" aria-hidden="true" onchange="jQuery('.gd-tabs-sortable li #field_icon').filter(':visible').val(jQuery(this).val()).trigger('change');jQuery('.lity-close').trigger('click');">
<?php
include_once( dirname( __FILE__ ) . '/../settings/data_fontawesome.php' );
if ( ! function_exists( 'geodir_font_awesome_array' ) ) {
include_once( dirname( __FILE__ ) . '/../settings/data_fontawesome.php' );
}
echo "<option value=''>".__('None','geodirectory')."</option>";
//$tab_icon = str_replace("fas ","",$tab->tab_icon);
foreach ( geodir_font_awesome_array() as $key => $val ) {
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ We don't offer free trials, but we have a 30-day money-back guarantee if you are

__WARNING: GDv2 is a significant update over GDv1 and may require manual work, such as adding widgets to sidebars to recreate your current layout. As always, we recommend trying this on a staging site first. [Learn more](https://docs.wpgeodirectory.com/article/260-upgrading-from-gdv1-to-gdv2)__

= GeoDirectory Business Directory Plugin v2.3.28 =
* Add / Edit CPT package shows error on update plugin - FIXED

= GeoDirectory Business Directory Plugin v2.3.27 - 2023-10-12 =
* OSM map do not load properly when rendered in hidden element - FIXED
* Changed taxonomy icon selector to new version where icon class can be pasted in - CHANGED
Expand Down

0 comments on commit 03abcce

Please sign in to comment.