Changeset 4126 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/functions.php
- Timestamp:
- 09/24/2016 06:16:41 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/functions.php
r4100 r4126 181 181 /* translators: registration date format, see https://secure.php.net/date */ 182 182 return mysql2date( __( 'F jS, Y', 'wporg-forums' ), $user->user_registered ); 183 } 184 185 /** 186 * Check if the current page is a single review. 187 */ 188 function wporg_support_is_single_review() { 189 if ( ! class_exists( 'WordPressdotorg\Forums\Plugin' ) || ! bbp_is_single_topic() ) { 190 return false; 191 } 192 193 return ( WordPressdotorg\Forums\Plugin::REVIEWS_FORUM_ID == bbp_get_topic_forum_id() ); 183 194 } 184 195
Note: See TracChangeset
for help on using the changeset viewer.