Opened 13 months ago
Closed 8 months ago
#9298 closed defect (bug) (fixed)
Activity feed atom href code triggers PHP Deprecated in logs
| Reported by: | needle | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 14.5.0 |
| Component: | Activity | Version: | 14.3.2 |
| Severity: | normal | 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 (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Avoids PHP Deprecated noise in logs and fixes the ATOM feed URL for Activities.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9298