Skip to content

Commit

Permalink
HTMLの縮小化をAMPページにも適用(適用し忘れていた不具合修正)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Jul 4, 2019
1 parent 53d5154 commit d05c1cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/page-speed-up/minify-html.php
Expand Up @@ -102,6 +102,7 @@ function is_minify_page(){

//最終HTML取得開始
add_action('get_header', 'code_minify_buffer_start', 99999999);
add_action('get_template_part_tmp/amp-header', 'code_minify_buffer_start', 99999999);//AMP
if ( !function_exists( 'code_minify_buffer_start' ) ):
function code_minify_buffer_start() {
// if (!is_minify_page()) return;
Expand Down

0 comments on commit d05c1cf

Please sign in to comment.