diff --git a/changelog.txt b/changelog.txt index 3615162..4cf2c43 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,10 @@ == Changelog == += 3.2.1 = +*Release Date - 25 June 2024* + +* Fixed: Fix missing helper function fiad_get_file_upload_path. + = 3.2.0 = *Release Date - 23 June 2024* diff --git a/fiberadmin.php b/fiberadmin.php index c0dcd4a..7a539c6 100644 --- a/fiberadmin.php +++ b/fiberadmin.php @@ -3,7 +3,7 @@ * Plugin Name: Fiber Admin * Plugin URI: https://wordpress.org/plugins/fiber-admin/ * Description: 💈 Bring multiple customization features to make your own WordPress admin. - * Version: 3.2.0 + * Version: 3.2.1 * Requires at least: 5.2 * Requires PHP: 7.4 * Author: Dao diff --git a/includes/helpers.php b/includes/helpers.php index 1a2924c..ef91982 100644 --- a/includes/helpers.php +++ b/includes/helpers.php @@ -158,4 +158,10 @@ function fiad_file_get_content($file_url){ return curl_exec($curl_session); } +} + +if(!function_exists('fiad_get_file_upload_path')){ + function fiad_get_file_upload_path($url){ + return explode('wp-content', $url)[1]; + } } \ No newline at end of file diff --git a/readme.txt b/readme.txt index d60cc7c..b51d903 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: white label, admin tool, duplicate post, content protection Requires at least: 4.7 Tested up to: 6.5.4 Requires PHP: 7.4 -Stable tag: 3.2.0 +Stable tag: 3.2.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -46,9 +46,7 @@ At the first time using this setting, Fiber Admin will ask you to save it to cre == Changelog == -= 3.2.0 = -*Release Date - 23 June 2024* += 3.2.1 = +*Release Date - 25 June 2024* -* Fixed: Fix wrong HTML tag when mailto link exists. -* Fixed: Exclude Simple Multisite Crossposting meta keys when duplicating posts. -* Removed: Remove Coming soon / Maintenance mode. \ No newline at end of file +* Fixed: Fix missing helper function fiad_get_file_upload_path. \ No newline at end of file