Opened 6 months ago
Closed 5 weeks ago
#9298 closed defect (bug) (fixed)
Activity feed atom href code triggers PHP Deprecated in logs
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 14.5.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 (4)
Note: See
TracTickets for help on using
tickets.
Avoids PHP Deprecated noise in logs and fixes the ATOM feed URL for Activities.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9298