Skip to content

Commit

Permalink
Merge pull request #712 from 10up/fix/703
Browse files Browse the repository at this point in the history
Ensure the stand-alone Generate Image page loads under the media grid mode
  • Loading branch information
dkotter authored Feb 15, 2024
2 parents 9016ddf + a66033a commit ceff576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Classifai/Features/ImageGeneration.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function register_generate_media_page() {
$number_of_images > 1 ? esc_html__( 'Generate Images', 'classifai' ) : esc_html__( 'Generate Image', 'classifai' ),
$number_of_images > 1 ? esc_html__( 'Generate Images', 'classifai' ) : esc_html__( 'Generate Image', 'classifai' ),
'upload_files',
esc_url( admin_url( 'upload.php?action=classifai-generate-image' ) ),
esc_url( admin_url( 'upload.php?action=classifai-generate-image&mode=grid' ) ),
''
);
}
Expand Down

0 comments on commit ceff576

Please sign in to comment.