Making WordPress.org


Ignore:
Timestamp:
05/28/2025 05:37:40 AM (6 months ago)
Author:
dd32
Message:

WP I18N Teams: Update the team page styling with the newer block buttons.

Props dd32, dhrumilk, mikinc860, rollybueno.
Fixes #7916, #7986.
Closes https://github.com/WordPress/wordpress.org/pull/490.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/inc/locales.php

    r13603 r14457  
    2626function enqueue_assets(): void {
    2727    if ( is_singular() && false !== strpos( get_post()->post_content, '[wp-locales' ) ) {
    28         wp_enqueue_style( 'wp-i18n-teams', plugins_url( 'css/i18n-teams.css', PLUGIN_FILE ), [], 13 );
    29         wp_enqueue_script( 'wp-i18n-teams', plugins_url( 'js/i18n-teams.js', PLUGIN_FILE ), [ 'jquery', 'o2-app' ], 5 );
     28        wp_enqueue_style( 'wp-i18n-teams', plugins_url( 'css/i18n-teams.css', PLUGIN_FILE ), [], filemtime( dirname( __DIR__ ) . '/css/i18n-teams.css' ) );
     29        wp_enqueue_script( 'wp-i18n-teams', plugins_url( 'js/i18n-teams.js', PLUGIN_FILE ), [ 'jquery', 'o2-app' ], filemtime( dirname( __DIR__ ) . '/js/i18n-teams.js' ) );
    3030    }
    3131}
Note: See TracChangeset for help on using the changeset viewer.