Completed
Push — add/pwa ( bbbc99...d2805e )
by
unknown
07:38
created
modules/perf/class.jetpack-perf-optimize-assets.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -487,6 +487,9 @@  discard block
 block discarded – undo
487 487
 		return apply_filters( 'jetpack_perf_async_style', $this->inject_critical_css, $style );
488 488
 	}
489 489
 
490
+	/**
491
+	 * @param string $css
492
+	 */
490 493
 	public function fix_css_urls( $css, $css_url ) {
491 494
 		$base = trailingslashit( dirname( $css_url ) );
492 495
 		$base = str_replace( site_url(), '', $base );
@@ -576,6 +579,9 @@  discard block
 block discarded – undo
576 579
 		return $path;
577 580
 	}
578 581
 
582
+	/**
583
+	 * @param string $filter
584
+	 */
579 585
 	private function should_remove_asset( $filter, $dependency ) {
580 586
 		return apply_filters( $filter, false, $dependency->handle, $dependency->src );
581 587
 	}
Please login to merge, or discard this patch.