PluginProbe
Stream – Activity Log & Audit Trail / 3.9.2
Stream – Activity Log & Audit Trail v3.9.2
4.4.0 4.3.0 4.2.2 4.2.1 trunk 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.1 3.1.1 3.10.0 3.2.0 3.2.1 3.2.2 3.2.3 All 50 releases
← All changes | includes/feeds/atom.php +1 -5 trunk3.9.2 View file →
@@ -4,12 +4,8 @@
4 4 *
5 5 * @package WP_Stream
6 6 */
7 7
8 -if ( ! defined( 'ABSPATH' ) ) {
9 - exit;
10 -}
11 -
12 8 header( 'Content-Type: ' . feed_content_type( 'atom' ) . '; charset=' . get_option( 'blog_charset' ), true );
13 9 printf( '<?xml version="1.0" encoding="%s"?>', esc_attr( get_option( 'blog_charset' ) ) );
14 10 ?>
15 11
@@ -39,9 +35,9 @@
39 35 $author = get_userdata( $record->author );
40 36 $display_name = isset( $author->display_name ) ? $author->display_name : 'N/A';
41 37 ?>
42 38 <entry>
43 - <title type="html"><![CDATA[[<?php echo esc_html( $domain ); ?>] <?php echo esc_html( $record->summary ); ?> ]]></title>
39 + <title type="html"><![CDATA[[<?php echo esc_html( $domain ); ?>] <?php echo esc_html( $record->summary ); // xss ok. ?> ]]></title>
44 40 <link href="<?php echo esc_url( $record_link ); ?>" />
45 41 <updated><?php echo esc_html( mysql2date( 'c', $record->created, false ) ); ?></updated>
46 42 <author>
47 43 <name><?php echo esc_html( $display_name ); ?></name>