WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/15/2010 06:48:40 PM (10 years ago)
Author:
nacin
Message:

Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.

File:
1 edited

Legend:

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

    r16938 r16963  
    720720    return false;
    721721}
     722
    722723/**
    723724 * Whether or not we can edit this network from this page
     
    738739    return apply_filters( 'can_edit_network', $result, $site_id );
    739740}
     741
     742/**
     743 * Thickbox image paths for Network Admin.
     744 *
     745 * @since 3.1.0
     746 * @access private
     747 */
     748function _thickbox_path_admin_subfolder() {
    740749?>
     750<script type="text/javascript">
     751//<![CDATA[
     752var tb_pathToImage = "../../wp-includes/js/thickbox/loadingAnimation.gif";
     753var tb_closeImage = "../../wp-includes/js/thickbox/tb-close.png";
     754//]]>
     755</script>
     756<?
     757}
     758
     759?>
Note: See TracChangeset for help on using the changeset viewer.