Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56539


Ignore:
Timestamp:
09/09/2022 06:34:34 PM (2 years ago)
Author:
SergeyBiryukov
Comment:

Hi there, thanks for the ticket!

It looks like the Walker_Comment class assumes that all the default arguments of wp_list_comments() would always be available, which may not necessarily be a correct assumption, so checking if they exist seems like a good idea.

To help move the ticket forward, could you share the steps to reproduce the issue on a clean install?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56539

    • Property Keywords needs-patch added
  • Ticket #56539 – Description

    initial v1  
    1616$args['style']
    1717}}}
    18  is used without checking that it exists in several methods - end_el, end_lvl, ping, comment, html5_comment, start_lvl.
     18is used without checking that it exists in several methods - end_el, end_lvl, ping, comment, html5_comment, start_lvl.