157 reputation
10
bio website craigmdennis.com
location Whistler, Canada
age 28
visits member for 3 years, 4 months
seen Apr 1 at 5:36

Designer. Photographer. Gentleman. Brit. Currently Creative Director at Simple Bit


Aug
24
awarded  Tumbleweed
Aug
17
asked What's causing 'headers already sent' in minified javascript file with WP Total Cache 3
Feb
19
awarded  Popular Question
Jan
16
awarded  Popular Question
Dec
23
awarded  Supporter
Dec
3
accepted Some plugins adding full server path after url (with custom wp-content folder)
Dec
3
answered Some plugins adding full server path after url (with custom wp-content folder)
Dec
3
revised Some plugins adding full server path after url (with custom wp-content folder)
Added more context. Possible focus on __FILE__
Jul
25
comment Some plugins adding full server path after url (with custom wp-content folder)
ABSPATH actually returns this: /nfs/c08/h04/mnt/152547/domains/craigmdennis.com/html/wp/ which is the url of the install not /nfs/c08/h04/mnt/152547/domains/craigmdennis.com/html/content which contains my wp-config.php
Jul
24
awarded  Autobiographer
Jul
24
comment registering new jQuery after wp_deregister_script() not working
I don't think they need to be in an array unless you have more than one dependency.
Jul
24
comment Some plugins adding full server path after url (with custom wp-content folder)
@kalengi That's what I thought but my custom content directory is one level above the wordpress directory. I use wordpress as a git submodule; completely untouched.
Jul
23
comment Some plugins adding full server path after url (with custom wp-content folder)
@kalengi Can you elaborate please? The comment regarding ABSPATH states "Absolute path to the WordPress directory" which may not be relevant as I have a custom content directory.
Jul
23
comment Some plugins adding full server path after url (with custom wp-content folder)
I doubt it is anything to do with the Wordpress core files or the plugin as it works fine locally. I think it is a server configuration issue or incorrect file path somewhere.
Jul
23
comment Some plugins adding full server path after url (with custom wp-content folder)
Right, I have isolated the error. If I place the full server path in WP_CONTENT_DIR the errors disappear. So it's the use of $_SERVER['DOCUMENT_ROOT'] that is the issue. Any suggestions on a replacement? Or should I just split it between the local-config.php and wp-config.php?
Jul
23
revised Some plugins adding full server path after url (with custom wp-content folder)
Added details about additional - possibly relevant - files
Jul
23
revised Image resize depending on orientation?
Updated with additional info
Jul
23
awarded  Commentator
Jul
23
comment Some plugins adding full server path after url (with custom wp-content folder)
@brasofilo I have tried explicitly defining WP_PLUGIN_DIR but have only just noticed WP_PLUGIN_URL can also be defined. I will try these again.
Jul
23
comment Some plugins adding full server path after url (with custom wp-content folder)
Can you be more specific? Do you mean the enqueue in my theme's functions.php of the enqueue used within the affected plugins?