Skip to content

Commit

Permalink
fixed _load_textdomain_just_in_time
Browse files Browse the repository at this point in the history
  • Loading branch information
cbratschi committed Nov 27, 2024
1 parent 7e1dab8 commit 79f33f2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/wp-update-migrate/class-wp-update-migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
4 changes: 2 additions & 2 deletions private-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, <a href="https://appamics.com">Christoph Bratschi</a>
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
*/

Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 79f33f2

Please sign in to comment.