Make WordPress Core


Ignore:
Timestamp:
11/05/2012 05:47:55 PM (13 years ago)
Author:
nacin
Message:

Fix ajax adding of custom fields and link categories. props SergeyBiryukov. for the 3.4 branch. see #21829.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4/wp-admin/includes/meta-boxes.php

    r21717 r22371  
    689689            <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
    690690            <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" />
    691             <input type="button" id="link-category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" />
     691            <input type="button" id="link-category-add-submit" class="add:categorychecklist:link-category-add button" value="<?php esc_attr_e( 'Add' ); ?>" />
    692692            <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?>
    693693            <span id="category-ajax-response"></span>
Note: See TracChangeset for help on using the changeset viewer.