germundal
Forum Replies Created
-
Another temporary solution that can go in your own theme or plugin:
function handle_scripts() {
if ( !is_admin() ) {
wp_dequeue_script( 'callout-js' );
wp_deregister_script( 'callout-js' );
}
}
add_action( 'wp_enqueue_scripts', 'handle_scripts', 1000 );Forum: Plugins
In reply to: [Black Bar] PHP 7 not supportedWow, that was amazingly fast!
Thank you.
Great! ??
Super, thanks a lot!
Forum: Plugins
In reply to: [Contact Form 7] When are you going to fix the v5.4?@codekraft In my case it was indeed the theme that had:
$('p:empty').remove();
So my apologies, and my report can be disregarded.
Forum: Plugins
In reply to: [Contact Form 7] When are you going to fix the v5.4?This bug still exists in 5.4.1 and when I test with/without reCaptcha there is no difference.
When I view the source of the page (opening the source in a new tab) I see:
<div class="screen-reader-response"><p role="status" aria-live="polite" aria-atomic="true"></p> <ul></ul></div>
But when I inspect the element in Chrome developer I see:
<div class="screen-reader-response"> <ul></ul></div>
So the p-tag has been removed by javascript.
I had problems with making these error messages display but if anyone else comes across this problem, here was the solution. Download patched version from flexslider.js from here: https://github.com/woocommerce/FlexSlider/pull/1791/files to your theme, specifically: https://github.com/woocommerce/FlexSlider/blob/4865a3209e8e0650f3fba63b356af23067bd1639/jquery.flexslider.js
Use that file instead:
add_filter('script_loader_src', function($url){ if (strpos($url, '/plugins/ml-slider/assets/sliders/flexslider/jquery.flexslider.min.js')) { $url = get_stylesheet_directory_uri() . '/assets/js/jquery.flexslider.js'; } return $url; });
- This reply was modified 3 years, 6 months ago by germundal.
@mohammedeisa I see them in the frontend when the slider is displayed, but jQuery Migrate shows the messages only when WP_DEBUG is true and I don’t want to use that in production.
@tharkon Very helpful!
But perhaps you forgot one? I changed also:
On line 1890:
if ( $.type(responsiveSettings) === 'array' && responsiveSettings.length ) {
if ( Array.isArray(responsiveSettings) && responsiveSettings.length ) {
Change this line:
web/app/plugins/featured-video-plus/php/class-oembed.php:19From:
require_once( ABSPATH . '/' . WPINC . '/class-oembed.php' );
To:
require_once( ABSPATH . '/' . WPINC . '/class-wp-oembed.php' );
Hello Larry,
Regarding your guess, have you tried using an older version of TML that don’t have 2FA support?
I don’t find anything about it in the changelog though.
Forum: Plugins
In reply to: [Analyticator] Settings page not displaying. Customizer no longer worksI think I have the same problem, but I see an error message:
Fatal error: Uncaught exception 'Google_AuthException' with message 'Error refreshing the OAuth2 token, message: '{ "error" : "invalid_grant" }'' in /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php:288 Stack trace: #0 /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php(248): Google_OAuth2->refreshTokenRequest(Array) #1 /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php(225): Google_OAuth2->refreshToken('1/8OtWF87IRePTj...') #2 /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/service/Google_ServiceResource.php(167): Google_OAuth2->sign(Object(Google_HttpRequest)) #3 /public_html/wp-content/plugins/g in /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php on line 288
Forum: Plugins
In reply to: [Idle User Logout] Doesn’t work for longer timesSet my timeout to 2700 (2 hours). Leave the site open over the night, when I check the next morning (15 hours later) I’m still logged in.
Forum: Plugins
In reply to: [Polylang Auto translation] Not functional with wp4.0 – no translation passedI can see in the console that i fetches the translations correctly, it just doesn’t add them.
This is under Settings – Languages – String translations.
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] Can't add domains punycode problemOkay, then I’ll just add 1 domain and select this domain for the sixth site. And since there is only 1 domain for the sixth site I guess the primary checkbox doesn’t matter. And I leave sites 1-5 as they are. Thank’s for clearing things up a bit!