So have you error_log()-ed your way down that callstack to make sure you're reaching the filter auto_update_plugin? If so, inspect the filters global to check that your callback is registered.
I am trying to create a Menu that shows a maximum of 5 items. If there are more items it should wrap them into another <ul> Element to create a dropdown.
5 Items or less:
6 Items or more
I know this kind of functionality could easily be created with a walker that counts the menu items and ...
Well but that was some time ago, right? I mean sure there might be situations. Just saying that it might be an issue easily solvable by CSS, especially if it is a responsive optimization only needed sometimes. Still interested in the walker of course.
@kraftner sidenote: @toscho linked "you may not need jQuery" some time ago. that's a great resource regarding browsers and javascript. and it helps removing jQuery as dependency
And I always try to go as far as possible without JS. Progressive enhancement all the way. Also because I am a NoScript user and freak out every time I get blank white pages because people use JS for no good reason on e.g. simple blogs.
but yeah, you could add a noscript part that just displays the JSONified API endpoint to reach the content. And a note above: "if you really turned off JS, then you know how to fetch that"
Concerning IE8 I wouldn't create a completely unusable menu for IE8, but what I would do is just let them fall back to e.g. displaying the other menu items in a second row below.
Sure. But .gitignore files always depend on the group of contributors anyway.
Maybe just split an existing ignore files on line break and search for .env. If it doesn't exist, append to the .gitignore and append the newly created files as well.
back in 1/2 hour. turn around. cry silently. call it a day.
@gmazzap ERROR
Warning: require(foo\bar\baz\wp/wp-blog-header.php): failed to open stream: No such file or directory in /var/www/index.php on line 17
same for my colleague
@gmazzap fixed: ~/wp-config.php > require autoloader was calling an absolute path. Works perfect with __DIR__.'/wp-cont... same for index.php and requireing the blog header file