Changeset 5611
- Timestamp:
- 12/30/2011 04:04:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r5425 r5611 524 524 525 525 if ( !bp_is_blog_page() && apply_filters( 'bp_do_redirect_canonical', true ) ) { 526 // If this is a POST request, don't do a canonical redirect. 527 // This is for backward compatibility with plugins that submit form requests to 528 // non-canonical URLs. Plugin authors should do their best to use canonical URLs in 529 // their form actions. 530 if ( !empty( $_POST ) ) { 531 return; 532 } 533 526 534 // build the URL in the address bar 527 535 $requested_url = is_ssl() ? 'https://' : 'http://';
Note: See TracChangeset
for help on using the changeset viewer.