Changeset 5626 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
- Timestamp:
- 07/07/2017 05:39:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r5618 r5626 262 262 263 263 /** 264 * Check if the current page is a user's reviewspage.265 * 266 * @return bool True if the page is a user's reviewspage, false otherwise.264 * Check if the current page is a user's "Reviews Written" page. 265 * 266 * @return bool True if the page is a "Reviews Written" page, false otherwise. 267 267 */ 268 268 function wporg_support_is_single_user_reviews() { 269 269 return (bool) get_query_var( 'wporg_single_user_reviews' ); 270 } 271 272 /** 273 * Check if the current page is a user's "Active Topics" page. 274 * 275 * @return bool True if the page is an "Active Topics" page, false otherwise. 276 */ 277 function wporg_support_is_single_user_active_topics() { 278 return (bool) get_query_var( 'wporg_single_user_active_topics' ); 279 } 280 281 /** 282 * Check if the current page is a user's "Topics Replied To" page. 283 * 284 * @return bool True if the page is a "Topics Replied To" page, false otherwise. 285 */ 286 function wporg_support_is_single_user_topics_replied_to() { 287 return (bool) get_query_var( 'wporg_single_user_topics_replied_to' ); 270 288 } 271 289
Note: See TracChangeset
for help on using the changeset viewer.