DC38746
Forum Replies Created
-
Same issue, forms are the most obviously broken but I saw other minor issues on numerous sites after 6.9 upgrade — seems to mostly be padding, margins, and flexbox gap issues, but some missing backgrounds also. Rolled back 30+ sites yesterday to WP 6.83 for now and disabled auto-updates till the dust settles. I see some threads about other major plugins having issues with 6.9 too though.
Success! Used this on the html prior to running my code:
if (function_exists(‘trp_translate’)) {
$output = trp_translate($output, $language = null, $prevent_over_translation = false );
}Had to turn off the over-translation flag since the added spans caused some style issues on this site, but that doesn’t seem to be a problem.
Quick update, it’s NOT related to Elementor or ACF use, I tracked this down to some code I use (go figure : ) to fix various accessibility issues in the final rendered html sent to the browser, using the ‘shutdown’ action hook — looks like TranslatePress must use something similar and they conflict.
Wrapping in this code fixes the backend issue so that everything can be translated:if (!$_GET[‘trp-edit-translation’]) {
}But unfortunately it doesn’t help on the front end, if I disable my code I see the translations, otherwise it’s the default language.
I tried raising the priority of my code, but no luck.
Is there possibly a hook that would allow me to retrieve the final html for the page that TranslatePress generates so that I can run my code on that? Mostly I’m doing things like adding missing aria tags, making sure all IDs on page are unique, etc., doesn’t really matter if my code runs before or after TP just so long as they don’t overwrite each other.
Thanks!
- This reply was modified 8 months, 3 weeks ago by DC38746.
Forum: Plugins
In reply to: [Accept Stripe Payments] Test Mode won’t turn offAh! Thanks, that seems to have worked. I didn’t think to look under the specific product advanced settings at first, thanks for pointing me to that area.
- This reply was modified 1 year, 3 months ago by DC38746.
Tagging this because we’re having similar issues, using an Outlook email address (SMTP connection which they’re still allowing till September I think.) The emails are sending, we can see them in the email account sent folder, they just sometimes never arrive, which makes me think something about them is being flagged and rejected by the recipient’s server. We’ve set up DKIM and DMARC rules and I don’t think the subject or content looks spammy.
Is there anything at all different in the headers of an email sent by the plugin via SMTP vs. sending an email directly from the email account? Would love if anyone can chime in on anything that can be done to make sure emails aren’t rejected. This is basically just a welcome message for new subscribers.
Oh interesting! Thanks for that, that probably jump starts one of the next phases I need to work on, allowing a client to update the stored password in a central place, probably an ACF custom field on an options page. It looks like you have really good documentation for all of these things though, so I imagine I’ll figure it out.
Thanks!
Forum: Plugins
In reply to: [Comments - wpDiscuz] Search shortcode or functions?Thanks, that looks like money well spent to save my sanity : )
Quick update and a bit of a hack, I created a custom shortcode in functions.php, used do_shortcode to load the returned value of the Passter shortcode into a variable, then either return that value or redirect if it’s empty — it works! If there’s a built-in hook for this I’d still love to know since that would be cleaner, but if not, maybe this can help someone else.