Making WordPress.org

Ticket #1359: 1359.diff

File 1359.diff, 1004 bytes (added by BandonRandon, 9 years ago)

updates "disabled" to "readonly"

  • addons/attendance.php

     
    281281                $secret_url = ! empty( $this->secret ) ? add_query_arg( 'camptix-attendance', $this->secret, home_url() ) : '';
    282282                ?>
    283283                <input type="hidden" name="camptix_options[attendance-secret]" value="1" />
    284                 <textarea class="large-text" rows="4" disabled="disabled"><?php echo esc_textarea( $secret_url ); ?></textarea>
     284                <textarea class="large-text" rows="4" readonly><?php echo esc_textarea( $secret_url ); ?></textarea>
    285285
    286286                <input id="camptix-attendance-generate" type="checkbox" name="camptix_options[attendance-generate]" value="1" />
    287287                <label for="camptix-attendance-generate"><?php _e( 'Generate a new secret link (old links will expire)', 'camptix' ); ?></label>
     
    346346        }
    347347}
    348348
    349 CampTix_Attendance::register_addon();
    350  No newline at end of file
     349CampTix_Attendance::register_addon();