Skip to:
Content

BuddyPress.org

Opened 3 weeks ago

Last modified 3 weeks ago

#9298 assigned defect (bug)

Activity feed atom href code triggers PHP Deprecated in logs

Reported by: needle's profile needle Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 15.0.0 Priority: normal
Severity: normal Version: 14.3.2
Component: Activity Keywords: has-patch commit
Cc:

Description

Line 444 of class-bp-activity-feed.php currently reads:

<atom:link href="<?php esc_url( self_link() ); ?>" rel="self" type="application/rss+xml" />

It should read:

<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />

Since self_link() already echoes.

I'll open a PR on GitHub.

Change History (2)

This ticket was mentioned in PR #416 on buddypress/buddypress by @needle.


3 weeks ago
#1

  • Keywords has-patch added

Avoids PHP Deprecated noise in logs and fixes the ATOM feed URL for Activities.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9298

#2 @johnjamesjacoby
3 weeks ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 15.0.0
  • Owner set to johnjamesjacoby
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.