Changeset 12107 for sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/moderation.php
- Timestamp:
- 10/07/2022 06:20:28 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/moderation.php
r12057 r12107 309 309 } 310 310 311 // Bail if user has already been emailed.312 if ( self::has_user_been_emailed( $post ) ) {313 return;314 }315 316 311 $user = get_user_by( 'id', $post->post_author ); 317 312 318 313 $rejection_message = ''; 314 315 // Add verbiage to acknowledge if photo was previously published prior 316 // to its rejection. 317 if ( self::has_user_been_emailed( $post ) ) { 318 $rejection_message .= __( 'Though this photo had already been approved, we have since decided to decline it and have unpublished it from the site.', 'wporg-photos' ) . "\n"; 319 } else { 320 $rejection_message .= __( 'The photo has been declined and will not be published to the site.', 'wporg-photos' ) . "\n"; 321 } 319 322 320 323 // Check for specifics provided by the moderator regarding the rejection. … … 352 355 Thank you for submitting a photo to the WordPress Photo Directory. 353 356 354 The photo has been declined and will not be published to the site.355 357 %2$s 356 358 Submission date: %3$s
Note: See TracChangeset
for help on using the changeset viewer.