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: |
|
Owned by: |
|
---|---|---|---|
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)
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