Making WordPress.org

Changeset 7761


Ignore:
Timestamp:
10/23/2018 05:03:19 PM (6 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Change HTML ID for editor to avoid potential ID conflict.

Props keesiemeijer.
See #3882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content.php

    r7755 r7761  
    393393        echo "<form id='feedback-form-{$instance}{$form_type}' class='feedback-form' method='post' action='{$action}' name='feedback-form-{$instance}'>\n";
    394394        echo self::get_editor_rules( 'feedback', $note_link );
    395         wp_editor( $content, 'feedback-' . $instance, array(
     395        wp_editor( $content, 'feedback-comment-' . $instance, array(
    396396                'media_buttons' => false,
    397397                'textarea_name' => 'comment',
Note: See TracChangeset for help on using the changeset viewer.