WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18056


Ignore:
Timestamp:
07/07/13 02:48:44 (21 months ago)
Author:
SergeyBiryukov
Comment:

Related: #17767

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18056 – Description

    initial v1  
    22 
    33The code now is: 
    4  
     4{{{ 
    55<dc:creator><?php the_author() ?></dc:creator> 
    6  
     6}}} 
    77Shouldn't this be: 
    8  
     8{{{ 
    99<dc:creator><![CDATA[<?php the_author() ?>]]></dc:creator> 
    10  
     10}}} 
    1111Or:  
    12  
     12{{{ 
    1313<dc:creator><?php htmlspecialchars(the_author()) ?></dc:creator> 
    14  
     14}}} 
    1515This might be a result of a custom author plugin not escaping these characters on the way into the database, but Wordpress should handle this more robustly to prevent plugin authors from messing things up like this.