Making WordPress.org

Changeset 12971


Ignore:
Timestamp:
11/17/2023 09:21:22 AM (3 years ago)
Author:
spiraltee
Message:

Translate: Fix console errors

File:
1 edited

Legend:

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

    r12657 r12971  
    3131                        </ul>
    3232                        <div class="feedback-comment">
    33                                 <label for="feedback_comment"><?php esc_html_e( 'Comment (Optional)', 'glotpress' ); ?>
     33                                <label for="<?php echo 'feedback-' . esc_attr( $translation->row_id ); ?>"><?php esc_html_e( 'Comment (Optional)', 'glotpress' ); ?>
    3434                                </label>
    35                                 <textarea name="feedback_comment"></textarea>
     35                                <textarea id="<?php echo 'feedback-' . esc_attr( $translation->row_id ); ?>" name="feedback_comment"></textarea>
    3636
    37                                 <label class="note">Please note that all feedback is visible to the public.</label>
     37                                <span class="note">Please note that all feedback is visible to the public.</span>
    3838                        </div>
    3939                </form>
Note: See TracChangeset for help on using the changeset viewer.