WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/08/2012 07:32:42 AM (10 years ago)
Author:
nacin
Message:

In multisite, list broken themes on network/themes.php instead of on individual Manage Themes pages. see #20103.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r20069 r20151  
    215215<?php
    216216// List broken themes, if any.
    217 if ( current_user_can('edit_themes') && $broken_themes = wp_get_themes( array( 'errors' => true ) ) ) {
     217if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_get_themes( array( 'errors' => true ) ) ) {
    218218?>
    219219
Note: See TracChangeset for help on using the changeset viewer.