mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
global wpdb. fixes #7767
git-svn-id: http://svn.automattic.com/wordpress/trunk@8940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
76718590f8
commit
dfc1d78fa9
@ -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