summaryrefslogtreecommitdiffstats
path: root/wp-includes/author-template.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/author-template.php')
-rw-r--r--wp-includes/author-template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php
index 28fa28d..aa4013d 100644
--- a/wp-includes/author-template.php
+++ b/wp-includes/author-template.php
@@ -144,7 +144,7 @@ function the_author_posts_link($deprecated = '') {
function get_author_posts_url($author_id, $author_nicename = '') {
global $wpdb, $wp_rewrite, $post, $cache_userdata;
- $auth_ID = $author_id;
+ $auth_ID = (int) $author_id;
$link = $wp_rewrite->get_author_permastruct();
if ( empty($link) ) {