Making WordPress.org


Ignore:
Timestamp:
06/12/2024 04:45:00 AM (20 months ago)
Author:
dd32
Message:

Translate: Merge https://github.com/GlotPress/gp-translation-helpers/pull/220 into meta.svn.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/includes/class-gp-translation-helpers.php

    r12633 r13809  
    188188
    189189        $translation_helpers_settings = array(
    190             'th_url'   => gp_url_project( $args['project'], gp_url_join( $args['locale_slug'], $args['translation_set_slug'], '-get-translation-helpers' ) ),
     190            'th_url'   => gp_url_project( $args['project'], gp_url_join( $args['locale_slug'], $args['translation_set_slug'], '-get-translation-helpers', '{ID}' ) ),
    191191            'ajax_url' => admin_url( 'admin-ajax.php' ),
    192192            'nonce'    => wp_create_nonce( 'gp_optin_optout' ),
     
    425425            '$gp_translation_helpers_editor',
    426426            array(
    427                 'translation_helper_url' => gp_url_project( $translation_set['project']->path, gp_url_join( $translation_set['locale_slug'], $translation_set['translation_set']->slug, '-get-translation-helpers' ) ),
     427                'translation_helper_url' => gp_url_project( $translation_set['project']->path, gp_url_join( $translation_set['locale_slug'], $translation_set['translation_set']->slug, '-get-translation-helpers', '{ID}' ) ),
    428428                'reply_text'             => esc_attr__( 'Reply' ),
    429429                'cancel_reply_text'      => esc_html__( 'Cancel reply' ),
Note: See TracChangeset for help on using the changeset viewer.