mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Get pages by author[s]. Props westi. fixes #1486
git-svn-id: https://develop.svn.wordpress.org/trunk@4180 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -265,7 +265,7 @@ function wp_list_pages($args = '') {
|
||||
parse_str($args, $r);
|
||||
|
||||
$defaults = array('depth' => 0, 'show_date' => '', 'date_format' => get_option('date_format'),
|
||||
'child_of' => 0, 'title_li' => __('Pages'), 'echo' => 1);
|
||||
'child_of' => 0, 'title_li' => __('Pages'), 'echo' => 1, 'authors' => '');
|
||||
$r = array_merge($defaults, $r);
|
||||
|
||||
$output = '';
|
||||
|
||||
Reference in New Issue
Block a user