Changeset 10587
- Timestamp:
- 01/15/2021 06:19:26 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/class-plugin.php
r10576 r10587 205 205 if ( 206 206 ! $translation->id && 207 ! empty( $args['user_id'] ) && 207 208 'waiting' === $args['status'] && 208 209 GP::$current_route->class_name === 'GP_Route_Translation' && … … 266 267 public function auto_reject_replaced_suggestions( GP_Translation $translation ) { 267 268 // If the suggestion isn't in a waiting status, it's can be skipped, they've got better access than most. 268 if ( 'waiting' !== $translation->status ) {269 if ( 'waiting' !== $translation->status || ! $translation->user_id ) { 269 270 return; 270 271 }
Note: See TracChangeset
for help on using the changeset viewer.