Tag Info

Hot answers tagged

7

From class Walker_Nav_Menu: function start_lvl( &$output, $depth = 0, $args = array() ) Your child class must use the same signature: three arguments, the first one passed by reference. Every difference will raise the error you got. Note that $args defaults to an empty array, but you get an instance of stdClass, not an array. This is WordPress.


3

Themes, anyone? I don't test »against« or »with« themes. Just with some other plugins that might conflict (but I normally leave that open until something happens - you'll never figure out all edge cases). At least, you're intercepting/extending/altering stuff via filters. So why test against themes, when you're modifying core functions? If you're ...


3

You can load the scripts like this: function wpa_90150_scripts() { wp_enqueue_script( 'contenthover', get_template_directory_uri() . '/js/jquery.contenthover.js', array('jquery'), '', true ); wp_enqueue_script( 'custom', get_template_directory_uri() . '/js/custom.js', ...


2

Bad news first: We can't fix your JS problem (at least as long as the errors come from the jQuery UI version shipped with core and not from your custom definitions). This is a WordPress core problem. When you look at the SVN trunk, especially the main (and only) PHP file in that folder, you will see that the plugin doesn't even ship with any script... at ...


2

Yes, it is. From the requirements page: PHP version 5.2.4 or greater MySQL version 5.0 or greater You don't need an update, try the various debug tools to see what goes wrong.


2

Where... The following files hold the deprecated functions: ~/wp-includes/deprectated.php ~/wp-includes/pluggable-deprectated.php ... Take a look at them and then through their replacement functions, where the calls to _deprecated_function() happen. Why... Normally a crash shouldn't happen. In the "real" PHP world, you'd get an E_DEPRECATED Warning. ...


1

The more stat combinations had been asked for, but went nowhere. You can try to poke wordpress.org-related people again about that. I think anything not coming from someone who has access to that data will be just anecdotal evidence.



Only top voted, non community-wiki answers of a minimum length are eligible