Plugin Directory

Changeset 3443057


Ignore:
Timestamp:
01/20/2026 08:58:10 AM (2 months ago)
Author:
sevengits
Message:

version 1.0.17

Location:
map-to-address/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • map-to-address/trunk/admin/class-woocommerce-delivery-location-map-picker-admin.php

    r3072739 r3443057  
    270270         */
    271271
    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);
    274274        $maplink_api = 'www.google.com/maps/search/?q=';
    275275        if ($billing_latitude !== '' && $billing_longitude !== '') {
     
    294294         */
    295295
    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);
    298298        $maplink_api = "www.google.com/maps/search/?api=1&query=";
    299299        if ($shipping_latitude !== '' && $shipping_longitude !== '') {
     
    319319    {
    320320        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);
    326326            $maplink_api = "www.google.com/maps/search/?api=1&query=";
    327327        ?>
  • map-to-address/trunk/includes/packages/plugin-review/notice.php

    r2986696 r3443057  
    469469
    470470        // 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'));
    472472
    473473        switch ($action) {
  • map-to-address/trunk/map-to-address.php

    r3072739 r3443057  
    1111 * Plugin URI:        https://sevengits.com/plugin/map-to-address-pro/
    1212 * Description:       Customers can mark their location  on google map and address will be automatically populated.
    13  * Version:           1.0.16
     13 * Version:           1.0.17
    1414 * Author:            Sevengits
    1515 * Author URI:        https://sevengits.com
     
    1919 * Domain Path:       /languages
    2020 * WC requires at least: 3.0
    21  * WC tested up to:      8.7
     21 * WC tested up to:      10.4
    2222 *
    2323 */
     
    2626if (!defined('WPINC')) {
    2727    die;
    28 }
    29 if (!function_exists('get_plugin_data')) {
    30     require_once(ABSPATH . 'wp-admin/includes/plugin.php');
    3128}
    3229/**
     
    3734if (!defined('SGMTA_VERSION')) {
    3835
    39     define('SGMTA_VERSION', get_plugin_data(__FILE__)['Version']);
     36    define('SGMTA_VERSION', '1.0.17');
    4037}
    4138if (!defined('SGMTA_BASE')) {
     
    7370
    7471    );
    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');
    7673    $is_disabled = false;
    7774    foreach ($depended_plugins as $key => $dependency) {
     
    111108        }
    112109        printf('<div class="%1$s"><p>%2$s</p></div>', esc_attr($class), $message);
    113     }
    114 
    115     /**
    116      * plugin review notice
    117      */
    118     if (class_exists('\SGMTA\Reviews\Notice')) {
    119 
    120         // delete_site_option('prefix_reviews_time'); // FOR testing purpose only. this helps to show message always
    121         $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();
    140110    }
    141111}
  • map-to-address/trunk/public/partials/woocommerce-delivery-location-common-fields.php

    r2424697 r3443057  
    3333        .addresses-section {
    3434            justify-content: flex-start;
     35            margin-top: 12px;
    3536        }
    3637
    3738        .addresses-section .single-address.address-inline {
    3839
    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
    4146        }
    4247
  • map-to-address/trunk/readme.txt

    r3072739 r3443057  
    44Tags: google map,Google Maps,maps,map,map to address
    55Requires at least: 3.0
    6 Tested up to: 6.5
    7 Stable tag: 1.0.16
     6Tested up to: 6.9
     7Stable tag: 1.0.17
    88Requires PHP: 5.4
    99License: GPLv2 or later
     
    1111
    1212Customers can mark their location  on google map and address will be automatically populated.
     13
    1314== Description ==
    1415
     
    5960**Our other plugins**
    6061
    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.
     62Sevengits 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.
     63Featured Plugins
    6264
    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")
     72WooCommerce Order Approval plugin allows shop owners to approve or reject orders before payment is processed, giving complete control over the WooCommerce sales flow.
     73With 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")
     76The 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")
     79The Order Approval for MultiVendorX plugin allows marketplace vendors to approve or reject orders placed by customers before payment is processed.
     80
     81This 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")
     84The 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.
    7185
    7286
     
    87101
    88102== Changelog ==
     103
     104**1.0.17 - 20 JAN 2026**
     105
     106* **Improvement:** Compatible with Wordpress 6.9
     107* **Improvement:** Compatible with Woocommerce 10.4
    89108
    90109**1.0.16 - 17 APR 2024**
Note: See TracChangeset for help on using the changeset viewer.