MichDe / wordpress-geo-mashup

Automatically exported from code.google.com/p/wordpress-geo-mashup
1 stars 0 forks source link

Security issue when used with Membership plugin #668

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I use Geo mashup both with Membership plugin 
(http://wordpress.org/plugins/membership/)
Althrouh some of my post belong to a category not visible to non connected 
users (Membership rules, work fine elsewhere in wordpress), those articles are 
displayed on the mashup global map.

As I wish this map could be available for everybody but not displaying 
restricted content it the user hasn't been granted, here id the issue...

Membership is supposed to act as a filter for post arrays and I think if geo 
mashup parses the regular wordpress arrays, this should not happen...

Thanks for your help!

Original issue reported on code.google.com by sdier...@gmail.com on 18 Aug 2013 at 2:58

GoogleCodeExporter commented 9 years ago
I think you must mean if Geo Mashup uses the WP_Query API to query posts. It 
doesn't, though features I'm working on for 1.7 may at least expand the 
options. For now it's best to use this pattern:

http://snipplr.com/view/37962/geo-mashup-post-query-contextual-map/

Original comment by dylankk...@gmail.com on 23 Aug 2013 at 8:36