WordPress.org

Make WordPress Core

Changeset 11990


Ignore:
Timestamp:
10/01/2009 05:52:01 PM (9 years ago)
Author:
ryan
Message:

Use ID, not user_id. Props filosofo. fixes #10709

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r11936 r11990  
    410410            $author = $wp_query->get_queried_object();
    411411            $classes[] = 'author';
    412             $classes[] = 'author-' . sanitize_html_class($author->user_nicename , $author->user_id);
     412            $classes[] = 'author-' . sanitize_html_class($author->user_nicename , $author->ID);
    413413        } elseif ( is_category() ) {
    414414            $cat = $wp_query->get_queried_object();
Note: See TracChangeset for help on using the changeset viewer.