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

fixes #33685. see #14530.

git-svn-id: https://develop.svn.wordpress.org/trunk@33902 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2015-09-04 03:39:33 +00:00
parent 9f5b896fac
commit dfceba6d05
3 changed files with 15 additions and 1 deletions

View File

@@ -428,6 +428,7 @@ function wp_default_scripts( &$scripts ) {
'cancel' => __( 'Cancel' ),
'close' => __( 'Close' ),
'cheatin' => __( 'Cheatin’ uh?' ),
'notAllowed' => __( 'You are not allowed to customize the appearance of this site.' ),
'previewIframeTitle' => __( 'Site Preview' ),
'loginIframeTitle' => __( 'Session expired' ),
'collapseSidebar' => __( 'Collapse Sidebar' ),