[wp-trac] [WordPress Trac] #62444: complianz-gdpr & languages plugins don't work in WordPress 6.7

WordPress Trac noreply at wordpress.org
Mon Nov 18 08:05:59 UTC 2024


#62444: complianz-gdpr & languages plugins don't work in WordPress 6.7
--------------------------+-------------------------
 Reporter:  dominikzuk    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  I18N          |     Version:  6.7
 Severity:  critical      |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+-------------------------

Comment (by regnalf):

 Replying to [comment:4 regnalf]:
 > I get this message when I use the function “get_plugin_data” with a
 corresponding include on “wp-admin/includes/plugin.php”.
 >
 > But I need the plugin data for maintenance purposes. Is it possible to
 use “get_plugin_data” in such a way that this message does not appear?

 Sorry, just read that i have to call it without translation:
 {{{#!php
 <?php
 $plugin_data = get_plugin_data( __FILE__, false, /* $translate */ false );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62444#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list