global wpdb. fixes #7767
git-svn-id: https://develop.svn.wordpress.org/trunk@8940 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
be4a2fc77a
commit
770a94862a
@ -1247,6 +1247,8 @@ foreach ($posts_columns as $column_name=>$column_display_name) {
|
||||
* displays pages in hierarchical order with paging support
|
||||
*/
|
||||
function page_rows($pages, $pagenum = 1, $per_page = 20) {
|
||||
global $wpdb;
|
||||
|
||||
$level = 0;
|
||||
|
||||
if ( ! $pages ) {
|
||||
|
Loading…
Reference in New Issue
Block a user