Don't show button in placeholder row. Props SergeyBiryukov. fixes #16095
git-svn-id: https://develop.svn.wordpress.org/trunk@17222 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a8ae3264e4
commit
b9d0f9fd0b
|
@ -122,15 +122,6 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||||
}
|
}
|
||||||
|
|
||||||
function no_items() {
|
function no_items() {
|
||||||
if ( $this->detached ) {
|
|
||||||
?>
|
|
||||||
<div class="tablenav">
|
|
||||||
<?php $this->extra_tablenav( 'top' ); ?>
|
|
||||||
</div>
|
|
||||||
<br class="clear">
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
_e( 'No media attachments found.' );
|
_e( 'No media attachments found.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue