On my new worpress install, I have code that reads
<img src="<?php get_stylesheet_directory_uri(); ?>/images/logo.jpg" />
This code worked, untill I started using a subdomain (went from example.com/dev to dev.example.com) and changed these urls in my general settings.
get_stylesheet_directory_uri() does not output anything:
<img src="/images/logo.jpg" />
I swapped it with the following:
bloginfo(stylesheet_directory) which seems to work fine, but I am used to
get_stylesheet_directory_uri() and it seems like this is the reccomended approach.