Skip to content

Commit

Permalink
Merge branch 'add/custom-upload-dir' of github.com:Automattic/wordble…
Browse files Browse the repository at this point in the history
…ss into add/custom-upload-dir
  • Loading branch information
kraftbj committed Jan 31, 2025
2 parents ea8e761 + b4ed9e5 commit 3416e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Load.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ 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' ) ) ?
(defined ( 'dbless_UPLOADS' ) ) ?
define( 'UPLOADS', WP_CONTENT_DIR . '/' . constant( '\dbless_UPLOADS' ) )
:
define( 'UPLOADS', WP_CONTENT_DIR . '/uploads' );
Expand Down

0 comments on commit 3416e3c

Please sign in to comment.