WordPress.org

Make WordPress Core

Changeset 16685


Ignore:
Timestamp:
12/02/10 08:09:58 (3 years ago)
Author:
westi
Message:

If we have not items don't try and output the inline_edit form. Fixes #15240 props mrmist for tracking the bug down.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r16377 r16685  
    235235</form> 
    236236 
    237 <?php $wp_list_table->inline_edit(); ?> 
     237<?php 
     238if ( $wp_list_table->has_items() ) 
     239    $wp_list_table->inline_edit(); 
     240?> 
    238241 
    239242<div id="ajax-response"></div> 
Note: See TracChangeset for help on using the changeset viewer.