You've already forked wp-fedistream
-
Release 0.4.1
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 57sreleased this
2026-02-02 15:37:47 +00:00 | 18 commits to main since this releaseFixed
- Critical memory leak causing "Allowed memory size exhausted" errors in Twig's StagingExtension
- Root cause:
apply_filters('the_content')inget_post_data()triggered shortcode processing, causing infinite recursion when post content contained FediStream shortcodes - Added recursion depth tracking with
MAX_RECURSION_DEPTH = 3to prevent runaway nesting - Nested items now skip
the_contentfilter, usingwp_kses_post()instead - Nested data loading (albums within artists, tracks within albums) is now properly bounded
- Root cause:
Changed
- Made
get_artist_data(),get_album_data(),get_track_data(), andget_playlist_data()public methods in TemplateLoader (previously private but called externally) - These methods now accept both
intpost IDs andWP_Postobjects for flexibility - Added
$load_nestedparameter to control whether nested items are fully loaded or just counted
Downloads
- Critical memory leak causing "Allowed memory size exhausted" errors in Twig's StagingExtension