Make WordPress Core

Opened 16 years ago

Closed 15 years ago

Last modified 10 years ago

#9831 closed enhancement (duplicate)

Add a filter to allow the user to show his/her email address in feeds

Reported by: peaceablewhale's profile peaceablewhale Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Feeds Keywords:
Focuses: Cc:

Description

Currently, the author email address is always not displayed in the feeds. However, there are regular demands that authors want their email addresses to be displayed in order to let readers contact them. In addition, plugins can't seem to do this.

My suggestion is to add an "Show email address in feeds" option under User Profile\Contact Info\Email and add some conditional statements in the feeds.

Feedback from the core developers is requested.

Change History (8)

#1 @Denis-de-Bernardy
16 years ago

Where would an extra hook be needed? I add the email in my mediacaster plugin for use by itunes, and had no issues whatsoever.

#2 @peaceablewhale
16 years ago

I am not sure how to remove the existing <dc:creator> element in RSS 2 and <author> element in Atom 1.0.

<dc:creator>Author Name</dc:creator> in RSS 2 should be changed to <author>Author Email (Author Name)</author> while <author><name>Name</name></author> in Atom should be changed to <author><name>Name</name><email>Email</email></author>.

#3 @Denis-de-Bernardy
16 years ago

  • Component changed from Users to Feeds
  • Keywords needs-patch added; dev-feedback removed
  • Milestone changed from Future Release to 2.9
  • Summary changed from Add an option to allow the user to show his/her email address in feeds to Add a filter to allow the user to show his/her email address in feeds

#4 @peaceablewhale
16 years ago

My original idea was to add a field called "show_email" in the wp_users table, a function to read that field and function to display the address in feeds. Adding a filter doesn't seem to be enough.

#5 @Denis-de-Bernardy
16 years ago

if the needed filter is added, a plugin could be written that does the same thing using a user_meta.

#6 follow-up: @peaceablewhale
16 years ago

  • Keywords needs-patch removed

This issue will be fixed if the changes proposed in #9510 are accepted.

#7 in reply to: ↑ 6 @scribu
15 years ago

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

Replying to peaceablewhale:

This issue will be fixed if the changes proposed in #9510 are accepted.

Marking as dup of #9510 then.

#8 @DrewAPicture
10 years ago

  • Milestone 2.9 deleted
Note: See TracTickets for help on using tickets.