[wp-trac] [WordPress Trac] #33710: Displaying a comment whose comment_parent has been deleted results in PHP Notices

WordPress Trac noreply at wordpress.org
Fri Sep 4 03:33:53 UTC 2015


#33710: Displaying a comment whose comment_parent has been deleted results in PHP
Notices
--------------------------+-----------------------------
 Reporter:  rachelbaker   |       Owner:  rachelbaker
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.4
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 `esc_attr()` is only useful for HTML attributes, which is not the case
 here.

 Comment author name already runs through `sanitize_text_field()` and KSES
 filters, it should be safe.

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


More information about the wp-trac mailing list