Skip to content

Commit

Permalink
Revert "Update issue" (#1771)
Browse files Browse the repository at this point in the history
* Revert "Update issue (#1767)"

This reverts commit 81beda1.

* readme and version updated
  • Loading branch information
vairafiq authored Jun 13, 2024
1 parent efecd2f commit 54de6bd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// Plugin version.
if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.10.2' );}
if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.10.3' );}
// Plugin Folder Path.
if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); }
// Plugin Folder URL.
Expand Down
2 changes: 1 addition & 1 deletion directorist-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Directorist - Business Directory Plugin
* Plugin URI: https://wpwax.com
* Description: A comprehensive solution to create professional looking directory site of any kind. Like Yelp, Foursquare, etc.
* Version: 7.10.2
* Version: 7.10.3
* Author: wpWax
* Author URI: https://wpwax.com
* Text Domain: directorist
Expand Down
10 changes: 6 additions & 4 deletions includes/classes/class-extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,9 @@ public function update_plugins( array $args = array() ) {
if ( ! empty( $plugin_key ) ) {
$plugin_key = self::filter_plugin_key_from_base_name( $plugin_key );
$plugin_item = self::extract_plugin_from_list( $plugin_key, $plugins_available_in_subscriptions );
$url = $plugin_item['download_link'] ?? '';
$download_status = $this->download_plugin( array( 'url' => $plugin_item['download_link'] ) );
$url = self::get_file_download_link( $plugin_item, 'plugin' );

$download_status = $this->download_plugin( array( 'url' => $url ) );

if ( ! $download_status['success'] ) {
$status['success'] = false;
Expand Down Expand Up @@ -648,7 +648,9 @@ public function update_the_themes( array $args = array() ) {
}

$theme_item = $themes_available_in_subscriptions[ $theme_stylesheet ];
$url = $theme_item['download_link'] ?? '';
$url = self::get_file_download_link( $theme_item, 'theme' );
$url = ( empty( $url ) && ! empty( $outdated_themes[ $theme_stylesheet ]['package'] ) ) ? $outdated_themes[ $theme_stylesheet ]['package'] : $url;

$download_status = $this->download_theme( array( 'url' => $url ) );

if ( ! $download_status['success'] ) {
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: member directory, listing, classifieds, directory plugin, business directo
Requires at least: 4.6
Tested up to: 6.5
Requires PHP: 7.0
Stable tag: 7.10.2
Stable tag: 7.10.3
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -304,9 +304,16 @@ Directorist is a complete directory solution and in combination with its advance

== Changelog ==

7.10.3 - Jun 13, 2024

* Fix - Renewal email sending issue
* Fix - Extension update issue

7.10.2 - Jun 13, 2024

* Fix - Extension update issue
* Fix - Directory type specification issue Listings page


7.10.0 - Jun 9, 2024

Expand Down

0 comments on commit 54de6bd

Please sign in to comment.