When the `mysql` extention isn't loaded and a custom db dropin is not in place, we give folks a nice error. However, we can't assume that the `WP_CONTENT_DIR` constant is set yet since this runs before we define default constants. This fixes a PHP 8 error. Props jorbin. Merges [49161] to trunk. See #50913. Built from https://develop.svn.wordpress.org/trunk@49163 git-svn-id: http://core.svn.wordpress.org/trunk@48925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
46 KiB
46 KiB