Changeset 3313208
- Timestamp:
- 06/17/2025 11:22:13 AM (10 months ago)
- Location:
- doppler-for-woocommerce
- Files:
-
- 91 added
- 4 edited
-
tags/1.4.0 (added)
-
tags/1.4.0/LICENSE.txt (added)
-
tags/1.4.0/README.txt (added)
-
tags/1.4.0/admin (added)
-
tags/1.4.0/admin/class-doppler-for-woocommerce-admin.php (added)
-
tags/1.4.0/admin/css (added)
-
tags/1.4.0/admin/css/doppler-for-woocommerce-admin.css (added)
-
tags/1.4.0/admin/css/doppler-for-woocommerce-admin.scss (added)
-
tags/1.4.0/admin/css/fonts (added)
-
tags/1.4.0/admin/css/fonts.css (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-Bold.eot (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-Bold.ttf (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-Bold.woff (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-BoldIt.eot (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-BoldIt.ttf (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-BoldIt.woff (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-Regular.eot (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-Regular.ttf (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-Regular.woff (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-RegularIt.eot (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-RegularIt.ttf (added)
-
tags/1.4.0/admin/css/fonts/ProximaNova-RegularIt.woff (added)
-
tags/1.4.0/admin/img (added)
-
tags/1.4.0/admin/img/ajax-synch.gif (added)
-
tags/1.4.0/admin/img/icon-doppler-menu.png (added)
-
tags/1.4.0/admin/img/loading.gif (added)
-
tags/1.4.0/admin/img/logo-doppler.svg (added)
-
tags/1.4.0/admin/index.php (added)
-
tags/1.4.0/admin/js (added)
-
tags/1.4.0/admin/js/doppler-for-woocommerce-admin.js (added)
-
tags/1.4.0/admin/js/doppler-styles.js (added)
-
tags/1.4.0/admin/partials (added)
-
tags/1.4.0/admin/partials/doppler-for-woocommerce-settings.php (added)
-
tags/1.4.0/admin/partials/hub.php (added)
-
tags/1.4.0/admin/partials/lists.php (added)
-
tags/1.4.0/admin/partials/mapping.php (added)
-
tags/1.4.0/doppler-for-woocommerce.php (added)
-
tags/1.4.0/includes (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-ac.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-activator.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-admin-notice.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-app-connect.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-checkout.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-deactivator.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-dependency-check.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-i18n.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-loader.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-rest-controller.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce-visited-products.php (added)
-
tags/1.4.0/includes/class-doppler-for-woocommerce.php (added)
-
tags/1.4.0/includes/index.php (added)
-
tags/1.4.0/index.php (added)
-
tags/1.4.0/languages (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_AR.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_AR.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_CL.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_CL.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_CO.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_CO.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_CR.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_CR.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_DO.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_DO.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_EC.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_EC.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_ES.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_ES.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_GT.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_GT.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_MX.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_MX.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_PE.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_PE.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_PR.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_PR.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_UY.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_UY.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_VE.mo (added)
-
tags/1.4.0/languages/doppler-for-woocommerce-es_VE.po (added)
-
tags/1.4.0/languages/doppler-for-woocommerce.pot (added)
-
tags/1.4.0/public (added)
-
tags/1.4.0/public/class-doppler-for-woocommerce-public.php (added)
-
tags/1.4.0/public/css (added)
-
tags/1.4.0/public/css/doppler-for-woocommerce-public.css (added)
-
tags/1.4.0/public/css/doppler-for-woocommerce-public.scss (added)
-
tags/1.4.0/public/index.php (added)
-
tags/1.4.0/public/js (added)
-
tags/1.4.0/public/js/doppler-for-woocommerce-public.js (added)
-
tags/1.4.0/public/partials (added)
-
tags/1.4.0/public/partials/doppler-for-woocommerce-public-display.php (added)
-
tags/1.4.0/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/doppler-for-woocommerce.php (modified) (2 diffs)
-
trunk/includes/class-doppler-for-woocommerce.php (modified) (2 diffs)
-
trunk/public/class-doppler-for-woocommerce-public.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doppler-for-woocommerce/trunk/README.txt
r3301447 r3313208 5 5 Requires at least: 4.9 6 6 Tested up to: 6.8.1 7 Stable tag: 1. 3.07 Stable tag: 1.4.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 13 13 Submit your WooCommerce customers and buyers to a Doppler List. 14 15 == Upgrade Notice == 16 17 = 1.4.0 = 18 *Important:* This version improves the tracking performance of visited products. Updating is recommended. 19 20 == Changelog == 21 22 = 1.4.0 = 23 * Feat: Add Open Graph metadata. 14 24 == 1.3.0 == 15 25 * Feat: Add consent checkbox in checkout. -
doppler-for-woocommerce/trunk/doppler-for-woocommerce.php
r3301447 r3313208 17 17 * Plugin URI: https://www.fromdoppler.com/ 18 18 * Description: Connect your WooCommerce customers with your Doppler Lists. 19 * Version: 1. 3.019 * Version: 1.4.0 20 20 * Author: Doppler LLC 21 21 * License: GPL-2.0+ … … 35 35 * Rename this for your plugin and update it as you release new versions. 36 36 */ 37 define('DOPPLER_FOR_WOOCOMMERCE_VERSION', '1. 3.0');37 define('DOPPLER_FOR_WOOCOMMERCE_VERSION', '1.4.0'); 38 38 define('DOPPLER_FOR_WOOCOMMERCE_URL', plugin_dir_url(__FILE__)); 39 39 define('DOPPLER_FOR_WOOCOMMERCE_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__)); -
doppler-for-woocommerce/trunk/includes/class-doppler-for-woocommerce.php
r3301447 r3313208 82 82 } else { 83 83 $this->version = '1.0.1'; 84 } 85 86 if (get_option('dplr_wc_open_graph_meta') === false) { 87 update_option('dplr_wc_open_graph_meta', 1); 84 88 } 85 89 … … 231 235 232 236 $this->loader->add_action('wp_enqueue_scripts', $plugin_public, 'enqueue_scripts'); 237 if (get_option('dplr_wc_open_graph_meta') == 1) 238 { 239 $this->loader->add_action('wp_head', $plugin_public, 'add_open_graph_meta_tags'); 240 } 233 241 234 242 if (get_option('dplr_wc_consent') == 1) { -
doppler-for-woocommerce/trunk/public/class-doppler-for-woocommerce-public.php
r3008943 r3313208 80 80 } 81 81 82 public function add_open_graph_meta_tags() 83 { 84 if (!is_product()) { 85 echo '<meta property="og:type" content="website" />'; 86 return; 87 } 88 89 global $post; 90 $product = wc_get_product($post->ID); 91 92 if (!$product) { 93 return; 94 } 95 96 $title = get_the_title($post); 97 $description = get_the_excerpt($post); 98 $url = get_permalink($post); 99 $image = wp_get_attachment_url($product->get_image_id()); 100 $price = $product->get_price(); 101 $currency = get_woocommerce_currency(); 102 103 echo '<meta property="og:type" content="product" />' . "\n"; 104 echo '<meta property="og:title" content="' . esc_attr($title) . '" />' . "\n"; 105 echo '<meta property="og:description" content="' . esc_attr($description) . '" />' . "\n"; 106 echo '<meta property="og:url" content="' . esc_url($url) . '" />' . "\n"; 107 if ($image) { 108 echo '<meta property="og:image" content="' . esc_url($image) . '" />' . "\n"; 109 } 110 if ($price) { 111 echo '<meta property="og:price" content="' . esc_attr($price) . '" />' . "\n"; 112 echo '<meta property="og:currency" content="' . esc_attr($currency) . '" />' . "\n"; 113 } 114 } 82 115 }
Note: See TracChangeset
for help on using the changeset viewer.