Make WordPress Core

Changeset 7432


Ignore:
Timestamp:
03/20/2008 11:39:39 PM (18 years ago)
Author:
ryan
Message:

Make b0rked message slightly more informative.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/wp-ajax-response.js

    r7336 r7432  
    5858        return !wpAjax.invalidateForm( selector.find('.form-required').andSelf().filter('.form-required:has(:input[value=""]), .form-required:input[value=""]') ).size();
    5959    }
    60 }, wpAjax || { noPerm: 'You do not have permission to do that.', broken: 'AJAX 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  
    4444        $this->add( 'wp-ajax-response', '/wp-includes/js/wp-ajax-response.js', array('jquery'), '20080316' );
    4545        $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.')
    4848        ) );
    4949
Note: See TracChangeset for help on using the changeset viewer.