Skip to content

Commit

Permalink
修复Lazyload导致文章空白问题
Browse files Browse the repository at this point in the history
  • Loading branch information
syfxlin authored Mar 5, 2019
1 parent 37852fc commit ff0e4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ function origami_lazyload_img()
}
if (strcmp($config[0], 'true') == 0) {
if (strcmp($config[1], 'post') == 0) {
add_filter('the_content', 'lazyload_img_process');
add_filter('the_content', 'origami_lazyload_img_process');
} else {
add_action('template_redirect', 'lazyload_img_obstart');
function lazyload_img_all($content)
Expand Down

0 comments on commit ff0e4b6

Please sign in to comment.