PluginProbe
Elementor Website Builder – more than just a page builder / 3.28.0-dev2
Elementor Website Builder – more than just a page builder v3.28.0-dev2
4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 All 453 releases
← All changes | modules/ai/connect/ai.php +1 -3 4.2.0-dev23.28.0-dev2 View file →
@@ -470,9 +470,8 @@
470 470 'image/image-to-image/unify-product-images',
471 471 [
472 472 'aspectRatio' => $image_data['promptSettings'][ self::ASPECT_RATIO ],
473 473 'backgroundColor' => $image_data['promptSettings'][ self::IMAGE_BACKGROUND_COLOR ],
474 - 'featureIdentifier' => $image_data['featureIdentifier'],
475 474 'context' => wp_json_encode( $context ),
476 475 'ids' => $request_ids,
477 476 'api_version' => ELEMENTOR_VERSION,
478 477 'site_lang' => get_bloginfo( 'language' ),
@@ -872,11 +871,10 @@
872 871 );
873 872 }
874 873
875 874 public function toggle_favorite_history_item( $id, $context = [] ) {
876 - $sanitized_id = str_replace( '%', '%%', $id );
877 875 return $this->ai_request(
878 - 'POST', sprintf( 'history/%s/favorite', $sanitized_id ),
876 + 'POST', sprintf( 'history/%s/favorite', $id ),
879 877 [
880 878 'context' => wp_json_encode( $context ),
881 879 'api_version' => ELEMENTOR_VERSION,
882 880 'site_lang' => get_bloginfo( 'language' ),