WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#8051 closed defect (bug) (fixed)

2.7 post by email not working

Reported by: photolord Owned by: anonymous
Priority: normal Milestone: 2.7
Component: General Version: 2.7
Severity: normal Keywords: post email
Cc:

Description

Wordpress 2.7-beta1-9478 gives me an error when trying to use the post by email function. It gives me this error:

Fatal error: Call to undefined function: user() in /public_html/wp-mail.php on line 24

Any idea why?

Attachments (2)

wp-mail_working.diff (32.0 KB) - added by filosofo 5 years ago.
wp-mail.diff (1.0 KB) - added by filosofo 5 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 follow-up: filosofo5 years ago

The problem is that [8762] introduced a new version of the POP3 Mail class that uses a completely different method names.

comment:2 in reply to: ↑ 1 photolord5 years ago

So what would I change and in what file? Or is it a little more complicated than that?

comment:3 follow-up: filosofo5 years ago

well, wp-mail for starters. I was planning to create a patch, but if you want to, let me know.

comment:4 in reply to: ↑ 3 photolord5 years ago

Unfortunately, I have very limited knowledge. I couldn't begin to come up with a patch, but I am trying to learn some things. I figure if I come to the trac enough maybe I can start utilizing some code.

filosofo5 years ago

comment:5 filosofo5 years ago

[8762] introduced the PHPMailer pop3 class, which doesn't even do the same thing as the old Squirrelmail pop3 class---different methods, different purpose. Same class name, though.

Patch reverts [8762] and localizes wp-mail.php

comment:6 ryan5 years ago

(In [9503]) Revert POP3 changes. Localization for wp-mail. Props filosofo. see #8051

filosofo5 years ago

comment:7 ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [9504]) Localization for wp-mail. Props filosofo. fixes #8051

comment:8 jacobsantos5 years ago

  • Milestone changed from 2.8 to 2.7
Note: See TracTickets for help on using tickets.