Make WordPress Core


Ignore:
Timestamp:
03/22/2010 11:03:31 PM (15 years ago)
Author:
nacin
Message:

Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730

File:
1 edited

Legend:

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

    r13792 r13805  
    754754add_action( 'admin_notices', 'ms_deprecated_blogs_file' );
    755755
     756/**
     757 * Outputs the notice message for multisite regarding activation of plugin page.
     758 *
     759 * @since 3.0
     760 * @return none
     761 */
     762function _admin_notice_multisite_activate_plugins_page() {
     763    $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>' );
     764    echo "<div class='error'><p>$message</p></div>";
     765}
     766
    756767?>
Note: See TracChangeset for help on using the changeset viewer.