(int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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) ) {
|
||||
|
||||
Reference in New Issue
Block a user