The upload image button does not work when edit...

« See all FAQs for Blue Earth Wordpress theme

The upload image button does not work when editing portfolio pages

This is due to a minor change in Wordpress 3.0. To fix this, edit file functions.php and replace (line 128):

add_action('admin_print_scripts-page.php', 'blue_earth_page_edit_scripts');
add_action('admin_print_styles-page.php', 'blue_earth_page_edit_css');

By:

if (version_compare('3.0', $GLOBALS['wp_version']) > 0)
{
    // Old Wordpress setup
    add_action('admin_print_scripts-page.php', 'blue_earth_page_edit_scripts');
    add_action('admin_print_styles-page.php', 'blue_earth_page_edit_css');
}
else
{
    add_action('admin_print_scripts-post.php', 'blue_earth_page_edit_scripts');
    add_action('admin_print_styles-post.php', 'blue_earth_page_edit_css');
}

An update is on the way!

by
by
by
by
by
by