diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 940adfc320..742a3cabc5 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -589,37 +589,6 @@ function secret_salt_warning() { } add_action( 'admin_notices', 'secret_salt_warning' ); -function admin_notice_feed() { - global $current_screen; - if ( $current_screen->id != 'dashboard' ) - return; - - if ( !empty( $_GET['feed_dismiss'] ) ) { - update_user_option( get_current_user_id(), 'admin_feed_dismiss', $_GET['feed_dismiss'], true ); - return; - } - - $url = get_site_option( 'admin_notice_feed' ); - if ( empty( $url ) ) - return; - - $rss = fetch_feed( $url ); - if ( ! is_wp_error( $rss ) && $item = $rss->get_item() ) { - $title = $item->get_title(); - if ( md5( $title ) == get_user_option( 'admin_feed_dismiss' ) ) - return; - $msg = "
" . $content . "" . __( 'Read More' ) . " " . __( 'Dismiss' ) . "
"; - echo "