Latest update break my functions.php
-
I used this code in my theme functions.php
if (is_handheld()) { wp_enqueue_style('handheld', get_template_directory_uri() . '../../mobile.css'); }
but now with the latest update i get “Fatal error: Call to undefined function is_handheld() in /web/htdocs/…/…/…/…/…/functions.php on line 44”
until the update it loaded the request css only on tablet and phone as expected…
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Latest update break my functions.php’ is closed to new replies.