Opened 8 years ago
Closed 7 years ago
#39702 closed defect (bug) (fixed)
Minor typo in wp_mail function
Reported by: | reidbusi | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | trivial | Version: | 4.7.1 |
Component: | Keywords: | has-patch | |
Focuses: | Cc: |
Description
While working on a plugin, I have discovered that wp_mail calls:
\wp-includes\pluggable.php(453):
<?php $phpmailer->AddAttachment($attachment);
Where the method in the class is...
\wp-includes\class-phpmailer(2506):
<?php public function addAttachment($path, $name = '', $encoding = 'base64', $type = '', $disposition = 'attachment')
I note that PHP function names are case insensitive:
Note: Function names are case-insensitive, though it is usually good form to call functions as they appear in their declaration.
So, this does not affect anything really, other than my OCD. Do with it as you will.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Changes methods form PascalCase to camelCase