Skip to content

Commit

Permalink
Merge pull request #46 from osmansufy/fix/textdomain-loaded-incorrectly
Browse files Browse the repository at this point in the history
fix : translations are loaded too early .
  • Loading branch information
anisAronno authored Nov 25, 2024
2 parents 8d4b94c + 1ac1244 commit 4d85bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ protected function set_basename_and_slug() {

require_once ABSPATH . 'wp-admin/includes/plugin.php';

$plugin_data = get_plugin_data( $this->file );
$plugin_data = get_plugin_data( $this->file, false, false );

$this->project_version = $plugin_data['Version'];
$this->type = 'plugin';
Expand Down

0 comments on commit 4d85bb2

Please sign in to comment.