Jonathan
Forum Replies Created
-
Looks like this does not support PHP 7.2:
FILE: /nas/content/live/riversidestage/wp-content/plugins/wp-mail-smtp/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php
——————————————————————————————————————————————————-
FOUND 5 ERRORS AFFECTING 2 LINES
——————————————————————————————————————————————————-
69 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
69 | ERROR | Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
108 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
108 | ERROR | Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
108 | ERROR | The constant “MCRYPT_DEV_URANDOM” is deprecated since PHP 7.1 and removed since PHP 7.2
——————————————————————————————————————————————————-Please can this be resolved.
Forum: Plugins
In reply to: [Bootstrap Shortcodes for WordPress] Override class methodIt would seem just extending the class and creating a new class object works fine.
class newBoostrapShortcodes extends BoostrapShortcodes{ function bs_collapse( $atts, $content = null ) {...} } new newBoostrapShortcodes();
Forum: Themes and Templates
In reply to: [BlankSlate] HMTL5 Tags for IE 7/8I actually came across it after posting this.
Result: IE8 Fixed, IE7 needs styling adjustments, but fixed.Forum: Plugins
In reply to: [Facebook] No way to link Facebook account to user profileSolved
Forum: Plugins
In reply to: [Facebook] No way to link Facebook account to user profileYes, this makes perfect sense. App Domain was incorrect. Cheers
Forum: Plugins
In reply to: [Contact Form 7] Placeholder (watermark) not visible under older browserHere’s a working solution for all none HTML5 Browsers. Testing in Chrome 27, IE7, IE8, IE9, IE10, Firefox 21, Safari 5.1.7, All working as they should with/without HTML5.
I’ve adapted on a solution from Pryley here
// Check if browser supports HTML5 input placeholder function supports_input_placeholder() { var i = document.createElement('input'); return 'placeholder' in i; } // Change input text on focus if (!supports_input_placeholder()) { jQuery('.wpcf7-text').each(function() { var self = jQuery(this); var value = jQuery.trim(self.val()); if(value == '') self.val(self.attr('placeholder')); }); jQuery('.wpcf7-text').focus(function(){ var self = jQuery(this); if (self.val() == self.attr('placeholder')) self.val(''); }).blur(function(){ var self = jQuery(this); var value = jQuery.trim(self.val()); if(value == '') self.val(self.attr('placeholder')); }); }
Forum: Plugins
In reply to: [Contact Form 7] Placeholder (watermark) not visible under older browserYep, I had got to that point. Just looking at a JS fix for IE.
Forum: Plugins
In reply to: [Contact Form 7] Placeholder (watermark) not visible under older browserDoes anyone have any further information on why this is no longer working. Previous versions worked fine, 3.4.2 however does not work in IE9, 8 & 7.
Forum: Plugins
In reply to: [Twitter Widget Pro] Feed not updating – Console reports 404Sorted my problem, thanks jglovier
Forum: Plugins
In reply to: [WP-Strings] [Plugin: WP-Strings] doesn't work with duplicator?Thanks. I will look into it.
Forum: Fixing WordPress
In reply to: wp_nav_menu strtoupperThat’s great. Thanks.
Forum: Fixing WordPress
In reply to: wp_nav_menu strtoupperFor anyone else looking to do this, in nav-menu-template.php file, under the start_el() function you’ll find the line:
$item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after;
replace it with:
$item_output .= $args->link_before . apply_filters( 'the_title', strtoupper($item->title), $item->ID ) . $args->link_after;
Note the placement of strtoupper.