Support » Fixing WordPress » wordpress generates (/) for PATH in windows

  • when trying to get the PATH to a template or plugin wordpress generates the PATH with different slashes for windows ex: `$theme = get_theme(‘theme’);
    echo $theme[‘Theme Root’]; //returns C:\var\www\site\wordpress/wp_content/themes/`

    Is there away around this or do I have to use another OS or do I have to use some built in PHP function to manually replace each (\)?

  • The topic ‘wordpress generates (/) for PATH in windows’ is closed to new replies.