Make WordPress Core


Ignore:
Timestamp:
07/20/2015 03:56:19 PM (11 years ago)
Author:
obenland
Message:

Site Icon: Add crop preview to the media modal.

  • Monkey patches imgAreaSelect library to support touch events.
  • Removes Settings version of Site Icon since it would have been the same flow.
  • Removes default value for Customizer setting - there is no default favicon.

Fixes #16434.

File:
1 edited

Legend:

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

    r33217 r33329  
    13581358        ) );
    13591359
    1360         $icon = wp_get_attachment_image_src( absint( get_option( 'site_icon' ) ), 'full' );
    13611360        $this->add_setting( 'site_icon', array(
    1362             'default'    => $icon[0] ? $icon[0] : '',
    13631361            'type'       => 'option',
    13641362            'capability' => 'manage_options',
Note: See TracChangeset for help on using the changeset viewer.