We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c7383a commit 4f12113Copy full SHA for 4f12113
src/MCP/Client.php
@@ -107,7 +107,7 @@ static function () {
107
rename( $filename, $filename . '.' . $extension );
108
$filename .= '.' . $extension;
109
110
- // file_put_contents( $filename, $image_blob->get_binary_data() );
+ file_put_contents( $filename, $image_blob->get_binary_data() );
111
112
$image_url = $filename;
113
$image_id = \WP_CLI\AiCommand\MediaManager::upload_to_media_library($image_url);
0 commit comments