Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/22/2012 09:58:26 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Redirects:

  • Always use wp_safe_redirect() in bbPress.
  • Nothing should/will redirect off-site.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-reply-functions.php

    r3912 r3919  
    973973 * @uses bbp_get_reply_url() To get the reply url
    974974 * @uses add_query_arg() To add custom args to the reply url
    975  * @uses wp_redirect() To redirect to the reply
     975 * @uses wp_safe_redirect() To redirect to the reply
    976976 * @uses bbPress::errors:add() To log the error messages
    977977 */
     
    10851085
    10861086        // Redirect back to reply
    1087         wp_redirect( $reply_url );
     1087        wp_safe_redirect( $reply_url );
    10881088
    10891089        // For good measure
Note: See TracChangeset for help on using the changeset viewer.