Changeset 6387 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
- Timestamp:
- 01/17/2018 01:28:04 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
r5960 r6387 96 96 $this->compat(), 97 97 sanitize_key( $slug[0] ) ); 98 // Append the star filter if included in a reviews URL 99 // See https://meta.trac.wordpress.org/ticket/3376 100 if ( isset( $_GET['filter'] ) ) { 101 $filter = absint( $_GET['filter'] ); 102 if ( $filter >= 1 && $filter <= 5 ) { 103 $url = add_query_arg( array( 'filter' => $filter ), $url ); 104 } 105 } 98 106 break; 99 107 case 'reviews_rss' :
Note: See TracChangeset
for help on using the changeset viewer.