pabloalmunia
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 4.2.3 and embebed JavascriptTHis solution don’t work in my cases because some javascript characters are transformet as [, ], etc.
Thks
Forum: Fixing WordPress
In reply to: 4.2.3 and embebed JavascriptWe are move the code to a external javascript and work fine as:
<script src="/lib/themes/DiviChild/partnerLogo.js"></script>
Thanks
Forum: Fixing WordPress
In reply to: 4.2.3 and embebed JavascriptIt’s very usual include javascript into page and post of WordPress before 4.2.3. If you have your criteria it is a new.
Forum: Fixing WordPress
In reply to: 4.2.3 and embebed JavascriptI do believe the problem is this new function on 4.2.3 version of WordPress:
/** * Replace characters or phrases within HTML elements only. * * @since 4.2.3 * * @param string $haystack The text which has to be formatted. * @param array $replace_pairs In the form array('from' => 'to', ...). * @return string The formatted text. */ function wp_replace_in_html_tags( $haystack, $replace_pairs ) {
Our code work fine in previous version of wordpress and the automatic upgrade broke our function.
Of course, we can change our pages and change the code for a custom plugin and a custom shortcode, but you have a error in your code.
Forum: Fixing WordPress
In reply to: 4.2.3 and embebed Javascriptdone.
Search:
<script type="text/javascript">/* <![
Forum: Fixing WordPress
In reply to: 4.2.3 and embebed JavascriptForum: Fixing WordPress
In reply to: v 4.2.3: linebrake behind CDATA lost, JavaScript not processingDon’t work in all case. In my code this:
sParameterName[0]
is change as:
sParameterName[0]
As a result the code is wrong.
Forum: Fixing WordPress
In reply to: Embedded post javascript stopped working in 4.2.3All embebed Javascript into pages or posts are destroyed by 4.2.3. In some case change [ or ” by html code, other truncate the code, etc.
Forum: Plugins
In reply to: [Advanced Editor Tools] No javascript redirects after WordPress 4.2.3?All embebed Javascript into pages or posts are destroyed by 4.2.3. In some case change [ or ” by html code, other truncate the code, etc.