Make WordPress Core

Changeset 37725


Ignore:
Timestamp:
06/16/2016 09:52:36 AM (10 years ago)
Author:
ocean90
Message:

Customize: Separate preview and actions in the site icon control.

Reverts [37456] to allow users to remove/change a site icon even if the attachment has corrupt/missing data about sizes.

Merge of [37724] to the 4.5 branch.

See #36749.

Location:
branches/4.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.5

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

    r37012 r37725  
    6161
    6262                <# if ( data.attachment && data.attachment.id ) { #>
     63                <# if ( data.attachment.sizes ) { #>
    6364                <div class="current">
    6465                        <div class="container">
     
    7677                        </div>
    7778                </div>
     79                <# } #>
    7880                <div class="actions">
    7981                        <# if ( data.canUpload ) { #>
Note: See TracChangeset for help on using the changeset viewer.