diff --git a/README.md b/README.md index e6f4451..80266b4 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,10 @@ This section describes how to install the plugin and get it working. ## Changelog ## +### 1.11 ### + +* Fixed _load_textdomain_just_in_time warning. + ### 1.10 ### * PDF preview image workaround. diff --git a/lib/wp-update-migrate/class-wp-update-migrate.php b/lib/wp-update-migrate/class-wp-update-migrate.php index 91251c1..1759b51 100644 --- a/lib/wp-update-migrate/class-wp-update-migrate.php +++ b/lib/wp-update-migrate/class-wp-update-migrate.php @@ -102,7 +102,7 @@ private function __construct( $package_handle, $package_prefix ) { if ( 'plugin' === $this->package_type ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; - $plugin_data = get_plugin_data( $package_handle ); + $plugin_data = get_plugin_data( $package_handle, false, false ); $latest_version = $plugin_data['Version']; $this->package_name = $plugin_data['Name']; $this->package_dir = plugin_dir_path( $package_handle ); diff --git a/private-media.php b/private-media.php index 52a1902..ddd6033 100755 --- a/private-media.php +++ b/private-media.php @@ -4,12 +4,12 @@ Plugin URI: https://github.com/froger-me/private-media/ Text Domain: pvtmed Description: Add access restrictions to specific items of the WordPress Media Library. -Version: 1.10 +Version: 1.11 Author: Alexandre Froger, Christoph Bratschi Author URI: https://froger.me/ GitHub Plugin URI: https://github.com/cbratschi/private-media Requires at least: 4.9.8 -Tested up to: 6.4.3 +Tested up to: 6.7.1 Requires PHP: 8.0 */ diff --git a/readme.txt b/readme.txt index 324d073..a94cfa7 100644 --- a/readme.txt +++ b/readme.txt @@ -39,6 +39,9 @@ This section describes how to install the plugin and get it working. == Changelog == += 1.11 = +* Fixed _load_textdomain_just_in_time warning. + = 1.10 = * PDF preview image workaround.