WordPress.org

Making WordPress.org

Changeset 5087


Ignore:
Timestamp:
03/06/2017 12:51:13 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Support Forums: Add missing ampersand in user's reviews rewrite rules.

See #2007.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-support-compat.php

    r5083 r5087  
    292292
    293293        // Add user's reviews rewrite rules.
    294         add_rewrite_rule( $user_reviews_rule . $base_rule,  'index.php?' . $user_id . '=$matches[1]&wporg_single_user_reviews=1',                              $priority );
    295         add_rewrite_rule( $user_reviews_rule . $paged_rule, 'index.php?' . $user_id . '=$matches[1]&wporg_single_user_reviews=1' . $paged_id . '=$matches[2]', $priority );
    296         add_rewrite_rule( $user_reviews_rule . $feed_rule,  'index.php?' . $user_id . '=$matches[1]&wporg_single_user_reviews=1' . $feed_id  . '=$matches[2]', $priority );
     294        add_rewrite_rule( $user_reviews_rule . $base_rule,  'index.php?' . $user_id . '=$matches[1]&wporg_single_user_reviews=1',                               $priority );
     295        add_rewrite_rule( $user_reviews_rule . $paged_rule, 'index.php?' . $user_id . '=$matches[1]&wporg_single_user_reviews=1&' . $paged_id . '=$matches[2]', $priority );
     296        add_rewrite_rule( $user_reviews_rule . $feed_rule,  'index.php?' . $user_id . '=$matches[1]&wporg_single_user_reviews=1&' . $feed_id  . '=$matches[2]', $priority );
    297297    }
    298298
Note: See TracChangeset for help on using the changeset viewer.