Skip to content

Instantly share code, notes, and snippets.

Created December 30, 2011 17:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/16afe762885357a8595f to your computer and use it in GitHub Desktop.
Save anonymous/16afe762885357a8595f to your computer and use it in GitHub Desktop.
diff --git wordpress/wp-content/plugins/simply-exclude/simplyexclude.php wordpress/wp-content/plugins/simply-exclude/simplyexclude.php
index 32a8e40..eb97695 100644
--- wordpress/wp-content/plugins/simply-exclude/simplyexclude.php
+++ wordpress/wp-content/plugins/simply-exclude/simplyexclude.php
@@ -932,10 +932,9 @@ class SimplyExclude
function se_load_authors()
{
- global $wpdb;
if (!isset($this->authors))
{
- $this->authors = get_users_of_blog();
+ $this->authors = get_users();
}
}
@@ -1023,9 +1022,9 @@ class SimplyExclude
{
?>
<tr <?php if (strlen($class)) echo "class='".$class."'" ?>>
- <td class="author-id"><?php echo $author_info->user_id ?></td>
+ <td class="author-id"><?php echo $author_info->ID ?></td>
<td class="author-name"><?php echo $author_info->display_name ?></td>
- <td class="author-action"><?php $this->se_display_author_action_row($author_info->user_id) ?></td>
+ <td class="author-action"><?php $this->se_display_author_action_row($author_info->ID) ?></td>
</tr>
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment