Make WordPress Core


Ignore:
Timestamp:
09/29/2011 09:39:55 PM (14 years ago)
Author:
nacin
Message:

Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r18796 r18820  
    999999        $supplemental['replace-samplepermalinknonce'] = wp_create_nonce('samplepermalink');
    10001000        $supplemental['replace-closedpostboxesnonce'] = wp_create_nonce('closedpostboxes');
     1001        $supplemental['replace-_ajax_linking_nonce'] = wp_create_nonce( 'internal-linking' );
    10011002        if ( $id ) {
    10021003            if ( $_POST['post_type'] == 'post' )
Note: See TracChangeset for help on using the changeset viewer.