Changeset 5296 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
- Timestamp:
- 04/09/2017 06:10:05 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r5163 r5296 299 299 $hours_passed = (int) ( $seconds_passed / HOUR_IN_SECONDS ); 300 300 $post_status = get_post_status(); 301 $is_moderator = current_user_can( 'moderate' );301 $is_moderator = current_user_can( 'moderate', get_the_ID() ); 302 302 $is_user_blocked = ! current_user_can( 'spectate' ); 303 303 $notice_class = '';
Note: See TracChangeset
for help on using the changeset viewer.