Making WordPress.org


Ignore:
Timestamp:
03/01/2023 12:38:02 PM (19 months ago)
Author:
spiraltee
Message:

Translate: Update gp-translation-helpers from github

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

    r12405 r12435  
    453453        $original_id_array    = ! empty( $_POST['data']['original_id'] ) ? array_map( array( $helper_discussion, 'sanitize_original_id' ), $_POST['data']['original_id'] ) : null;
    454454        $comment_reason       = ! empty( $_POST['data']['reason'] ) ? $_POST['data']['reason'] : array( 'other' );
    455         $all_comment_reasons  = array_keys( Helper_Translation_Discussion::get_comment_reasons() );
     455        $all_comment_reasons  = array_keys( Helper_Translation_Discussion::get_comment_reasons( $locale_slug ) );
    456456        $comment_reason       = array_filter(
    457457            $comment_reason,
Note: See TracChangeset for help on using the changeset viewer.