Make WordPress Core

Ticket #32889: 32889.patch

File 32889.patch, 710 bytes (added by tyxla, 11 years ago)

Add the missing slug to the tags array that is passed to wp_generate_tag_cloud() in plugins install page - install_dashboard()

  • src/wp-admin/includes/plugin-install.php

     
    155155                        $tags[ $tag['name'] ] = (object) array(
    156156                                                                        'link' => esc_url( self_admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])) ),
    157157                                                                        'name' => $tag['name'],
     158                                                                        'slug' => $tag['slug'],
    158159                                                                        'id' => sanitize_title_with_dashes($tag['name']),
    159160                                                                        'count' => $tag['count'] );
    160161                echo wp_generate_tag_cloud($tags, array( 'single_text' => __('%s plugin'), 'multiple_text' => __('%s plugins') ) );