Making WordPress.org

Changeset 13638


Ignore:
Timestamp:
05/01/2024 01:56:33 AM ( 4 weeks ago)
Author:
dufresnesteven
Message:

wporg-plugins-2024: Fix language suggest to show translation help banner.

Props: ryelle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/nav.php

    r13376 r13638  
    thirty-one thirty-one     $lang_suggest_endpoint = rest_url( '/plugins/v2/locale-banner' );
    thirty-two thirty-two     if ( is_singular( 'plugin' ) ) {
    thirty-three           $lang_suggest_endpoint = add_query_arg( ' currentPlugin ', get_queried_object()->post_name, $lang_suggest_endpoint );
      thirty-three         $lang_suggest_endpoint = add_query_arg( ' plugin_slug ', get_queried_object()->post_name, $lang_suggest_endpoint );
    thirty-four thirty-four     }
    thirty-five thirty-five ?>
Note: See TracChangeset for help on using the changeset viewer.