Skip to:
Content

BuddyPress.org

Changeset 14142


Ignore:
Timestamp:
12/14/2025 04:59:55 AM (2 months ago)
Author:
espellcaste
Message:

Restore the link from the Activity feed atom.

This resolves a regression introduced at [13816], where the self_link no longer was
echoing the link from the atom feed.

Since self_link already echoes the link, we do not need to run esc_url again.

Props needle and johnjamesjacoby.

Fixes #9298 (14.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/14.0/src/bp-activity/classes/class-bp-activity-feed.php

    r13897 r14142  
    442442    <title><?php echo esc_html( $this->title ); ?></title>
    443443    <link><?php echo esc_url( $this->link ); ?></link>
    444     <atom:link href="<?php esc_url( self_link() ); ?>" rel="self" type="application/rss+xml" />
     444    <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
    445445    <description><?php echo esc_html( $this->description ); ?></description>
    446446    <lastBuildDate><?php echo esc_html( mysql2date( 'D, d M Y H:i:s O', bp_activity_get_last_updated(), false ) ); ?></lastBuildDate>
Note: See TracChangeset for help on using the changeset viewer.