WordPress.org

Make WordPress Core

Changeset 16057


Ignore:
Timestamp:
10/28/2010 06:53:09 PM (9 years ago)
Author:
ryan
Message:

Don't show private attachment taxonomies in the uploader. see #14746

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r16047 r16057  
    10311031    foreach ( get_attachment_taxonomies($post) as $taxonomy ) {
    10321032        $t = (array) get_taxonomy($taxonomy);
     1033        if ( ! $t['public'] )
     1034            continue;
    10331035        if ( empty($t['label']) )
    10341036            $t['label'] = $taxonomy;
Note: See TracChangeset for help on using the changeset viewer.