WordPress.org

Plugin Directory

Changeset 628514


Ignore:
Timestamp:
11/22/12 05:43:22 (17 months ago)
Author:
pento
Message:

network_admin_url() for network admin urls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • automatic-updater/trunk/admin.php

    r628512 r628514  
    150150    $url = admin_url( 'options-general.php?page=automatic-updater' ); 
    151151    if ( is_multisite() ) 
    152         $url = admin_url( 'network/settings.php?page=automatic-updater' ); 
     152        $url = network_admin_url( 'settings.php?page=automatic-updater' ); 
    153153 
    154154    array_unshift( $links, "<a href='$url'>" . esc_html__( 'Settings', 'automatic-updater' ) . '</a>' ); 
Note: See TracChangeset for help on using the changeset viewer.