PluginProbe
YayMail – WooCommerce Email Customizer / 4.4.5
YayMail – WooCommerce Email Customizer v4.4.5
4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 All 57 releases
← All changes | src/GlobalHeaderFooter.php +2 -2 4.4.3 → 4.4.5 View file →
@@ -67,9 +67,9 @@
67 67 /**
68 68 * Resolve the platform that owns a given global-header-footer template name.
69 69 *
70 70 * Template naming is the only signal available at this call depth ('wp-core*'
71 - * belongs to the email-builder product, everything else to yaymail), so this
71 + * belongs to the yaymagic-email-builder product, everything else to yaymail), so this
72 72 * is the single place that maps it to a registered platform instead of each
73 73 * caller re-deriving option keys inline.
74 74 *
75 75 * @param string $template_name
@@ -76,9 +76,9 @@
76 76 *
77 77 * @return \YayMail\Platform\PlatformInterface
78 78 */
79 79 private static function resolve_platform( $template_name ) {
80 - $platform_key = str_starts_with( $template_name, 'wp-core' ) ? 'email-builder' : 'yaymail';
80 + $platform_key = str_starts_with( $template_name, 'wp-core' ) ? 'yaymagic-email-builder' : 'yaymail';
81 81
82 82 return PlatformRegistry::get( $platform_key ) ?? PlatformRegistry::get( 'yaymail' ) ?? new YaymailPlatform();
83 83 }
84 84