The MU forums have moved to WordPress.org

site admin notes, change request (2 posts)

  1. mpapis
    Member
    Posted 8 years ago #

    Hi I have prepared following patch to point out that link to my admin notes is broken - wp-admin/includes/mu.php:

    733c733,735
    <       $rss = @fetch_rss( $url );
    ---
    >       $rss_time = time();
    >       $rss = fetch_rss( $url );
    >       $rss_time = time() - $rss_time;
    752c754,758
    <               echo "<div id='update-nag'>Your feed at " . wp_specialchars( $url ) . " is empty.</div>";
    ---
    >               if ($rss_time < 30) {
    >                       echo "<div id='update-nag'>Your feed at " . wp_specialchars( $url ) . " is empty.</div>";
    >               } else {
    >                       echo "<div id='update-nag'>Your feed url " . wp_specialchars( $url ) . " seems to be broken. Go to \"Site Admin\"/\"Options\" and corect \"Admin Notice Feed\"</div>";
    >               }

    please include it to help others to see why they have to wait half minute for the dashboard, If more info needed please visit http://niczsoft.com

  2. andrea_r
    Moderator
    Posted 8 years ago #

About this Topic