Skip to content

Commit

Permalink
Fixed filter name
Browse files Browse the repository at this point in the history
  • Loading branch information
yadenis committed Jan 4, 2021
1 parent 3821648 commit 2676c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-dco-ca.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public function disable_gallery_image_size() {
*/
public function get_gallery_image_size( $size ) {
if ( 'dco_ca_admin_thumbnail_size' === current_filter() ) {
return apply_filters( 'dco_ca_pro_admin_gallery_size', 'thumbnail' );
return apply_filters( 'dco_ca_admin_gallery_size', 'thumbnail' );
}

if ( 'dco_ca_get_option_thumbnail_size' === current_filter() && $this->get_option( 'combine_images' ) ) {
Expand Down

0 comments on commit 2676c70

Please sign in to comment.