Make WordPress Core


Ignore:
Timestamp:
03/25/2007 11:12:38 PM (20 years ago)
Author:
ryan
Message:

More int casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/template-functions-author.php

    r4656 r5100  
    137137function get_author_link($echo = false, $author_id, $author_nicename = '') {
    138138        global $wpdb, $wp_rewrite, $post, $cache_userdata;
    139         $auth_ID = $author_id;
     139        $auth_ID = (int) $author_id;
    140140        $link = $wp_rewrite->get_author_permastruct();
    141141
Note: See TracChangeset for help on using the changeset viewer.