PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 All 140 releases
← All changes | inc/TemplateHooks/Admin/AI/AdminEditWithAITemplate.php +3 -3 4.4.2 → 4.4.9 View file →
@@ -746,10 +746,10 @@
746 746
747 747 public function html_image_step_1(): string {
748 748 $model_type = LP_Settings::instance()->get( 'open_ai_image_model_type' );
749 749 $options = $this->config;
750 - $size_opts = $options[ "image-size-$model_type" ] ?? [];
751 - $quality_opts = $options[ "image-quality-$model_type" ] ?? $options['image-quality'] ?? [];
750 + $size_opts = $options[ "image-size-$model_type" ] ?? [ 'auto' ];
751 + $quality_opts = $options[ "image-quality-$model_type" ] ?? $options['image-quality'] ?? [ 'auto' ];
752 752
753 753 $components = [
754 754 'step' => '<div class="step-content active" data-step="1">',
755 755 'title' => sprintf(
@@ -842,9 +842,9 @@
842 842 <input name="outputs" value="2" type="number" />
843 843 <p class="field-description">%s</p>
844 844 </div>',
845 845 esc_html__( 'Outputs', 'learnpress' ),
846 - esc_html__( 'Number of images you want the system to generate (model dall-e-3 only 1 supported).', 'learnpress' )
846 + esc_html__( 'Number of images you want the system to generate.', 'learnpress' )
847 847 ),
848 848 'form-grid-end' => '</div>',
849 849 'step_close' => '</div>',
850 850 ];