Make WordPress Core


Ignore:
Timestamp:
03/11/2014 04:12:17 AM (11 years ago)
Author:
nacin
Message:

Add header image uploads with cropping to the customizer.

props mcsf, ehg, gcorne.
see #21785.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r27488 r27497  
    24772477        'editImage'             => __( 'Edit Image' ),
    24782478
     2479        // Crop Image
     2480        /* translators: title for Media Manager library view */
     2481        'chooseImage' => __( 'Choose Image' ),
     2482        /* translators: button to select an image from the MM library to crop */
     2483        'selectAndCrop' => __( 'Select and Crop' ),
     2484        /* translators: button to choose not to crop the selected image */
     2485        'skipCropping' => __( 'Skip Cropping' ),
     2486        /* translators: button to choose to crop the selected image */
     2487        'cropImage' => __( 'Crop Image' ),
     2488        'cropYourImage' => __( 'Crop your image' ),
     2489        /* translators: button label changes to this while the image is being cropped server-side */
     2490        'cropping' => __( 'Cropping...' ),
     2491        /* translators: suggested width of header image in pixels */
     2492        'suggestedWidth' => __( 'Suggested width is %d pixels.' ),
     2493        /* translators: suggested height of header image in pixels */
     2494        'suggestedHeight' => __( 'Suggested height is %d pixels.' ),
     2495
    24792496        // Edit Audio
    24802497        'audioDetailsTitle'     => __( 'Audio Details' ),
Note: See TracChangeset for help on using the changeset viewer.