[wp-trac] [WordPress Trac] #23291: wp_mail should handle phpmailer exceptions instead of ignoring them
WordPress Trac
noreply at wordpress.org
Mon Jan 28 12:42:10 UTC 2013
#23291: wp_mail should handle phpmailer exceptions instead of ignoring them
-------------------------+------------------------------
Reporter: mark-k | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 3.5
Severity: minor | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:21 rmccue]:
> Replying to [comment:19 iandunn]:
> > b. $return = 'bool' | 'wp_error' isn't consistent with
wp_insert_post()'s $wp_error = false | true signature, but it conforms to
the coding guidelines.
>
> I personally think it should be a boolean. Which specific guideline are
you referencing here?
http://codex.wordpress.org/WordPress_Coding_Standards#Self-
Explanatory_Flag_Values_for_Function_Arguments
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23291#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list