• Resolved hupe13

    (@hupe13)


    Are there any changes in plugins_api() in WordPress 7.0-beta1?

    $plugin_info = plugins_api(
    'plugin_information',
    array(
    'slug' => 'my-slug',
    'fields' => array(
    'sections' => true,
    ),
    )
    );

    In WordPress 6.9 I get in a german interface the information in german, but in WordPress 7.0 I get it in english.

    • This topic was modified 1 month, 2 weeks ago by hupe13. Reason: typo 6.7 -> 6.9
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there,

    I think there’s no confirmed change to plugins_api() itself in WordPress 7.0-beta1. The function still accepts a locale parameter and should return translated plugin info.

    Could be likely due to how locale/language packs are loaded in the beta (translation fallback)?

    Thread Starter hupe13

    (@hupe13)

    It was a time problem, now it is okay. But – there are 2 servernames with same server ip, one is version 6.9, the other is 7.0. Strange.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.