Minor typo in wp_mail function
|Reported by:||reidbusi||Owned by:||SergeyBiryukov|
While working on a plugin, I have discovered that wp_mail calls:
Where the method in the class is...
<?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.
Change History (5)
- Milestone changed from Awaiting Review to 4.8
- Severity changed from normal to trivial