Skip to content

Commit

Permalink
destination_name is the plugin slug
Browse files Browse the repository at this point in the history
  • Loading branch information
nimrod-cohen committed Oct 17, 2024
1 parent 59ef54f commit f56ecd6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion fv-country-blocker.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: FV Country Blocker
* Plugin URI: https://github.com/nimrod-cohen/fv-country-blocker
* Description: Block visitors from specific countries using MaxMind GeoIP database.
* Version: 1.0.23
* Version: 1.0.24
* Author: nimrod-cohen
* Author URI: https://github.com/nimrod-cohen/fv-country-blocker
* License: GPL-2.0+
Expand Down
2 changes: 1 addition & 1 deletion includes/github-updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public function fix_folder($response, $hook_extra, &$result) {
$proper_destination = WP_PLUGIN_DIR . '/' . $this->plugin_slug;
$wp_filesystem->move($result['destination'], $proper_destination);
$result['destination'] = $proper_destination;
$result['destination_name'] = $this->plugin_file;
$result['destination_name'] = $this->plugin_slug;
return $response;
}
}
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: country blocker, IP blocker, geo-blocking, security
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.0
Stable tag: 1.0.23
Stable tag: 1.0.24
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down
2 changes: 1 addition & 1 deletion release.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"slug": "fv-country-blocker",
"author": "<a href='https://github.com/nimrod-cohen'>Nimrod Cohen</a>",
"author_profile": "http://profiles.wordpress.org/daberelay",
"version": "1.0.23",
"version": "1.0.24",
"requires": "3.0",
"tested": "5.8",
"requires_php": "5.3",
Expand Down

0 comments on commit f56ecd6

Please sign in to comment.