WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #51657


Ignore:
Timestamp:
10/28/2020 03:41:37 PM (13 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51657

    • Property Owner set to SergeyBiryukov
    • Property Status changed from new to accepted
  • Ticket #51657 – Description

    initial v2  
    55As far as I can tell, this has never worked as expected, due to `! is_array( $args[0] )` check being in the `elseif` condition after `empty( $args[0] )`, which always succeeds in this case.
    66
    7 Currently, calling `add_theme_support( 'html5' )` without passing an array of supported types just silently falls back to `array( 'comment-list', 'comment-form', 'search-form' )`, without any indication that it is not the recommended approach.
     7Currently, calling `add_theme_support( 'html5' )` without passing an array of supported types just silently falls back to `array( 'comment-list', 'comment-form', 'search-form' )` for backward compatibility, without any indication that it is not the recommended approach.