Dashboard/Admin CSS broken – Godaddy free hosting install
Thursday, April 1st, 2010 Blog by ASRthis code should help repair the broken css issue:
Replace line 619 in function _print_scripts():
echo “\n”;
with:
// **********************************************
// Clean for godaddy free hosting
$st_data = file_get_contents( $src );
$st_data = substr( $st_data, 0, strrpos( $st_data, ” ) );
echo “\n”;
// **********************************************
and replace line 686 in function print_admin_styles():
echo ”
\n”;
with:
// **********************************************
// Clean for godaddy free hosting
$st_data = file_get_contents( $href );
$st_data = substr( $st_data, 0, strrpos( $st_data, ” ) );
echo ”
\n”;
// **********************************************
Note to self:
Don’t install WordPress to GoDaddy free hosting account. It is more of a headache than anything. Although, it is possible to hide the ads, the code that GoDaddy uses still breaks other code. It is just not worth the effort. 12+ hours wasted.
