Changeset 1560790
- Timestamp:
- 12/23/2016 03:01:10 PM (9 years ago)
- Location:
- pending-submission-notifications/trunk
- Files:
-
- 2 edited
-
pending-submission-notifications.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pending-submission-notifications/trunk/pending-submission-notifications.php
r917573 r1560790 64 64 $preview_link = get_permalink($post->ID) . '&preview=true'; 65 65 $username = get_userdata($post->post_author); 66 $username_last_edit = get_the_modified_author($post->ID); 67 $post_modified = $post->post_modified; 66 68 $subject = 'New submission pending review: "' . $post->post_title . '"'; 67 69 $message = 'A new submission is pending review.'; 68 70 $message .= "\r\n\r\n"; 69 71 $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"; 71 75 $message .= "\r\n\r\n"; 72 76 $message .= "Edit the submission: $edit_link\r\n"; -
pending-submission-notifications/trunk/readme.txt
r1560184 r1560790 5 5 Requires at least: 3.8 6 6 Tested up to: 4.7 7 Stable tag: 1. 07 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 15 15 This enables email notifications of pending review submissions. By default the email goes to the admin email set on your Settings page. 16 16 17 You can set the email(s) that should receive these notifications Under Settings>Pending Submission Notifications 17 You 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. 18 18 19 19 When a submission is approved by an admin, an email notification is sent to the contributor. … … 33 33 == Changelog == 34 34 35 = 1.1 = 36 *Added information about last user to edit the post and the timestamp of last edit. 37 35 38 = 1.0 = 36 37 39 *Initial release
Note: See TracChangeset
for help on using the changeset viewer.