impress-org / google-maps-builder

One Google Maps plugin to rule them all. Google Maps Builder is intuitive, sleek, powerful and easy to use. Forget the rest, use the best.
https://wordpress.org/plugins/google-maps-builder/
32 stars 9 forks source link

fix(mashups): Make sure to exclude the post_types in drafts from the mashups #271

Open kevinwhoffman opened 6 years ago

kevinwhoffman commented 6 years ago

@marutim commented on Tue Jun 19 2018

User Story

As a user, I would like only published posts to be displayed in the mashups. Currently, it displays the posts in drafts as well.

Current Behavior

The mashup does not excludes the posts in drafts.

Possible Solution

Make sure only the post status published is considered while creating mashups.

Steps to reproduce

Visuals

image image

Related

Related HS ticket: https://secure.helpscout.net/conversation/597787591/19963/?folderId=1434552

Environment

### Begin System Info ### -- Site Info Site URL: http://maps-builder-plugin.local Home URL: http://maps-builder-plugin.local Multisite: No -- Hosting Provider Host: DBH: localhost, SRV: maps-builder-plugin.local -- User Browser Platform: Apple Browser Name: Chrome Browser Version: 67.0.3396.87 User Agent String: Mozilla/5.0 (Macintosh; Intel Ma c OS X 10_12_6) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/67 .0.3396.87 Safari/537.36 -- WordPress Configuration Version: 4.9.6 Language: en_US Permalink Structure: /%postname%/ Active Theme: Twenty Seventeen 1.6 Show On Front: posts Remote Post: wp_remote_post() works Table Prefix: Length: 3 Status: Acceptable Admin AJAX: Inaccessible WP_DEBUG: Disabled Memory Limit: 40M Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed -- Maps Builder Configuration Version: 2.1.2 Upgraded From: 2.1.2 -- Must-Use Plugins -- WordPress Active Plugins Maps Builder Pro: 2.1.2 Transients Manager: 1.7.4 -- WordPress Inactive Plugins Duplicate Post: 3.2.2 Maps Builder: 2.1.2 WordPress phpinfo(): 16.3 -- Webserver Configuration PHP Version: 7.1.7 MySQL Version: 5.6.37 Webserver Info: nginx/1.10.1 -- PHP Configuration Safe Mode: Disabled Memory Limit: 256M Upload Max Size: 300M Post Max Size: 1000M Upload Max Filesize: 300M Time Limit: 1200 Max Input Vars: 4000 Display Errors: On (1) -- PHP Extensions cURL: Supported fsockopen: Supported SOAP Client: Installed Suhosin: Not Installed ### End System Info ###

@marutim commented on Thu Jun 21 2018

The user followed up to check if at least, we can share some workaround.