Changeset 3476136
- Timestamp:
- 03/06/2026 07:29:02 AM (5 days ago)
- Location:
- convertkit
- Files:
-
- 12 edited
- 1 copied
-
tags/3.2.1 (copied) (copied from convertkit/trunk)
-
tags/3.2.1/CHANGELOG.md (modified) (1 diff)
-
tags/3.2.1/includes/class-convertkit-output.php (modified) (1 diff)
-
tags/3.2.1/includes/integrations/divi/class-convertkit-divi-module.php (modified) (1 diff)
-
tags/3.2.1/languages/convertkit.pot (modified) (4 diffs)
-
tags/3.2.1/readme.txt (modified) (2 diffs)
-
tags/3.2.1/wp-convertkit.php (modified) (2 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/includes/class-convertkit-output.php (modified) (1 diff)
-
trunk/includes/integrations/divi/class-convertkit-divi-module.php (modified) (1 diff)
-
trunk/languages/convertkit.pot (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-convertkit.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
convertkit/tags/3.2.1/CHANGELOG.md
r3469832 r3476136 1 ### 3.2.1 2026-03-05 2 * Fix: Divi 5: Fatal error when activating Theme 3 * Fix: Removed errant `<html>` and `<head>` tags when Settings > Kit > Form Position = After element 4 1 5 ### 3.2.0 2026-02-26 2 6 * Added: Minify CSS into single frontend.css resource -
convertkit/tags/3.2.1/includes/class-convertkit-output.php
r3469832 r3476136 505 505 } 506 506 507 // Create new element for the Form. 508 $form_node = new DOMDocument(); 509 $form_node->loadHTML( $form, LIBXML_HTML_NODEFDTD ); 510 511 // Append the form to the specific element. 512 $element_node->parentNode->insertBefore( $parser->html->importNode( $form_node->documentElement, true ), $element_node->nextSibling ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 513 514 // Fetch HTML string. 507 // Load the form into the parser. 508 $form_parser = new ConvertKit_HTML_Parser( $form, LIBXML_HTML_NODEFDTD ); 509 $form_body = $form_parser->html->getElementsByTagName( 'body' )->item( 0 ); 510 511 // Collect nodes first to avoid live NodeList mutation issues. 512 $nodes_to_insert = array(); 513 foreach ( $form_body->childNodes as $child ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 514 $nodes_to_insert[] = $parser->html->importNode( $child, true ); 515 } 516 517 // Inject the form node(s) after the element node e.g. after the paragraph, heading etc. 518 $next_sibling = $element_node->nextSibling; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 519 foreach ( $nodes_to_insert as $node ) { 520 $element_node->parentNode->insertBefore( $node, $element_node->nextSibling ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 521 } 522 523 // Return modified HTML string. 515 524 return $parser->get_body_html(); 516 525 -
convertkit/tags/3.2.1/includes/integrations/divi/class-convertkit-divi-module.php
r3403088 r3476136 96 96 // Bail if no block. 97 97 if ( is_wp_error( $this->block ) ) { 98 return array(); 99 } 100 101 // Bail if the block is false. 102 // This happens on Divi 5 theme activation. 103 if ( ! $this->block ) { 98 104 return array(); 99 105 } -
convertkit/tags/3.2.1/languages/convertkit.pot
r3469832 r3476136 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Kit (formerly ConvertKit) 3.2. 0\n"5 "Project-Id-Version: Kit (formerly ConvertKit) 3.2.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/convertkit\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-0 2-26T02:10:00+00:00\n"12 "POT-Creation-Date: 2026-03-06T02:52:32+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 1826 1826 msgstr "" 1827 1827 1828 #: includes/integrations/divi/class-convertkit-divi-module.php:1 651828 #: includes/integrations/divi/class-convertkit-divi-module.php:171 1829 1829 msgid "(None)" 1830 1830 msgstr "" 1831 1831 1832 #: includes/integrations/divi/class-convertkit-divi-module.php:1 781832 #: includes/integrations/divi/class-convertkit-divi-module.php:184 1833 1833 #: views/backend/term/fields-add.php:54 1834 1834 #: views/backend/term/fields-edit.php:58 … … 1837 1837 msgstr "" 1838 1838 1839 #: includes/integrations/divi/class-convertkit-divi-module.php:1 791839 #: includes/integrations/divi/class-convertkit-divi-module.php:185 1840 1840 #: views/backend/tinymce/modal-field.php:102 1841 1841 msgid "Yes" -
convertkit/tags/3.2.1/readme.txt
r3469832 r3476136 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.1 8 Stable tag: 3.2. 08 Stable tag: 3.2.1 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 343 343 344 344 == Changelog == 345 346 ### 3.2.1 2026-03-05 347 * Fix: Divi 5: Fatal error when activating Theme 348 * Fix: Removed errant `<html>` and `<head>` tags when Settings > Kit > Form Position = After element 345 349 346 350 ### 3.2.0 2026-02-26 -
convertkit/tags/3.2.1/wp-convertkit.php
r3469832 r3476136 10 10 * Plugin URI: https://kit.com/ 11 11 * Description: Display Kit (formerly ConvertKit) email subscription forms, landing pages, products, broadcasts and more. 12 * Version: 3.2. 012 * Version: 3.2.1 13 13 * Author: Kit 14 14 * Author URI: https://kit.com/ … … 28 28 define( 'CONVERTKIT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 29 29 define( 'CONVERTKIT_PLUGIN_PATH', __DIR__ ); 30 define( 'CONVERTKIT_PLUGIN_VERSION', '3.2. 0' );30 define( 'CONVERTKIT_PLUGIN_VERSION', '3.2.1' ); 31 31 define( 'CONVERTKIT_OAUTH_CLIENT_ID', 'HXZlOCj-K5r0ufuWCtyoyo3f688VmMAYSsKg1eGvw0Y' ); 32 32 define( 'CONVERTKIT_OAUTH_CLIENT_REDIRECT_URI', 'https://app.kit.com/wordpress/redirect' ); -
convertkit/trunk/CHANGELOG.md
r3469832 r3476136 1 ### 3.2.1 2026-03-05 2 * Fix: Divi 5: Fatal error when activating Theme 3 * Fix: Removed errant `<html>` and `<head>` tags when Settings > Kit > Form Position = After element 4 1 5 ### 3.2.0 2026-02-26 2 6 * Added: Minify CSS into single frontend.css resource -
convertkit/trunk/includes/class-convertkit-output.php
r3469832 r3476136 505 505 } 506 506 507 // Create new element for the Form. 508 $form_node = new DOMDocument(); 509 $form_node->loadHTML( $form, LIBXML_HTML_NODEFDTD ); 510 511 // Append the form to the specific element. 512 $element_node->parentNode->insertBefore( $parser->html->importNode( $form_node->documentElement, true ), $element_node->nextSibling ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 513 514 // Fetch HTML string. 507 // Load the form into the parser. 508 $form_parser = new ConvertKit_HTML_Parser( $form, LIBXML_HTML_NODEFDTD ); 509 $form_body = $form_parser->html->getElementsByTagName( 'body' )->item( 0 ); 510 511 // Collect nodes first to avoid live NodeList mutation issues. 512 $nodes_to_insert = array(); 513 foreach ( $form_body->childNodes as $child ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 514 $nodes_to_insert[] = $parser->html->importNode( $child, true ); 515 } 516 517 // Inject the form node(s) after the element node e.g. after the paragraph, heading etc. 518 $next_sibling = $element_node->nextSibling; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 519 foreach ( $nodes_to_insert as $node ) { 520 $element_node->parentNode->insertBefore( $node, $element_node->nextSibling ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 521 } 522 523 // Return modified HTML string. 515 524 return $parser->get_body_html(); 516 525 -
convertkit/trunk/includes/integrations/divi/class-convertkit-divi-module.php
r3403088 r3476136 96 96 // Bail if no block. 97 97 if ( is_wp_error( $this->block ) ) { 98 return array(); 99 } 100 101 // Bail if the block is false. 102 // This happens on Divi 5 theme activation. 103 if ( ! $this->block ) { 98 104 return array(); 99 105 } -
convertkit/trunk/languages/convertkit.pot
r3469832 r3476136 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Kit (formerly ConvertKit) 3.2. 0\n"5 "Project-Id-Version: Kit (formerly ConvertKit) 3.2.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/convertkit\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-0 2-26T02:10:00+00:00\n"12 "POT-Creation-Date: 2026-03-06T02:52:32+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 1826 1826 msgstr "" 1827 1827 1828 #: includes/integrations/divi/class-convertkit-divi-module.php:1 651828 #: includes/integrations/divi/class-convertkit-divi-module.php:171 1829 1829 msgid "(None)" 1830 1830 msgstr "" 1831 1831 1832 #: includes/integrations/divi/class-convertkit-divi-module.php:1 781832 #: includes/integrations/divi/class-convertkit-divi-module.php:184 1833 1833 #: views/backend/term/fields-add.php:54 1834 1834 #: views/backend/term/fields-edit.php:58 … … 1837 1837 msgstr "" 1838 1838 1839 #: includes/integrations/divi/class-convertkit-divi-module.php:1 791839 #: includes/integrations/divi/class-convertkit-divi-module.php:185 1840 1840 #: views/backend/tinymce/modal-field.php:102 1841 1841 msgid "Yes" -
convertkit/trunk/readme.txt
r3469832 r3476136 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.1 8 Stable tag: 3.2. 08 Stable tag: 3.2.1 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 343 343 344 344 == Changelog == 345 346 ### 3.2.1 2026-03-05 347 * Fix: Divi 5: Fatal error when activating Theme 348 * Fix: Removed errant `<html>` and `<head>` tags when Settings > Kit > Form Position = After element 345 349 346 350 ### 3.2.0 2026-02-26 -
convertkit/trunk/wp-convertkit.php
r3469832 r3476136 10 10 * Plugin URI: https://kit.com/ 11 11 * Description: Display Kit (formerly ConvertKit) email subscription forms, landing pages, products, broadcasts and more. 12 * Version: 3.2. 012 * Version: 3.2.1 13 13 * Author: Kit 14 14 * Author URI: https://kit.com/ … … 28 28 define( 'CONVERTKIT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 29 29 define( 'CONVERTKIT_PLUGIN_PATH', __DIR__ ); 30 define( 'CONVERTKIT_PLUGIN_VERSION', '3.2. 0' );30 define( 'CONVERTKIT_PLUGIN_VERSION', '3.2.1' ); 31 31 define( 'CONVERTKIT_OAUTH_CLIENT_ID', 'HXZlOCj-K5r0ufuWCtyoyo3f688VmMAYSsKg1eGvw0Y' ); 32 32 define( 'CONVERTKIT_OAUTH_CLIENT_REDIRECT_URI', 'https://app.kit.com/wordpress/redirect' );
Note: See TracChangeset
for help on using the changeset viewer.