Skip to content

Commit 0431830

Browse files
committed
Update docs
1 parent 0b5c647 commit 0431830

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/classes_LazyLoad.php.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ <h1 class="page-title">Source: classes/LazyLoad.php</h1>
9696
* @since 2.0
9797
*/
9898
if ( apply_filters( 'powered_cache_disable_native_lazyload', self::$settings['disable_wp_lazy_load'] ) ) {
99-
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
99+
add_filter( 'wp_lazy_loading_enabled', '__return_false', 9999 );
100100
}
101101

102102
}

docs/utils.php.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ <h1 class="page-title">Source: utils.php</h1>
963963
*/
964964
function get_url_dir( $url ) {
965965
$url_info = wp_parse_url( $url );
966-
$sub_dir = $url_info['host'];
966+
$sub_dir = isset( $url_info['host'] ) ? $url_info['host'] : '';
967967

968968
if ( ! empty( $url_info['path'] ) ) {
969969
$sub_dir .= $url_info['path'];

0 commit comments

Comments
 (0)