Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/25/2012 08:00:36 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Introduce bbp_get_redirect_to() to handle getting the request variable. Use this new function where appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/forums/functions.php

    r4654 r4655  
    297297
    298298        // Redirect to
    299         $redirect_to = !empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';
     299        $redirect_to  = bbp_get_redirect_to();
    300300
    301301        // Get the forum URL
     
    549549
    550550        // Redirect to
    551         $redirect_to = !empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';
     551        $redirect_to = bbp_get_redirect_to();
    552552
    553553        // View all?
Note: See TracChangeset for help on using the changeset viewer.