strangerstudios / pmpro-membership-maps

Works with Paid Memberships Pro and the Member Directory Add On to add maps to the directory and profiles.
https://www.paidmembershipspro.com/add-ons/membership-maps/
2 stars 8 forks source link

Shortcode Attributes for Markers do not apply to map on Profile page #84

Open kimwhite opened 7 months ago

kimwhite commented 7 months ago

Describe the bug When excluding items from appearing in the Map marker, the conditions are not applied to the Proflile page marker.

To Reproduce Steps to reproduce the behavior:

  1. Add Shortcode for Map or Directory using attributes [pmpro_membership_maps show_level="false" show_avatar="false" show_startdate="false" show_email="false"] or [pmpro_member_directory show_level="false" show_avatar="false" show_startdate="false" show_email="false"]
  2. Click on Directory: Map Marker will exclude the avatar etc
  3. Click on View Profile: Map Marker on profile shows avatar etc

Screenshots Directory View Screenshot 2024-04-01 at 8 10 53 AM

Profile View Screenshot 2024-04-01 at 8 11 04 AM

Expected behavior Markers on both maps should match

Isolating the problem (mark completed items with an [x]):

WordPress Environment WP 6.4.3 PMPro 3.0.1 PMPro Map 0.7.1

Please share non-sensitive information about your hosting environment such as WordPress version, PHP version, Paid Memberships Pro and any related plugins versions.