Changeset 4890 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
- Timestamp:
- 02/08/2017 06:36:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r4888 r4890 236 236 $is_user_blocked = ! current_user_can( 'spectate' ); 237 237 238 if ( in_array( $post_status, array( ' pending', 'spam' ) ) ) :238 if ( in_array( $post_status, array( 'archived', 'pending', 'spam' ) ) ) : 239 239 $notice_class = $notice = ''; 240 240 … … 251 251 $notice = __( 'This post has been flagged as spam.', 'wporg-forums' ); 252 252 } 253 } elseif ( 'archived' === $post_status ) { 254 $notice = __( 'This post is currently archived.', 'wporg-forums' ); 253 255 } else { 254 256 $notice = __( 'This post is currently pending.', 'wporg-forums' );
Note: See TracChangeset
for help on using the changeset viewer.