Skip to:
Content

bbPress.org

Changeset 4278


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

Form Actions:

  • Use the_permalink() as a form action in forum/topic/reply forms.
  • See #1996.
Location:
trunk/templates/bbp-default/bbpress
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/bbp-default/bbpress/form-forum.php

    r4225 r4278  
    2424    <div id="new-forum-<?php bbp_forum_id(); ?>" class="bbp-forum-form">
    2525
    26         <form id="new-post" name="new-post" method="post" action="">
     26        <form id="new-post" name="new-post" method="post" action="<?php the_permalink(); ?>">
    2727
    2828            <?php do_action( 'bbp_theme_before_forum_form' ); ?>
  • trunk/templates/bbp-default/bbpress/form-reply.php

    r4225 r4278  
    2222    <div id="new-reply-<?php bbp_topic_id(); ?>" class="bbp-reply-form">
    2323
    24         <form id="new-post" name="new-post" method="post" action="">
     24        <form id="new-post" name="new-post" method="post" action="<?php the_permalink(); ?>">
    2525
    2626            <?php do_action( 'bbp_theme_before_reply_form' ); ?>
  • trunk/templates/bbp-default/bbpress/form-topic-merge.php

    r4225 r4278  
    1818        <div id="merge-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-merge">
    1919
    20             <form id="merge_topic" name="merge_topic" method="post" action="">
     20            <form id="merge_topic" name="merge_topic" method="post" action="<?php the_permalink(); ?>">
    2121
    2222                <fieldset class="bbp-form">
  • trunk/templates/bbp-default/bbpress/form-topic-split.php

    r4225 r4278  
    1818        <div id="split-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-split">
    1919
    20             <form id="split_topic" name="split_topic" method="post" action="">
     20            <form id="split_topic" name="split_topic" method="post" action="<?php the_permalink(); ?>">
    2121
    2222                <fieldset class="bbp-form">
  • trunk/templates/bbp-default/bbpress/form-topic-tag.php

    r4225 r4278  
    3030                </div>
    3131
    32                 <form id="rename_tag" name="rename_tag" method="post" action="">
     32                <form id="rename_tag" name="rename_tag" method="post" action="<?php the_permalink(); ?>">
    3333
    3434                    <div>
     
    6363                </div>
    6464
    65                 <form id="merge_tag" name="merge_tag" method="post" action="">
     65                <form id="merge_tag" name="merge_tag" method="post" action="<?php the_permalink(); ?>">
    6666
    6767                    <div>
     
    9696                    </div>
    9797
    98                     <form id="delete_tag" name="delete_tag" method="post" action="">
     98                    <form id="delete_tag" name="delete_tag" method="post" action="<?php the_permalink(); ?>">
    9999
    100100                        <div class="bbp-submit-wrapper">
  • trunk/templates/bbp-default/bbpress/form-topic.php

    r4225 r4278  
    3030    <div id="new-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-form">
    3131
    32         <form id="new-post" name="new-post" method="post" action="">
     32        <form id="new-post" name="new-post" method="post" action="<?php the_permalink(); ?>">
    3333
    3434            <?php do_action( 'bbp_theme_before_topic_form' ); ?>
Note: See TracChangeset for help on using the changeset viewer.