-
-
Save anonymous/16afe762885357a8595f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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