Changeset 7432
- Timestamp:
- 03/20/2008 11:39:39 PM (18 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
-
js/wp-ajax-response.js (modified) (1 diff)
-
script-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/wp-ajax-response.js
r7336 r7432 58 58 return !wpAjax.invalidateForm( selector.find('.form-required').andSelf().filter('.form-required:has(:input[value=""]), .form-required:input[value=""]') ).size(); 59 59 } 60 }, wpAjax || { noPerm: 'You do not have permission to do that.', broken: 'A JAX is teh b0rked.' } );60 }, wpAjax || { noPerm: 'You do not have permission to do that.', broken: 'An unidentified error has occurred.' } ); -
trunk/wp-includes/script-loader.php
r7411 r7432 44 44 $this->add( 'wp-ajax-response', '/wp-includes/js/wp-ajax-response.js', array('jquery'), '20080316' ); 45 45 $this->localize( 'wp-ajax-response', 'wpAjax', array( 46 'noPerm' => 'You do not have permission to do that.',47 'broken' => 'AJAX is teh b0rked.'46 'noPerm' => __('You do not have permission to do that.'), 47 'broken' => __('An unidentified error has occurred.') 48 48 ) ); 49 49
Note: See TracChangeset
for help on using the changeset viewer.