Changeset 3759
- Timestamp:
- 08/01/2016 01:00:47 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-redirect/wporg-bbp-redirect.php
r3758 r3759 49 49 } 50 50 51 if ( in_array( get_query_var( 'post_type' ), array( 'forum', 'topic' ) ) ) {51 if ( in_array( $post_type, array( 'forum', 'topic' ) ) ) { 52 52 $maybe_id = get_query_var( 'name' ); 53 53 if ( is_numeric( $maybe_id ) ) {
Note: See TracChangeset
for help on using the changeset viewer.