Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39941, comment 95


Ignore:
Timestamp:
02/24/2021 03:19:06 PM (5 years ago)
Author:
Rahe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39941, comment 95

    initial v1  
    1212{{{#!php
    1313if ( is_bool( $attribute_value ) && $attribute_value ) {
    14         $attributes_string .= $html5_script_support ? sprintf( ' %1$s="%2$s"', esc_attr( $attribute_name ), esc_attr( $attribute_name ) ) : ' ' . $attribute_name;
     14        $attributes_string .= $html5_script_support ? sprintf( ' %1$s="%1$s"', esc_attr( $attribute_name ) ) : ' ' . $attribute_name;
    1515        continue;
    1616}