WordPress.org

Make WordPress Core

Ticket #21633: 21633.diff

File 21633.diff, 1.3 KB (added by georgestephanis, 6 years ago)
  • wp-admin/includes/template.php

     
    17601760         *
    17611761         * @param string $pointer_id The pointer ID.
    17621762         * @param string $selector The HTML elements, on which the pointer should be attached.
    1763          * @param array  $args Arguments to be passed to the pointer JS (see wp-pointer.dev.js).
     1763         * @param array  $args Arguments to be passed to the pointer JS (see wp-pointer.js).
    17641764         */
    17651765        private static function print_js( $pointer_id, $selector, $args ) {
    17661766                if ( empty( $pointer_id ) || empty( $selector ) || empty( $args ) || empty( $args['content'] ) )
  • wp-admin/js/post.js

     
    281281                if ( taxonomy == 'category' )
    282282                        settingName = 'cats';
    283283
    284                 // TODO: move to jQuery 1.3+, support for multiple hierarchical taxonomies, see wp-lists.dev.js
     284                // TODO: move to jQuery 1.3+, support for multiple hierarchical taxonomies, see wp-lists.js
    285285                $('a', '#' + taxonomy + '-tabs').click( function(){
    286286                        var t = $(this).attr('href');
    287287                        $(this).parent().addClass('tabs').siblings('li').removeClass('tabs');