PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/controllers/FrmOnboardingWizardController.php +7 -2 6.30 → trunk View file →
@@ -130,10 +130,15 @@
130 130 if ( self::has_onboarding_been_skipped() ) {
131 131 add_filter( 'option_frm_inbox', self::class . '::add_wizard_to_floating_links' );
132 132 }
133 133
134 - // Load page if admin page is Onboarding Wizard.
135 - self::maybe_load_page();
134 + /**
135 + * Load page if admin page is Onboarding Wizard.
136 + * This waits for init because it reads the inbox option, and the filter above translates
137 + * when it does. Translating before the text domain is loaded triggers a
138 + * _load_textdomain_just_in_time notice in WordPress 6.7+.
139 + */
140 + add_action( 'init', self::class . '::maybe_load_page' );
136 141 }
137 142
138 143 /**
139 144 * Performs a safe redirect to the welcome screen when the plugin is activated.