Changeset 5301
- Timestamp:
- 04/09/2017 10:47:29 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
r5286 r5301 354 354 } 355 355 if ( 356 ( ! empty( $this->authors ) && in_array( $user->user_ login, $this->authors ) )356 ( ! empty( $this->authors ) && in_array( $user->user_nicename, $this->authors ) ) 357 357 || 358 ( ! empty( $this->contributors ) && in_array( $user->user_ login, $this->contributors ) )358 ( ! empty( $this->contributors ) && in_array( $user->user_nicename, $this->contributors ) ) 359 359 ) { 360 360 $retval = true; -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-stickies-compat.php
r5295 r5301 213 213 214 214 // Compat authors. 215 if ( $this->authors && in_array( $user->user_ login, $this->authors ) ) {215 if ( $this->authors && in_array( $user->user_nicename, $this->authors ) ) { 216 216 $retval = true; 217 217 } 218 218 219 219 // Compat contributors. 220 if ( $this->contributors && in_array( $user->user_ login, $this->contributors ) ) {220 if ( $this->contributors && in_array( $user->user_nicename, $this->contributors ) ) { 221 221 $retval = true; 222 222 }
Note: See TracChangeset
for help on using the changeset viewer.