Renamed wp-content?
Renaming your
wp-content will cause problems with viewing/downloading invoices. This is because the script that generates the invoices exists outside of WordPress but requires some WordPress functions to work. In order to load these I need the location of the
WP install and have to assume
wp-content has not been changed.
I will look into a solution that automates it but for now the following will work:
In
appthemes-invoices/invoice.php : line 4 substitute
wp-content with whatever you have renamed your
wp-content directory.
For example, if you have renamed you
wp-content folder as data then:
$parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
would become:
$parse_uri = explode( 'data', $_SERVER['SCRIPT_FILENAME'] );