Closed jaswrks closed 9 years ago
Referencing this line of code. It looks like this needs to be bumped up higher; i.e. before the other conditionals there. Or, perhaps we need to include pages
in those other conditions that wrap this block as it exists now.
After testing the above code, a user writes...
Next Release Changelog:
wp_list_pages()
not to be filtered properly under certain scenarios. A symptom of this bug was to apply s2Member's Alt. View protection for "Pages", but for this not work properly in all cases. Fixed in this release. See also: this GitHub issue if you'd like technical details.Work from this issue went out with the release of s2Member v150102. http://www.s2member.com/changelog/#s2-changes-v150102
Jason - I have an issue - not sure if it had to do with this update (there's been one more since then) But I have a multi-site situation - utilizing Alternative View Protection - all of a sudden the links within the menu are showing - Before my updates those links would have been hidden as I have checked the options (all) Registration > Alternative View Protection > Filter All/protecting all alternative views - I can't figure it out. Nothing else has changed.
@jeremygradisher Thanks for the report. We are tracking progress on that issue here. Please see: https://github.com/websharks/s2member/issues/475
Recent tests show room for improvement when it comes to s2Member's query filtes and
wp_list_pages()
. I had to force the filter to get this working properly in all scenarios.s2Member is supposed to set this automatically, and it does for the most part; but it would appear in a test just a moment ago that there may exist a bug related to the initial query; where it's possible that this filter may NOT be applied at all times. Forcing the filter before your call to
wp_list_pages()
should do the trick though; as a short-term solution.