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/includes/nav-menu.php

    r22234 r22396  
    698698            </p>
    699699
    700             <ul id="<?php echo $post_type_name; ?>-search-checklist" class="list:<?php echo $post_type_name?> categorychecklist form-no-clear">
     700            <ul id="<?php echo $post_type_name; ?>-search-checklist" data-wp-lists="list:<?php echo $post_type_name?>" class="categorychecklist form-no-clear">
    701701            <?php if ( ! empty( $search_results ) && ! is_wp_error( $search_results ) ) : ?>
    702702                <?php
     
    720720                </div>
    721721            <?php endif; ?>
    722             <ul id="<?php echo $post_type_name; ?>checklist" class="list:<?php echo $post_type_name?> categorychecklist form-no-clear">
     722            <ul id="<?php echo $post_type_name; ?>checklist" data-wp-lists="list:<?php echo $post_type_name?>" class="categorychecklist form-no-clear">
    723723                <?php
    724724                $args['walker'] = $walker;
     
    897897                </div>
    898898            <?php endif; ?>
    899             <ul id="<?php echo $taxonomy_name; ?>checklist" class="list:<?php echo $taxonomy_name?> categorychecklist form-no-clear">
     899            <ul id="<?php echo $taxonomy_name; ?>checklist" data-wp-lists="list:<?php echo $taxonomy_name?>" class="categorychecklist form-no-clear">
    900900                <?php
    901901                $args['walker'] = $walker;
     
    928928            </p>
    929929
    930             <ul id="<?php echo $taxonomy_name; ?>-search-checklist" class="list:<?php echo $taxonomy_name?> categorychecklist form-no-clear">
     930            <ul id="<?php echo $taxonomy_name; ?>-search-checklist" data-wp-lists="list:<?php echo $taxonomy_name?>" class="categorychecklist form-no-clear">
    931931            <?php if ( ! empty( $search_results ) && ! is_wp_error( $search_results ) ) : ?>
    932932                <?php
Note: See TracChangeset for help on using the changeset viewer.