Skip to content

Fix plugin loading#1000

Merged
pereirinha merged 2 commits intouatfrom
fix/plugin-loading
Dec 3, 2024
Merged

Fix plugin loading#1000
pereirinha merged 2 commits intouatfrom
fix/plugin-loading

Conversation

@pereirinha
Copy link
Copy Markdown
Contributor

Addresses the changes introduced on WP 6.7 related to the i18n improvements.

Comment thread php/class-plugin.php
*/
public function init() {
require_once ABSPATH . 'wp-admin/includes/plugin.php';
$plugin = get_plugin_data( CLDN_CORE );
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓question

Is get_plugin_data() used exclusively for getting the version and text domain? It should be possible to pass $translation = false as the third parameter to skip doing the translations so something like get_plugin_data( $file, false, false );

@pereirinha pereirinha changed the base branch from develop to uat December 3, 2024 14:17
@pereirinha pereirinha merged commit 7afb8db into uat Dec 3, 2024
@pereirinha pereirinha deleted the fix/plugin-loading branch December 3, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants