[wp-trac] [WordPress Trac] #22650: Filter the Gravatars on credits.php

WordPress Trac noreply at wordpress.org
Thu May 15 18:30:25 UTC 2014


#22650: Filter the Gravatars on credits.php
-------------------------------------+-----------------------
 Reporter:  miqrogroove              |       Owner:
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  4.0
Component:  Help/About               |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 The current patches here pass email hash as `$id_or_email` parameter,
 which should only be a user ID, email address, or comment object:
 [source:tags/3.9.1/src/wp-includes/pluggable.php#L2113].


 This can potentially break any custom code that only expects those three
 types of values.

 I don't see an easy solution here, unless the API endpoint can be modified
 to return email addresses as well, which I guess is not feasible for
 privacy reasons.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22650#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list