Plugin Directory

Changeset 1425899


Ignore:
Timestamp:
05/28/2016 03:18:32 AM (10 years ago)
Author:
rlaymance
Message:

Fixed a conflict that was occurring when using Yoast and Divi Builder. Updated the "tested up to" line to version 4.5.2.

Location:
machform-shortcode/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • machform-shortcode/trunk/machform-shortcode.php

    r1178246 r1425899  
    5656function machform_shortcode( $atts ){
    5757    global $machform_domain;
     58   
     59    // If the shortcode is being executed in admin, just return an
     60    // empty string.  There are some conflicts when the javascript
     61    // is loaded in admin and a page builder is being used, particularly
     62    // when the Yoast plugin is installed.  This ensures the best compatibility
     63    // with Yoast so that we don't have shortcodes in the SEO text and things
     64    // will still work.
     65    if ( is_admin() ) return '';
    5866   
    5967    // If no ID is given, return a blank string
  • machform-shortcode/trunk/readme.txt

    r1304662 r1425899  
    44Tags: MachForm, forms, shortcode, AppNitro
    55Requires at least: 3.0
    6 Tested up to: 4.4
    7 Stable tag: 1.2
     6Tested up to: 4.5.2
     7Stable tag: 1.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8888== Changelog ==
    8989
     90= 1.3 =
     91* Fixed an conflict that would occur when using the Yoast SEO plugin along with Divi Builder.  Yoast would attempt to execute the shortcodes in order to get text for the SEO description, but the load of the Machform javascript would fail because the shortcodes were not visible on the page (hidden in the page builder blocks).
     92
    9093= 1.2 =
    9194* Added a note to make it clear that this plugin doesn't provide a form builder interface, it only allows the 3rd Party app MachForms to be used on a site easily.
Note: See TracChangeset for help on using the changeset viewer.