[wp-trac] [WordPress Trac] #44033: Get Avatar Comment Types should be a Function Not Just a Filter

WordPress Trac noreply at wordpress.org
Tue Jun 5 10:18:03 UTC 2018


#44033: Get Avatar  Comment Types should be a Function Not Just a Filter
--------------------------------------+---------------------
 Reporter:  dshanske                  |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  4.9.7
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by birgire):

 * keywords:  has-patch => has-patch has-unit-tests


Comment:

 The patch in [attachment:44033.2.diff]:

 - Adds a strict in array check.
 - Adds unit tests for `is_avatar_comment_type()` under
 `tests/phpunit/tests/comment/isAvatarCommentType.php`.

 I could not find any tests for the {{{get_avatar_data()}}} function.

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


More information about the wp-trac mailing list