Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter layered

    (@layered)

    bcworkz, yes, that was my thought as well. I was testing with a small jpg and it did indeed upload to the CDN domain, so I thought I could interrupt it in the middle of that function. That would mean that function isn’t actually the one saving the file to the server, even though it thoroughly appears to be (to me!) so that leads me to wonder:

    If it’s not wp_upload_bits() that saves files to the server when we upload through the built-in media uploader and have an alternate path/url set (via settings, not wp-config.php), which function actually does do this?

    Thread Starter layered

    (@layered)

    Thanks for the reply. I did try that, as well as following it with wp_die and then even tried a basic exit. None of these methods worked. The script just went on its happy way and rendered the page settings for the file that was just uploaded; it seemingly ignored my intention to kill the script in place and the variables weren’t printed to the screen.

Viewing 2 replies - 1 through 2 (of 2 total)