[wp-trac] Re: [WordPress Trac] #4642: Enhanced wp-mail.php
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 7 23:39:41 GMT 2007
#4642: Enhanced wp-mail.php
-------------------------------+--------------------------------------------
Reporter: lexhair | Owner: Bobcat
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4
Component: Administration | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch, tested |
-------------------------------+--------------------------------------------
Changes (by Bobcat):
* keywords: => has-patch, tested
* owner: anonymous => Bobcat
* version: => 2.3
Comment:
Attached patch to wp-mail.php sets post_status to 'publish' if the author
is in the DB and has 'publish_posts' capability. Otherwise (unknown
author or no 'publish_posts'), post_status is set to 'pending'. This is
analogous to the behavior when posting via the web interface.
post_status may be overridden by a plugin hooking into the existing
phone_content filter.
Patch was tested with version 2.3, using test case email senders of an
administrator, an author, a subscriber, and a user not in the DB.
--
Ticket URL: <http://trac.wordpress.org/ticket/4642#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list