Make WordPress Core


Ignore:
Timestamp:
09/04/2015 03:39:33 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Provide more helpful feedback than just "Cheatin' uh?" for permission errors in wp-admin/js/customize-controls.js.

fixes #33685. see #14530.

File:
1 edited

Legend:

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

    r33517 r33902  
    429429        'close'              => __( 'Close' ),
    430430        'cheatin'            => __( 'Cheatin’ uh?' ),
     431        'notAllowed'         => __( 'You are not allowed to customize the appearance of this site.' ),
    431432        'previewIframeTitle' => __( 'Site Preview' ),
    432433        'loginIframeTitle'   => __( 'Session expired' ),
Note: See TracChangeset for help on using the changeset viewer.