Skip to content

Commit d539233

Browse files
committed
minor change
1 parent 77bf14d commit d539233

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/css-optimize.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,14 @@ public static function parse_block_style( $block, &$style_arr ) {
209209
* @return void
210210
*/
211211
public function load_cached_css_for_post() {
212-
// DEV NOTE #1: If we'll also do this for wp_template and
212+
// DEV NOTE: If we'll also do this for wp_template and
213213
// wp_template_part then we might need to use the actions:
214214
// render_block_core_template_part_post and
215215
// render_block_core_template_part_file
216216
$optimize_css = is_singular() && ! is_preview() && ! is_attachment();
217217
$optimize_css = apply_filters( 'stackable/load_cached_css_for_post', $optimize_css );
218218
if ( $optimize_css ) {
219219
$post_id = apply_filters( 'stackable/get_post_id_for_cached_css', get_the_ID() );
220-
221220
$this->optimized_css = get_post_meta( $post_id, 'stackable_optimized_css', true );
222221

223222
if ( ! empty( $this->optimized_css ) ) {

0 commit comments

Comments
 (0)