Support » Fixing WordPress » Theme's functions.php content being inserted at beginning of Admin Dashboard

  • Resolved SRD75

    (@srd75)


    Hi,

    I’ve downloaded a PhpmyAdmin sql dump from my production site, found and replaced all instances of the domain name with my local development domain, imported the modified SQL into my local development site’s database, and I was able to login to my local development’s admin dashboard.

    However, at the top of the dashboard’s source HTML, is the content of my active theme’s functions.php (the entire code of functions.phg inserted before the admin dashboard’s:

    <!--[if IE 8]>
    <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 wp-toolbar"  lang="en-US">
    <![endif]-->
    <!--[if !(IE 8) ]><!-->
    <html xmlns="http://www.w3.org/1999/xhtml" class="wp-toolbar"  lang="en-US">

    I’ve never seen this before.

    Suggestions appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Theme's functions.php content being inserted at beginning of Admin Dashboard’ is closed to new replies.