Changeset 7581 for trunk/bp-core/bp-core-catchuri.php
- Timestamp:
- 11/16/2013 07:01:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r7476 r7581 211 211 $match = $bp->pages->members; 212 212 $match->key = 'members'; 213 214 // Without the 'members' URL chunk, WordPress won't know which page to load215 // This filter intercepts the WP query and tells it to load the members page216 add_filter( 'request', create_function( '$query_args', '$query_args["pagename"] = "' . $match->name . '"; return $query_args;' ) );217 213 } 218 214 }
Note: See TracChangeset
for help on using the changeset viewer.