[wp-trac] [WordPress Trac] #45883: Recent Posts widget ignores private posts since replacing The Loop
WordPress Trac
noreply at wordpress.org
Sat Mar 2 18:32:05 UTC 2019
#45883: Recent Posts widget ignores private posts since replacing The Loop
-----------------------------------+-----------------------
Reporter: captain.crash | Owner: audrasjb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.1.1
Component: Widgets | Version: 5.0.2
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------
Comment (by dlh):
One backwards-compatibility break is changing the `$args` that are passed
to `widget_posts_args`, which, I guess, isn't huge.
However, the current behavior has been in place for 12 years — see #4786.
Although core no longer contains the caching behavior described in that
ticket, plugin and theme developers may have implemented their own
fragment caching for widgets or sidebars, and with this change, the widget
output would no longer be safe to cache.
Additionally, as you noted, there doesn't appear to be a regression from
5.1. Plus, 12 years' worth of behavior just seems like a lot to alter in a
maintenance release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45883#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list