Make WordPress Core


Ignore:
Timestamp:
08/23/2024 10:45:54 PM (16 months ago)
Author:
peterwilsoncc
Message:

Administration: Modernize Site Icon UI in settings, customizer.

Updates the UI for previewing a site icon in general settings and the customizer to account for changes to browser designs over the past years.

Props joedolson, joen, kebbet, nhrrob, swissspidy, mukesh27, afercia, jorbin.
Fixes #60625.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r58682 r58927  
    52045204                    'label'       => __( 'Site Icon' ),
    52055205                    'description' => sprintf(
    5206                         /* translators: %s: Site Icon size in pixels. */
    5207                         '<p>' . __( 'The Site Icon is what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. It should be square and at least %s pixels.' ) . '</p>',
    5208                         '<code>512 &times; 512</code>'
     5206                        /* translators: 1: pixel value for icon size. 2: pixel value for icon size. */
     5207                        '<p>' . __( 'The Site Icon is what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. It should be square and at least <code>%1$s by %2$s</code> pixels.' ) . '</p>',
     5208                        512,
     5209                        512
    52095210                    ),
    52105211                    'section'     => 'title_tagline',
Note: See TracChangeset for help on using the changeset viewer.