Make WordPress Core

Changeset 11416 for trunk/wp-app.php


Ignore:
Timestamp:
05/20/2009 09:32:39 PM (15 years ago)
Author:
ryan
Message:

Use get_the_author_meta(). Props sivel. see #9393

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r11323 r11416  
    11901190    <author>
    11911191        <name><?php the_author()?></name>
    1192 <?php if (get_the_author_url() && get_the_author_url() != 'http://') { ?>
    1193         <uri><?php the_author_url()?></uri>
     1192<?php if ( get_the_author_meta('url') && get_the_author_meta('url') != 'http://' ) { ?>
     1193        <uri><?php the_author_meta('url') ?></uri>
    11941194<?php } ?>
    11951195    </author>
Note: See TracChangeset for help on using the changeset viewer.