Angrycreative / bj-lazy-load

WordPress plugin for lazy loading
GNU General Public License v2.0
40 stars 25 forks source link

better regex to match tags with appropriate classes #46

Closed wowpress-host closed 5 years ago

wowpress-host commented 5 years ago

Original regex causes too much false positives, as a result many posts just match out completely and lazy loading doesn't even start. This one cause less false positives.

rickard-berg commented 5 years ago

Hi. Thanks for contributing. I will however close this and manually add the last commit, regarding unnecessary regexp, as @jan-san made an overhaul in #50. That PR included a new regexp.