WordPress.org

Make WordPress Core

Ticket #46863: print-site-name.2.patch

File print-site-name.2.patch, 1.0 KB (added by pierlo, 2 months ago)

Formatting

  • src/wp-includes/customize/class-wp-customize-site-icon-control.php

    diff --git src/wp-includes/customize/class-wp-customize-site-icon-control.php src/wp-includes/customize/class-wp-customize-site-icon-control.php
    index bb4681ef62..b8325afec6 100644
    class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control 
    6464                                                        <div class="favicon">
    6565                                                                <img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/>
    6666                                                        </div>
    67                                                         <span class="browser-title" aria-hidden="true"><?php bloginfo( 'name' ); ?></span>
     67                                                        <span class="browser-title" aria-hidden="true"><# print( '<?php bloginfo( 'name' ); ?> ') #></span>
    6868                                                </div>
    6969                                                <img class="app-icon-preview" src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/>
    7070                                        </div>