No blank line between bulk actions and table without pagenav
-
Question:
I output table, with bulk actions, using a class derived from WP_List_Table. I notice that one difference between how my view is rendered compared to, say, a standard WordPress table, like the Media list, is that between the “Bulk actions” dropdown, and the top of the table, there’s no space (blank line, whatever).
Looking at the output, I noticed that display_tablenav() of WP_List_Table emits:
<br class="clear" />
Since there’s no pagination output in my case, this doesn’t seem to happen. Instead I’m left with the output of:
"\n"
Which obviously doesn’t do much for spacing ??
I’m assuming I’m doing it wrong and that this is entirely intentional?
- The topic ‘No blank line between bulk actions and table without pagenav’ is closed to new replies.