Changeset 12435 for sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/includes/class-gp-translation-helpers.php
- Timestamp:
- 03/01/2023 12:38:02 PM (19 months ago)
- 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 453 453 $original_id_array = ! empty( $_POST['data']['original_id'] ) ? array_map( array( $helper_discussion, 'sanitize_original_id' ), $_POST['data']['original_id'] ) : null; 454 454 $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 ) ); 456 456 $comment_reason = array_filter( 457 457 $comment_reason,
Note: See TracChangeset
for help on using the changeset viewer.