Changeset 1425899
- Timestamp:
- 05/28/2016 03:18:32 AM (10 years ago)
- Location:
- machform-shortcode/trunk
- Files:
-
- 2 edited
-
machform-shortcode.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
machform-shortcode/trunk/machform-shortcode.php
r1178246 r1425899 56 56 function machform_shortcode( $atts ){ 57 57 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 ''; 58 66 59 67 // If no ID is given, return a blank string -
machform-shortcode/trunk/readme.txt
r1304662 r1425899 4 4 Tags: MachForm, forms, shortcode, AppNitro 5 5 Requires at least: 3.0 6 Tested up to: 4. 47 Stable tag: 1. 26 Tested up to: 4.5.2 7 Stable tag: 1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 88 88 == Changelog == 89 89 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 90 93 = 1.2 = 91 94 * 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.