Making WordPress.org

Changeset 12789


Ignore:
Timestamp:
08/01/2023 10:49:25 PM (3 years ago)
Author:
coffee2code
Message:

Photo Directory, Rejection: Improve some inline docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/rejection.php

    r12788 r12789  
    511511        }
    512512
    513         // Prevent untrashing if the previous post status was rejected.
     513        // Prevent untrashing if the previous post status was not rejected.
    514514        if ( self::get_post_status() !== $previous_status ) {
    515515            return false;
     
    677677     *
    678678     * Photo posts must first be rejected (and ideally remain rejected) rather
    679      * than get deleted since we'd lose valuatble information about the rejection
    680      * such who submitted, when they submitted, why it was rejected, who rejected
     679     * than get deleted since we'd lose valuable information about the rejection
     680     * such as who submitted, when they submitted, why it was rejected, who rejected
    681681     * it, and the hash of the photo to prevent resubmissions of the photo.
    682682     *
     
    718718     * Removes the ability to publish photos once rejected.
    719719     *
    720      * Once rejected, photo posts will have had their submitted photo deleted,
     720     * Once rejected, photo posts will have had their submitted photo deleted so
    721721     * publishing the post is no longer a viable path for the post. If no
    722722     * post is associated with the capability check, and no post is global, then
Note: See TracChangeset for help on using the changeset viewer.