Skip to content

Commit bbd0a86

Browse files
authored
Custom CSS styles were not loaded correctly
1 parent d730822 commit bbd0a86

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

includes/frontend/class-styles-handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static function register_styles() {
7474
$enqueue_style = true;
7575
} elseif ( ( is_tax() || is_author() || is_date() ) && ! empty( $add_to['other_archives'] ) ) {
7676
$enqueue_style = true;
77-
} elseif ( is_active_widget( false, false, 'CRP_Widget', true ) ) {
77+
} elseif ( is_active_widget( false, false, 'widget_crp', true ) ) {
7878
$enqueue_style = true;
7979
}
8080

readme.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,9 @@ If you enable thumbnails, the plugin will try to find the correct thumbnail in t
167167
= 4.0.3 =
168168

169169
* Bug fixes:
170-
* Fixed an issue where shortcode attributes were not properly sanitized.
171-
* Fixed an issue where cache keys were not being generated correctly resulting in duplicate cache keys.
170+
* Shortcode attributes were not properly sanitized.
171+
* Cache keys were not being generated correctly resulting in duplicate cache keys.
172+
* Custom CSS styles were not loaded correctly when using the Related Posts Widget only.
172173

173174
= 4.0.2 =
174175

0 commit comments

Comments
 (0)