WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/06/2012 01:01:52 AM (8 years ago)
Author:
azaozz
Message:

Kill use of colons in class names, props SergeyBiryukov, fixes #21152

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r22291 r22396  
    507507
    508508                    <div id="category-all" class="tabs-panel">
    509                         <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
     509                        <ul id="categorychecklist" data-wp-lists="list:category" class="categorychecklist form-no-clear">
    510510                            <?php wp_terms_checklist($post_ID, array( 'taxonomy' => 'category', 'popular_cats' => $popular_ids ) ) ?>
    511511                        </ul>
     
    529529                                </label>
    530530                                <?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;' ) ); ?>
    531                                 <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
     531                                <input type="button" id="category-add-submit" data-wp-lists="add:categorychecklist:category-add" class="button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
    532532                                <?php wp_nonce_field( 'add-category', '_ajax_nonce-add-category', false ); ?>
    533533                                <span id="category-ajax-response"></span>
Note: See TracChangeset for help on using the changeset viewer.