# HG changeset patch # User ymh # Date 1575470336 -3600 # Node ID 407d5a626a5068aacf97dbd87f714f94149e0fc6 # Parent 505fe5249d9ca95305ad60ee96fe27fd6da15682 Correct atahualpa theme to work with bedrock diff -r 505fe5249d9c -r 407d5a626a50 src/web/app/themes/atahualpa/functions.php --- a/src/web/app/themes/atahualpa/functions.php Wed Dec 04 11:40:06 2019 +0100 +++ b/src/web/app/themes/atahualpa/functions.php Wed Dec 04 15:38:56 2019 +0100 @@ -132,8 +132,6 @@ } function bfa_footer_output($footer_content) { - global $bfa_ata; - $footer_content .= '
Powered by WordPress & Atahualpa'; return $footer_content; } diff -r 505fe5249d9c -r 407d5a626a50 src/web/app/themes/atahualpa/functions/bfa_rotating_header_images.php --- a/src/web/app/themes/atahualpa/functions/bfa_rotating_header_images.php Wed Dec 04 11:40:06 2019 +0100 +++ b/src/web/app/themes/atahualpa/functions/bfa_rotating_header_images.php Wed Dec 04 15:38:56 2019 +0100 @@ -13,7 +13,7 @@ $imgpath = get_template_directory() . '/images/header/'; $imgdir = get_template_directory_uri() . '/images/header/'; } else { - $imgpath = ABSPATH . 'wp-content/' . $img_folder . '/header/'; + $imgpath = WP_CONTENT_DIR . '/' . $img_folder . '/header/'; $imgdir = content_url() . '/' . $img_folder . '/header/'; }