Make WordPress Core

Changeset 9293


Ignore:
Timestamp:
10/22/2008 11:37:55 PM (18 years ago)
Author:
ryan
Message:

Show message when there are no drafts. Props jamierumbelow. fixes #7921

File:
1 edited

Legend:

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

    r9278 r9293  
    347347    }
    348348
    349     if ( $drafts && is_array( $drafts ) ) :
     349    if ( $drafts && is_array( $drafts ) ) {
    350350        $list = array();
    351351        foreach ( $drafts as $post ) {
     
    360360
    361361<?php
    362 
    363     endif; // drafts
     362    } else {
     363        _e('There are no drafts at the moment');
     364    }
    364365}
    365366
Note: See TracChangeset for help on using the changeset viewer.