Changeset 37914 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 06/29/2016 03:15:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r37908 r37914 125 125 $scripts->add( 'wp-ajax-response', "/wp-includes/js/wp-ajax-response$suffix.js", array('jquery'), false, 1 ); 126 126 did_action( 'init' ) && $scripts->localize( 'wp-ajax-response', 'wpAjax', array( 127 'noPerm' => __(' You do not have permissionto do that.'),127 'noPerm' => __('Sorry, you are not allowed to do that.'), 128 128 'broken' => __('An unidentified error has occurred.') 129 129 ) ); … … 446 446 'close' => __( 'Close' ), 447 447 'cheatin' => __( 'Cheatin’ uh?' ), 448 'notAllowed' => __( ' You are not allowed to customize this site.' ),448 'notAllowed' => __( 'Sorry, you are not allowed to customize this site.' ), 449 449 'previewIframeTitle' => __( 'Site Preview' ), 450 450 'loginIframeTitle' => __( 'Session expired' ), … … 486 486 $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array( 'jquery', 'wp-ajax-response' ), false, 1 ); 487 487 did_action( 'init' ) && $scripts->localize( 'admin-tags', 'tagsl10n', array( 488 'noPerm' => __(' You do not have permissionto do that.'),488 'noPerm' => __('Sorry, you are not allowed to do that.'), 489 489 'broken' => __('An unidentified error has occurred.') 490 490 ));
Note: See TracChangeset
for help on using the changeset viewer.