Make WordPress Core


Ignore:
Timestamp:
01/07/2010 07:41:13 AM (16 years ago)
Author:
westi
Message:

Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.

File:
1 edited

Legend:

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

    r12597 r12636  
    11251125}
    11261126
     1127/**
     1128 * Outputs the notice message for multisite regarding activation of plugin page.
     1129 *
     1130 * @since 3.0
     1131 * @return none
     1132 */
     1133function _admin_notice_multisite_activate_plugins_page() {
     1134    $message = sprintf( __( 'The plugins page is not visible to normal users. It must be activated first. %s' ), '<a href="ms-options.php#menu">' . __( 'Activate' ) . '</a>' );
     1135    echo "<div class='error'><p>$message</p></div>";
     1136}
     1137
    11271138?>
Note: See TracChangeset for help on using the changeset viewer.