Plugin Directory

Changeset 1560790


Ignore:
Timestamp:
12/23/2016 03:01:10 PM (9 years ago)
Author:
razvanh
Message:

added info about last editor and timestamp of last edit

Location:
pending-submission-notifications/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pending-submission-notifications/trunk/pending-submission-notifications.php

    r917573 r1560790  
    6464    $preview_link = get_permalink($post->ID) . '&preview=true';
    6565    $username = get_userdata($post->post_author);
     66    $username_last_edit = get_the_modified_author($post->ID);
     67    $post_modified = $post->post_modified;
    6668    $subject = 'New submission pending review: "' . $post->post_title . '"';
    6769    $message = 'A new submission is pending review.';
    6870    $message .= "\r\n\r\n";
    6971    $message .= "Author: $username->user_login\r\n";
    70     $message .= "Title: $post->post_title";
     72    $message .= "Title: $post->post_title\r\n";
     73    $message .= "Last Edited By: $username_last_edit\r\n";
     74    $message .= "Last Edited Date: $post->post_modified";
    7175    $message .= "\r\n\r\n";
    7276    $message .= "Edit the submission: $edit_link\r\n";
  • pending-submission-notifications/trunk/readme.txt

    r1560184 r1560790  
    55Requires at least: 3.8
    66Tested up to: 4.7
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1515This enables email notifications of pending review submissions. By default the email goes to the admin email set on your Settings page.
    1616
    17 You can set the email(s) that should receive these notifications Under Settings>Pending Submission Notifications
     17You can set the email(s) that should receive these notifications Under Settings>Pending Submission Notifications. You can add multiple email addresses, using commas to separate them.
    1818
    1919When a submission is approved by an admin, an email notification is sent to the contributor.
     
    3333== Changelog ==
    3434
     35= 1.1 =
     36*Added information about last user to edit the post and the timestamp of last edit.
     37
    3538= 1.0 =
    36 
    3739*Initial release
Note: See TracChangeset for help on using the changeset viewer.