Changeset 3443057
- Timestamp:
- 01/20/2026 08:58:10 AM (2 months ago)
- Location:
- map-to-address/trunk
- Files:
-
- 5 edited
-
admin/class-woocommerce-delivery-location-map-picker-admin.php (modified) (3 diffs)
-
includes/packages/plugin-review/notice.php (modified) (1 diff)
-
map-to-address.php (modified) (6 diffs)
-
public/partials/woocommerce-delivery-location-common-fields.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
map-to-address/trunk/admin/class-woocommerce-delivery-location-map-picker-admin.php
r3072739 r3443057 270 270 */ 271 271 272 $billing_latitude = get_post_meta($order->get_id(),'_billing_address_latitude', true);273 $billing_longitude = get_post_meta($order->get_id(),'_billing_address_longitude', true);272 $billing_latitude = $order->get_meta('_billing_address_latitude', true); 273 $billing_longitude = $order->get_meta('_billing_address_longitude', true); 274 274 $maplink_api = 'www.google.com/maps/search/?q='; 275 275 if ($billing_latitude !== '' && $billing_longitude !== '') { … … 294 294 */ 295 295 296 $shipping_latitude = get_post_meta($order->get_id(),'_shipping_address_latitude', true);297 $shipping_longitude = get_post_meta($order->get_id(),'_shipping_address_longitude', true);296 $shipping_latitude = $order->get_meta('_shipping_address_latitude', true); 297 $shipping_longitude = $order->get_meta('_shipping_address_longitude', true); 298 298 $maplink_api = "www.google.com/maps/search/?api=1&query="; 299 299 if ($shipping_latitude !== '' && $shipping_longitude !== '') { … … 319 319 { 320 320 if ($email->id == 'new_order') : 321 $billing_latitude = get_post_meta($order->get_id(),'_billing_address_latitude', true);322 $billing_longitude = get_post_meta($order->get_id(),'_billing_address_longitude', true);323 324 $shipping_latitude = get_post_meta($order->get_id(),'_shipping_address_latitude', true);325 $shipping_longitude = get_post_meta($order->get_id(),'_shipping_address_longitude', true);321 $billing_latitude = $order->get_meta('_billing_address_latitude', true); 322 $billing_longitude = $order->get_meta('_billing_address_longitude', true); 323 324 $shipping_latitude = $order->get_meta('_shipping_address_latitude', true); 325 $shipping_longitude = $order->get_meta('_shipping_address_longitude', true); 326 326 $maplink_api = "www.google.com/maps/search/?api=1&query="; 327 327 ?> -
map-to-address/trunk/includes/packages/plugin-review/notice.php
r2986696 r3443057 469 469 470 470 // Get the current review action. 471 $action = filter_input(INPUT_GET, $this->key('action'), FILTER_SANITIZE_STRING);471 $action = sanitize_text_field($this->key('action')); 472 472 473 473 switch ($action) { -
map-to-address/trunk/map-to-address.php
r3072739 r3443057 11 11 * Plugin URI: https://sevengits.com/plugin/map-to-address-pro/ 12 12 * Description: Customers can mark their location on google map and address will be automatically populated. 13 * Version: 1.0.1 613 * Version: 1.0.17 14 14 * Author: Sevengits 15 15 * Author URI: https://sevengits.com … … 19 19 * Domain Path: /languages 20 20 * WC requires at least: 3.0 21 * WC tested up to: 8.721 * WC tested up to: 10.4 22 22 * 23 23 */ … … 26 26 if (!defined('WPINC')) { 27 27 die; 28 }29 if (!function_exists('get_plugin_data')) {30 require_once(ABSPATH . 'wp-admin/includes/plugin.php');31 28 } 32 29 /** … … 37 34 if (!defined('SGMTA_VERSION')) { 38 35 39 define('SGMTA_VERSION', get_plugin_data(__FILE__)['Version']);36 define('SGMTA_VERSION', '1.0.17'); 40 37 } 41 38 if (!defined('SGMTA_BASE')) { … … 73 70 74 71 ); 75 $message = __('The following plugins are required for <b> ' . get_plugin_data(__FILE__)['Name'] . '</b> plugin to work. Please ensure that they are activated: ', 'map-to-address');72 $message = __('The following plugins are required for <b>Map to Address</b> plugin to work. Please ensure that they are activated: ', 'map-to-address'); 76 73 $is_disabled = false; 77 74 foreach ($depended_plugins as $key => $dependency) { … … 111 108 } 112 109 printf('<div class="%1$s"><p>%2$s</p></div>', esc_attr($class), $message); 113 }114 115 /**116 * plugin review notice117 */118 if (class_exists('\SGMTA\Reviews\Notice')) {119 120 // delete_site_option('prefix_reviews_time'); // FOR testing purpose only. this helps to show message always121 $message = sprintf(__("Hello! Seems like you have been using %s for a while – that’s awesome! Could you please do us a BIG favor and give it a 5-star rating on WordPress? This would boost our motivation and help us spread the word.", 'map-to-address'), "<b>" . get_plugin_data(__FILE__)['Name'] . "</b>");122 $actions = array(123 'review' => __('Ok, you deserve it', 'map-to-address'),124 'later' => __('Nope, maybe later I', 'map-to-address'),125 'dismiss' => __('already did', 'map-to-address'),126 );127 $notice = \SGMTA\Reviews\Notice::get(128 'map-to-address',129 get_plugin_data(__FILE__)['Name'],130 array(131 'days' => 7,132 'message' => $message,133 'action_labels' => $actions,134 'prefix' => "sgmta"135 )136 );137 138 // Render notice.139 $notice->render();140 110 } 141 111 } -
map-to-address/trunk/public/partials/woocommerce-delivery-location-common-fields.php
r2424697 r3443057 33 33 .addresses-section { 34 34 justify-content: flex-start; 35 margin-top: 12px; 35 36 } 36 37 37 38 .addresses-section .single-address.address-inline { 38 39 39 width: calc(<?php echo esc_html(($cards_per_col === '1') ? "100%" : "100% /" . $cards_per_col . " - 10px"); ?>); 40 margin-right: 2%; 40 width: calc(100% - 24px); 41 margin-top: 12px; 42 } 43 .sg-del-address { 44 margin-top: 12px; 45 41 46 } 42 47 -
map-to-address/trunk/readme.txt
r3072739 r3443057 4 4 Tags: google map,Google Maps,maps,map,map to address 5 5 Requires at least: 3.0 6 Tested up to: 6. 57 Stable tag: 1.0.1 66 Tested up to: 6.9 7 Stable tag: 1.0.17 8 8 Requires PHP: 5.4 9 9 License: GPLv2 or later … … 11 11 12 12 Customers can mark their location on google map and address will be automatically populated. 13 13 14 == Description == 14 15 … … 59 60 **Our other plugins** 60 61 61 [Sevengits](https://sevengits.com/) is a premier WooCommerce custom plugin development company, distinguished by a team of seasoned experts. Specializing in tailoring e-commerce solutions, SevenGits delivers innovative and scalable plugins, ensuring clients harness the full potential of their WooCommerce platforms. 62 Sevengits is a leading WooCommerce custom plugin development company backed by a team of experienced professionals. We specialize in building scalable, secure, and innovative WooCommerce plugins, helping businesses unlock the full potential of their eCommerce stores. 63 Featured Plugins 62 64 63 * Order Approval for Woocommerce [free](https://wordpress.org/plugins/order-approval-woocommerce/ "order approval for woocommerce free") | [pro](https://sevengits.com/plugin/order-approval-woocommerce-pro/ "order approval for woocommerce pro") | [demo](https://demo.sevengits.com/order-approval-woocommerce/ "order approval for woocommerce demo") 64 * Dokan Order Approval [free](https://wordpress.org/plugins/dokan-order-approval/ "dokan order approval free") | [pro](https://sevengits.com/plugin/dokan-order-approval-pro/ "dokan order approval pro") | [demo](https://demo.sevengits.com/dokan-order-approval/ "dokan order approval demo") 65 * Order Approval for MultiVendorX [free](https://wordpress.org/plugins/order-approval-for-multivendorx/ "Order Approval for MultiVendorX free") | [pro](https://sevengits.com/plugin/order-approval-for-multivendorx-pro/ "Order Approval for MultiVendorX pro") | [demo](https://demo.sevengits.com/order-approval-for-multivendorx-pro/ "Order Approval for MultiVendorX demo") 66 * Order approval for WCFM [free](https://wordpress.org/plugins/order-approval-for-wcfm/ "Order approval for WCFM free") | [pro](https://sevengits.com/plugin/order-approval-for-wcfm-pro/ "Order approval for WCFM pro") | [demo](https://demo.sevengits.com/order-approval-for-wcfm-pro/ "Order approval for WCFM demo") 67 * Integrate PhonePe with WooCommerce [free](https://wordpress.org/plugins/wc-phonepe/ "Integrate PhonePe with WooCommerce free") | [demo](https://demo.sevengits.com/phonepe-woocommerce/ "Integrate PhonePe with WooCommerce demo") 68 * Checkout Location Picker for WooCommerce [free](https://wordpress.org/plugins/sg-checkout-location-picker/ "Checkout Location Picker for WooCommerce free") | [pro](https://sevengits.com/plugin/sg-checkout-location-picker-pro/ "Checkout Location Picker for WooCommerce pro") | [demo](https://demo.sevengits.com/sg-checkout-location-picker/ "Checkout Location Picker for WooCommerce demo") 69 * Chikkili- Google Pay India for Woocommerce [free](https://wordpress.org/plugins/chikkili-google-pay-for-woocommerce/ "Chikkili- Google Pay India for Woocommerce free") | [pro](https://sevengits.com/plugin/chikkili-google-pay-for-woocommerce-pro/ " Chikkili- Google Pay India for Woocommerce pro") | [demo](https://demo.sevengits.com/chikkili-google-pay-for-woocommerce/ " Chikkili- Google Pay India for Woocommerce demo") 70 * WC Messaging [free](https://wordpress.org/plugins/wc-messaging "Whatsapp integration with WooCommerce") | [pro](https://sevengits.com/plugin/wc-messaging-pro/ "Whatsapp WooCommerce pro") | [demo](https://demo.sevengits.com/wc-messaging-pro/ "WooCommerce whatsapp API integration") 65 * [Notiqoo – Free](https://wordpress.org/plugins/wc-messaging?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "Whatsapp integration with WooCommerce") | [Pro](https://notiqoo.com?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "Whatsapp WooCommerce pro") | [Demo](https://notiqoo.com/launch-demo/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "WooCommerce whatsapp API integration") 66 A powerful WooCommerce WhatsApp messaging and automation plugin designed for seamless customer communication. 67 68 * [Checkout Location Picker for WooCommerce – Free](https://wordpress.org/plugins/sg-checkout-location-picker/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "Checkout Location Picker for WooCommerce free") | [Pro](https://sevengits.com/plugin/sg-checkout-location-picker-pro/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "Checkout Location Picker for WooCommerce pro") | [Demo](https://demo.sevengits.com/sg-checkout-location-picker/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "Checkout Location Picker for WooCommerce demo") 69 Enables customers to select their delivery location easily during checkout for accurate order fulfillment. 70 71 * [Order Approval for Woocommerce free](https://wordpress.org/plugins/order-approval-woocommerce/ "order approval for woocommerce free") | [pro](https://sevengits.com/plugin/order-approval-woocommerce-pro/ "order approval for woocommerce pro") | [demo](https://demo.sevengits.com/order-approval-woocommerce/ "order approval for woocommerce demo") 72 WooCommerce Order Approval plugin allows shop owners to approve or reject orders before payment is processed, giving complete control over the WooCommerce sales flow. 73 With this order approval system, customers can place an order without completing payment. 74 75 * [Dokan Order Approval Free Version](https://wordpress.org/plugins/dokan-order-approval/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "dokan order approval for woocommerce")[Pro Version](https://sevengits.com/plugin/dokan-order-approval-pro/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "dokan order approval")[Demo](https://demo.sevengits.com/dokan-order-approval/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "dokan order approval demo") 76 The Dokan Order Approval plugin enables Dokan marketplace vendors to approve or reject customer orders before payment is processed, giving vendors full control over their orders. 77 78 * [Order Approval for MultiVendorX Free Version](https://wordpress.org/plugins/order-approval-for-multivendorx/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "Order Approval for MultiVendorX plugin")[Pro Version](https://sevengits.com/plugin/order-approval-for-multivendorx-pro/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "woocommece multiple venders order approval")[Demo](https://demo.sevengits.com/order-approval-for-multivendorx-pro/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "demo venders order approval") 79 The Order Approval for MultiVendorX plugin allows marketplace vendors to approve or reject orders placed by customers before payment is processed. 80 81 This addon works as a combination of the MultiVendorX plugin and the SG Order Approval plugin, helping marketplace owners manage multi-vendor orders without collecting payment upfront. 82 83 * [Order Approval for WCFM Free Version](https://wordpress.org/plugins/order-approval-for-wcfm/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "Order Approval for WCFM /order approval WCFM plugin")[Pro Version](https://sevengits.com/plugin/order-approval-for-wcfm-pro/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "WCFM order approval plugin pro")[Demo](https://demo.sevengits.com/order-approval-for-wcfm-pro/?utm_source=wp&utm_medium=readme&utm_campaign=order-approval "WCFM woocommerce multivendor marketplace demo") 84 The Order Approval for WCFM plugin enables WCFM marketplace vendors to manually approve or reject customer orders before payment is processed, ensuring better order verification and control. 71 85 72 86 … … 87 101 88 102 == Changelog == 103 104 **1.0.17 - 20 JAN 2026** 105 106 * **Improvement:** Compatible with Wordpress 6.9 107 * **Improvement:** Compatible with Woocommerce 10.4 89 108 90 109 **1.0.16 - 17 APR 2024**
Note: See TracChangeset
for help on using the changeset viewer.