Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/24/2024 02:07:17 PM (2 years ago)
Author:
espellcaste
Message:

WPCS: The modified code addresses all WordPress.Security.SafeRedirect issues in the codebase.

All redirects in the codebase are now using the wp_safe_redirect() function, which validates and sanitizes the URLs, improving the overall security of the application.

Props imath
See #7228
Closes ​https://github.com/buddypress/buddypress/pull/290

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/classes/class-bp-members-admin.php

    r13856 r13871  
    27222722                }
    27232723
    2724                 wp_redirect( $redirect );
    2725                 exit();
     2724                wp_safe_redirect( $redirect );
     2725                exit;
    27262726        }
    27272727
Note: See TracChangeset for help on using the changeset viewer.