Making WordPress.org

Changeset 12069


Ignore:
Timestamp:
09/16/2022 09:50:07 AM (2 years ago)
Author:
amieiro
Message:

Update the name of an incorrect hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php

    r11964 r12069  
    253253                                    <?php if ( 'rejected' !== $translation->translation_status ) : ?>
    254254                                        <button class="button reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>&minus;</strong> <?php _e( 'Reject', 'glotpress' ); ?></button>
     255                                        <?php if ( apply_filters( 'gp_enable_changesrequested_status', false ) ) : // todo: delete when we merge the gp-translation-helpers in GlotPress ?>
     256                                            <button class="button changesrequested" style="display: none;" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-changes_requested_' . $translation->id ) ); ?>" title="<?php esc_attr_e( 'Request changes for this translation. The existing translation will be kept as part of the translation history.', 'glotpress' ); ?>"><strong>&minus;</strong> <?php _ex( 'Request changes', 'Action', 'glotpress' ); ?></button>
     257                                        <?php endif; ?>
    255258                                    <?php endif; ?>
    256259                                    <?php if ( 'fuzzy' !== $translation->translation_status ) : ?>
Note: See TracChangeset for help on using the changeset viewer.