Changeset 2566081
- Timestamp:
- 07/16/2021 08:58:13 PM (5 years ago)
- Location:
- wc-poczta/trunk
- Files:
-
- 3 edited
-
code/core/Actions.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
wc-poczta.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-poczta/trunk/code/core/Actions.php
r2566078 r2566081 68 68 { 69 69 if (isset($response->upgrade_notice) && strlen(trim($response->upgrade_notice)) > 0) { 70 echo '<br><span class="wc-poczta__update" style="color: #d54e21"><strong>' . __('Important Upgrade Notice', Bootstrap::DOMAIN) . ':</strong><br>' . esc_html($response->upgrade_notice) . '</span>';70 echo '<br><span class="wc-poczta__update" style="color: #d54e21"><strong>' . __('Important Upgrade Notice', Bootstrap::DOMAIN) . ':</strong><br>' . strip_tags($response->upgrade_notice) . '</span>'; 71 71 } 72 72 } … … 304 304 $html .= '<p><strong>' . __('Pickup point', Bootstrap::DOMAIN) . ':</strong> ' . get_post_meta($orderId, '_wcpoczta_name', true); 305 305 $html .= '<br><strong>' . __('Phone', Bootstrap::DOMAIN) . ':</strong> ' . $order->get_billing_phone(); 306 $html .= '<br><strong>' . __('Weight', Bootstrap::DOMAIN) . ':</strong> ' . ($weight > 0 ? $weight . ' ' . get_option('woocommerce_weight_unit') : __('Unknown', Bootstrap::DOMAIN)); 306 if($weight > 0) { 307 $html .= '<br><strong>' . __('Weight', Bootstrap::DOMAIN) . ':</strong> ' . $weight . ' ' . get_option('woocommerce_weight_unit'); 308 } 307 309 $html .= '</p>'; 308 310 -
wc-poczta/trunk/readme.txt
r2566078 r2566081 2 2 Contributors: RapidDev 3 3 Donate link: https://www.paypal.com/paypalme/devcc 4 Tags: e-commerce, paczkomaty, inpost, poczta, polska, żabka, odbior, punkcie, ruch, orlen, woocommerce4 Tags: e-commerce, paczkomaty, inpost, poczta, polska, żabka, email, punkcie, ruch, orlen, woocommerce 5 5 Requires at least: 5.0.0 6 6 Tested up to: 5.8.0 … … 20 20 - **Add a interactive map of pickup points** available both for parcel machines and collection points in many shops and post offices. 21 21 - **Allow free shipping** which is available in the default options, just set the amount. 22 - **Notify by email** information about the selected pickup point will appear in order summary and in the e-mail notification. 22 23 - **Customize options** using the add shipping creator. You can change names, amounts, weights, specific types of pickup points and more. 23 24 - **Give your customers the convenience** of using modern solutions without compromises. -
wc-poczta/trunk/wc-poczta.php
r2566078 r2566081 17 17 * License: GPL-3.0 18 18 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt 19 * Version: 1.3. 019 * Version: 1.3.1 20 20 * Text Domain: wc_poczta 21 21 * Domain Path: /languages … … 40 40 require_once $pluginPath . 'code/core/' . 'ShippingRegistrar.php'; 41 41 42 \WCPoczta\Code\Core\Bootstrap::init($pluginPath, plugin_dir_url(__FILE__), '1.3.1 56');42 \WCPoczta\Code\Core\Bootstrap::init($pluginPath, plugin_dir_url(__FILE__), '1.3.171'); 43 43 } else { 44 44 add_action('admin_notices', function () {
Note: See TracChangeset
for help on using the changeset viewer.