parse error
-
Hi
WordPress 3.5.2 Twenty Twelve
I seem to have hit a problem. I was trying to paste in some code into my functions.php file and my site has gone down. The paste was as follows:
add_filter(‘the_content’,’nuke_title_attribute’);
function nuke_title_attribute($output) {
$output = preg_replace(‘/title=\”(.*?)\”/’,”,$output);
return $output;
}(I was trying to get rid of pop up descriptions over images)
I copied back the original content of the file but no success – just the same error message which reads
Parse error: syntax error, unexpected ‘}’ in /www/sites/904/128/www.gpowis.com/web/wp-content/themes/twentytwelve/functions.php on line 452
Obviously I’m code useless but any ideas what I can do to get my site back?? Any help appreciated thanks
- The topic ‘parse error’ is closed to new replies.