Created
August 16, 2017 07:16
-
-
Save Shininglow/bdd18c0fbfa2cf5b00c7aab05895f40b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(get_option('upload_path')=='wp-content/uploads' || get_option('upload_path')==null) { | |
update_option('upload_path',WP_CONTENT_DIR.'/uploads');} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment