I am using a child theme of TwentyTwelve (the customer is always right).
I recently started getting the following warning bot at the top of the Dashboard and on the Jetpack panel of the Dashboard:
"Warning: Use of undefined constant register_setting - assumed 'register_setting' (this will throw an Error in a future version of PHP) in /home/leytongr/public_html/wp-content/plugins/theme-logo-plugin/themelogo.php on line 81."
This is the code starting at line 80, so you will see why I have raised the query here:
function tl_init(){
if(function_exists(register_setting))
{ register_setting("tl-options", "tl_logo_src"); }
}
I would be grateful if you can suggest a means of recoding this section so that the warning message disappears (the website continues to work fine but I'm slightly concerned that a PHP update may change this).
Thanks in anticipation