Skip to content

Commit

Permalink
constant is already FQ
Browse files Browse the repository at this point in the history
Co-authored-by: Viktor Szépe <[email protected]>
  • Loading branch information
kraftbj and szepeviktor authored Jan 31, 2025
1 parent 9c467e3 commit b4ed9e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Load.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public static function load() {
define( 'WP_REPAIRING', true ); // Will not try to install WordPress
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
if ( ! defined( 'UPLOADS' ) ) {
( defined ( '\dbless_UPLOADS' ) ) ?
define( 'UPLOADS', WP_CONTENT_DIR . '/' . constant('\dbless_UPLOADS') )
( defined ( 'dbless_UPLOADS' ) ) ?
define( 'UPLOADS', WP_CONTENT_DIR . '/' . constant('dbless_UPLOADS') )
:
define( 'UPLOADS', WP_CONTENT_DIR . '/uploads' );
}
Expand Down

0 comments on commit b4ed9e5

Please sign in to comment.