Missing functions at the end of functions.php
-
I upgraded from v2.0.3 to v2.0.4 this past week. I was no longer able to change themes. I was getting PHP warnings and fatal errors that were related to $_SERVER[‘HTTP_REFERER’] and a missing ‘wp_get_referer()’ function.
I found out that some functions have been moved from ‘functions.php’ to ‘functions-post.php’; however there are 4 missing functions that no longer show up towards the end of ‘functions.php’ and 1 incomplete function.
The missing ones are:
wp_referer_field
wp_get_original_referer_field
wp_get_referer
wp_get_original_refererThe incomplete one is:
wp_nonce_field
(this is the last function in ‘functions.php’)My setup is with Dreamhost. My WordPress v2.0.3 was working fine. I was able to get a copy of the above 5 functions from an earlier version of WordPress (don’t know which one). I appended them to my ‘functions.php’. Now my v2.0.4 works correctly but I haven’t thoroughly tested the entire blog yet.
Did anyone encounter similar problems? Can a WordPress guru check if the functions are in fact missing or if it’s only my setup that’s wrong?
Would you mind posting the above 5 functions so I could have a current version of these?
- The topic ‘Missing functions at the end of functions.php’ is closed to new replies.