diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 84545a797..b35e74dd4 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -554,7 +554,6 @@ function update_option( $option, $newvalue ) { * @package WordPress * @subpackage Option * @since 1.0.0 - * @link http://alex.vort-x.net/blog/ Thanks Alex Stapleton * * @uses do_action() Calls 'add_option' hook before adding the option. * @uses do_action() Calls 'add_option_$option' and 'added_option' hooks on success. diff --git a/wp-includes/rss.php b/wp-includes/rss.php index 6feefdcbd..e419fd63d 100644 --- a/wp-includes/rss.php +++ b/wp-includes/rss.php @@ -891,7 +891,7 @@ function wp_rss( $url, $num_items = -1 ) { '
  • %3$s
  • ', esc_url( $item['link'] ), esc_attr( strip_tags( $item['description'] ) ), - htmlentities( $item['title'] ) + esc_html( $item['title'] ) ); } @@ -926,7 +926,7 @@ function get_rss ($url, $num_items = 5) { // Like get posts, but for RSS foreach ( (array) $rss->items as $item ) { echo "
  • \n"; echo ""; - echo htmlentities($item['title']); + echo esc_html($item['title']); echo "
    \n"; echo "
  • \n"; }