auto-patch 748-dev-dev01-2024-06-08T22_32_58
This commit is contained in:
@@ -257,6 +257,7 @@ if ( ! class_exists( 'BSF_AIOSRS_Pro_Markup' ) ) {
|
||||
}
|
||||
|
||||
$post_id = get_the_ID();
|
||||
$rating = '';
|
||||
if ( ! empty( $rating_enabled ) ) {
|
||||
ob_start();
|
||||
|
||||
@@ -305,10 +306,14 @@ if ( ! class_exists( 'BSF_AIOSRS_Pro_Markup' ) ) {
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
$content .= ob_get_clean();
|
||||
$rating .= ob_get_clean();
|
||||
}
|
||||
|
||||
return $content;
|
||||
if(is_string( $content ) ) {
|
||||
return $content . $rating;
|
||||
} else {
|
||||
return $rating;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user