Skip to:
Content

bbPress.org

Changeset 4277


Ignore:
Timestamp:
10/30/2012 07:02:24 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Reply Titles:

  • Attribute 'maxlength' not allowed on hidden fields.
  • See #1996.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/common/template-tags.php

    r4265 r4277  
    14501450    if ( bbp_is_reply_edit() ) : ?>
    14511451
    1452         <input type="hidden" name="bbp_reply_title" id="bbp_reply_title" value="<?php printf( __( 'Reply To: %s', 'bbpress' ), bbp_get_topic_title() ); ?>" maxlength="<?php bbp_get_title_max_length(); ?>" />
     1452        <input type="hidden" name="bbp_reply_title" id="bbp_reply_title" value="<?php printf( __( 'Reply To: %s', 'bbpress' ), bbp_get_topic_title() ); ?>" />
    14531453        <input type="hidden" name="bbp_reply_id"    id="bbp_reply_id"    value="<?php bbp_reply_id(); ?>" />
    14541454        <input type="hidden" name="action"          id="bbp_post_action" value="bbp-edit-reply" />
     
    14611461    else : ?>
    14621462
    1463         <input type="hidden" name="bbp_reply_title" id="bbp_reply_title" value="<?php printf( __( 'Reply To: %s', 'bbpress' ), bbp_get_topic_title() ); ?>" maxlength="<?php bbp_get_title_max_length(); ?>" />
     1463        <input type="hidden" name="bbp_reply_title" id="bbp_reply_title" value="<?php printf( __( 'Reply To: %s', 'bbpress' ), bbp_get_topic_title() ); ?>" />
    14641464        <input type="hidden" name="bbp_topic_id"    id="bbp_topic_id"    value="<?php bbp_topic_id(); ?>" />
    14651465        <input type="hidden" name="action"          id="bbp_post_action" value="bbp-new-reply" />
Note: See TracChangeset for help on using the changeset viewer.