We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DIRECTORY_SEPARATOR
Use of the DIRECTORY_SEPARATOR constant here:
wp-dependency-minification/dependency-minification.php
Line 508 in c579d69
https://HOME_URL\_minify/RESOURCE_PATH
I recommend updating the line to: $src = trailingslashit( get_option( 'home' ) . '/' . self::$options['endpoint'] ); or $src = trailingslashit( trailingslashit( get_option( 'home' ) ) . self::$options['endpoint'] );
$src = trailingslashit( get_option( 'home' ) . '/' . self::$options['endpoint'] );
$src = trailingslashit( trailingslashit( get_option( 'home' ) ) . self::$options['endpoint'] );
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Use of the
DIRECTORY_SEPARATOR
constant here:wp-dependency-minification/dependency-minification.php
Line 508 in c579d69
https://HOME_URL\_minify/RESOURCE_PATH
. It's also not necessary as per the discussion here: https://stackoverflow.com/questions/26881333/when-to-use-directory-separator-in-php-code/26881417#comment90090608_26881417I recommend updating the line to:
$src = trailingslashit( get_option( 'home' ) . '/' . self::$options['endpoint'] );
or
$src = trailingslashit( trailingslashit( get_option( 'home' ) ) . self::$options['endpoint'] );
The text was updated successfully, but these errors were encountered: