Changeset 5111
- Timestamp:
- 03/07/2017 03:54:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php
r5110 r5111 269 269 if ( $post_id ) { 270 270 update_post_meta( $post->ID, self::ARCHIVED_META, $post->post_status ); 271 update_post_meta( $post->ID, self::MODERATOR_META, wp_get_current_user()->user_ login);271 update_post_meta( $post->ID, self::MODERATOR_META, wp_get_current_user()->user_nicename ); 272 272 273 273 if ( bbp_is_reply( $post->ID ) ) { … … 303 303 if ( $post_id ) { 304 304 delete_post_meta( $post->ID, self::ARCHIVED_META ); 305 update_post_meta( $post->ID, self::MODERATOR_META, wp_get_current_user()->user_ login);305 update_post_meta( $post->ID, self::MODERATOR_META, wp_get_current_user()->user_nicename ); 306 306 307 307 if ( bbp_is_reply( $post->ID ) ) {
Note: See TracChangeset
for help on using the changeset viewer.