visiting /wp-admin alters functions.php
-
My theme is a simple child theme of twentyten. Its functions.php file is altered when I visit /wp-admin. PHP functions are added from the parent theme.
I’m running wp 3.1.3 locally on windows xampp. I get this error:
Fatal error: Cannot redeclare _verifyactivate_widget() (previously declared in Z:\[ path ]\wp-content\themes\[ child theme ]\functions.php:326) in Z:\[ path ]\wp-content\themes\twentyten\functions.php on line 531
Why are functions from twentyten getting put into the child theme?
It begins:
<?php function _verifyactivate_widget()
Full paste of added code: http://pastebin.com/g54Rw5pN
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘visiting /wp-admin alters functions.php’ is closed to new replies.