gerd.neumann
Forum Replies Created
-
Can you please inform DHL about it? I am sure you have a technical contact. Or access to their bug tracker. So that they can fix their REST interface.
Ich glaube, ich klicke tendentiell eher auf Schließen X rechts oben statt auf “Nicht jetzt”. Ich kann mal zukünftig “Nicht jetzt” probieren.
Ich bin der Shop-Admin, d.h. arbeite nicht täglich mit der Site, sondern das tun die Shop-Manager. Ich bin daran gewohnt, dass der Hinweis nach jedem Upgrade kommt. Aber wenn ich mich dann eine Woche später wieder einlogge, kommt es wieder. Eigentlich mit jeder Login-Session, habe ich das Gefühl.
An den Versionen bzw. einer ganz bestimmten liegt es eher nicht, weil das geht schon über ein Jahr so und da gab es bestimmt 5-6 Upgrades zwischendurch des Systems/Plugins.
Hi @sal4sup
looks like this was added here https://github.com/woocommerce/woocommerce-paypal-payments/pull/2463 So this is why it is working ootb. If you like some advertisement for your plugin, you might want to ask to get it listed at https://woocommerce.com/document/woocommerce-paypal-payments/#package-tracking-compatibility too.
Hi @abdalsalaam I am just the admin not the daily shopmanager who interacts with the shop. So all I have is the log I have already sent you. Maybe you can protect against the error using an
if-check if the string variable is really defined and add some kind of safeguard this way.Sorry, that I cannot add more info.
Forum: Plugins
In reply to: [hCaptcha for WP] Is it ok to change the look/styling of the widget with CSSThanks for the info. I think i then rather refrain from the idea of styling the widget. Seems to be to errorprone.
It is a monthly subscription. We use WooCommerce Subscriptions plugin for our non-software subscription product. We can switch to an official Woo Support channel if you prefer.
Forum: Reviews
In reply to: [Google for WooCommerce] Spam generator for jetpack and woocommerceSame here. I added a support thread about it at https://ww.wp.xz.cn/support/topic/why-am-i-getting-mails-from-jetpack-after-installing-just-this-plugin/#new-topic-0 I have never opted in and also do not really know what Jetpack is or if I have do to something. The mail has clear (many) Calls to Action buttons that confuse me.
Blocking direct access to core WordPress files like those in the
wp-includesdirectory is generally not recommended because these files contain essential components of WordPress. However, the/wp-includes/blocks/directory is used primarily for the block editor functionality introduced in newer WordPress versions.Hi Niko,
hmm, sounds not like a definite “Yes, it is safe”. Would it not be best if the
wp-includes/blocks/index.phphad a this usual snippet at its top then:if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly }Every WooCommerce file has it: https://github.com/search?q=repo%3Awoocommerce%2Fwoocommerce+defined%28+%27ABSPATH%27&type=code (needs a github login to see the search results)
Or maybe in this case rather a
if ( ! defined( 'ABSPATH' || ! defined( 'WPINC') ) { exit; // Exit if accessed directly }?
Because in line 8 this file goes on with
define( 'BLOCKS_PATH', ABSPATH . WPINC . '/blocks/' );Seems like WordPress core uses something similar see for instance https://github.com/WordPress/WordPress/blob/178deab664bf0c4e61489b152df3941548a6cb08/wp-admin/edit-link-form.php#L9-L12 – this snippet can be found in various files:
// Don't load directly. if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); }I think that
wp-includes/blocks/index.phpshould have the same, right?Would this be worth opening a bug ticket at https://core.trac.ww.wp.xz.cn/ ?
Hi @sal4sup , thanks. There have been 3 releases now but apparently now fix yet. Are you still working on the issue?
Ok, it is working again. It was a problem of DHL.
Any idea why there is still one “red” API?
PS Directly printing via the DHL website works. But that’s of course not a solution if you have hundreds of labels to print.
In case others read this: It would be interesting for me if other shops face the same problem to make sure it is a DHL or plugin problem (or if it is rather a local problem at our website/hoster – though I do not think it is)
- This reply was modified 3 years, 3 months ago by gerd.neumann.
- This reply was modified 3 years, 3 months ago by gerd.neumann.
Hallo
Die WPML Kompatibilität wird nur dann geladen, wenn WPML auch wirklich als Plugin aktiviert ist.
Könnte man diese nicht auch laden, wenn Polylang als Plugin aktiviert ist?
Naja, wie dem auch sei, ja, ich werde das jetzt einfach via unseres child themes lösen. Danke. Laut polylang support gäbe es auch noch eine einfachere als die von dir skizzierte Lösung mit folgendem im Child theme:
add_filter ( 'option_woocommerce_review_authenticity_page_id', 'pll_get_post' );Ich probiere das mal aus. Und erwähne es hier für potentiell andere User. (Generell schöner fände ich es natürlich, wenn das im Germanized Plugin selber behoben wäre, und dann somit für alle User, aber ich schätze mal die Schnittmenge von Polylang-und-Germanized-Shops hat dann einfach noch nicht die kritische Menge an Betroffenen 🙂
- This reply was modified 3 years, 5 months ago by gerd.neumann.
Hallo,
danke für die schnelle Antwort. Ich habe daraufhin dem Polylang-Support geschrieben und es gibt zwei hier zwei Dinge bzgl. WPML-Kompatibilität. Wenn man das ändert, dann würde es auch mit Polylang gehen, weil Polylang mit der WPML-API kompatibel ist.
- das alte ‘translate_object_id’ sollte durch ‘wpml_object_id’ ersetzt werden
review_authenticitysollte im Germanized Code unterwoo_pagesgelistet werden
Das Problem hier wäre durch 2. wohl schon gelöst, aber Punkt 1 ist vermutlich auch nicht verkehrt.
Der Vollständigkeit halber hier die gesamte Antwort von Polylang:
To overview the issue here, the compatibility of Germanized with WPML should be applicable with Polylang plugins, not to mentioned they do show, to a certain extent, a compatibility with Polylang : https://github.com/vendidero/woocommerce-germanized/blob/master/includes/compatibility/class-wc-gzd-compatibility-polylang.php
This requires to apply the best practices by using the documented WPML public API : https://github.com/vendidero/woocommerce-germanized/blob/v3.11.2/includes/compatibility/class-wc-gzd-compatibility-wpml.php#L614
Going through the analysis of the compatibility with WPML, the use of ‘translate_object_id’ https://github.com/vendidero/woocommerce-germanized/blob/v3.11.2/includes/compatibility/class-wc-gzd-compatibility-wpml.php#L638 should be replaced by ‘wpml_object_id’ since version 3.2 of WPML (2015) : https://wpml.org/wpml-hook/wpml_object_id/.
We have not either been able to find this review authenticity page in the compatibility page list of WooCommerce for Germanized : https://github.com/vendidero/woocommerce-germanized/blob/v3.11.2/includes/compatibility/class-wc-gzd-compatibility-wpml.php#L617-L622If a plugin is compatible with WPML, our development team has done they best to be functional as well with Polylang’s solution. That is, if the best practices apply when integrating their functions.
Hi,
ok, danke, verstehe. Aber gäbe es denn einen Hook oder ähnliches um aus dem doppelt-gemoppelten “geprüfte Gesamtbewertungen (13 Kundenrezensionen)” ein stringentes “13 geprüfte Gesamtbewertungen” zu machen?
Viele Grüße
Danke. Ich markiere den Thread damit mal als “Resolved”