]+>)~i', array( $this, 'tag_script' ), $buffer ); if ( !empty( $this->preload_url ) ) { $preload_html = ''; $buffer = preg_replace( '~
]*)*>~Ui', '\\0' . $preload_html, $buffer, 1 ); add_filter( 'w3tc_lazyload_on_initialized_javascript', array( $this, 'w3tc_lazyload_on_initialized_javascript' ) ); } $data['buffer'] = $buffer; $data['modified'] |= !empty( $this->preload_url ); return $data; } public function tag_script( $m ) { $script_tag = $m[0]; if ( !preg_match( '~