33,536 reputation
673137
bio website unserkaiser.com
location Vienna, Austria
age 35
visits member for 5 years
seen 14 hours ago

Hi fellow reader,

if you want to get in touch with me, then go with [wecodemore](at)[gmail]. Note, that isn't an additional support route and I won't answer such requests.

My digital home

✓ From time to time, I write on my own blog unserkaiser.com. Go there, if page you want to get in contact with me.

GitHub

✓ You can take a look at some of my open source development on my Github page, where you can find some plugins and other kool stuff.

Google+

✓ If you liked that, then it's time to meet me on Google+.

Best wishes,

Kaiser.


Aug
21
comment Adding a wrapper to the youtube embed automatically?
Just have the problem that I can't get any output there as well … as live goes :P
Aug
21
comment Adding a wrapper to the youtube embed automatically?
Your answer works as well … Personally I'd prefer to target providers by name then my a guess on the url. Still +1 for the alternative. If you are unsure if it works: just put an exit on the other answers filter callback and you will see it working.
Aug
21
comment Adding a wrapper to the youtube embed automatically?
Confirm that this works.
Aug
20
reviewed Close When Administrator add new page change default status to pending
Aug
20
comment Enqueueing a script and a style sheet not working
Something echoed. Probably the error message. Reason: Unknown. Take a look at your logs, activate debugging, etc.
Aug
20
revised Adding a wrapper to the youtube embed automatically?
added 5 characters in body
Aug
20
comment Display Password Protected external RSS in wordpress template
The problem with plain curl is, that it misses the Certs shipped with WP core. Therefore it might use older Certs (from the OS install on the server) than the rest of the App. This can lead to "funny" results.
Aug
20
comment Display Password Protected external RSS in wordpress template
Well, I would assume that wp_kses_bad_protocol() is what makes this fail. Aside from that, I personally use the WP HTTP API, then load everything in \DOMDocument as 1.0 and UTF-8 and load it with loadXML. From there on, it's easy to read the feed using \DOMXPath::query() or just getElementsByTagName() or the namespaced variants. On top, it allows to use XSD documents to validate the feed and prevent tags that aren't supposed to be in there. That means that it's hard to break on the remote side without knowing it on our side.
Aug
20
comment Enqueueing a script and a style sheet not working
The Headers already sent just points at an error. Do not try to remove the warning, but the reason for it.
Aug
19
comment Display Password Protected external RSS in wordpress template
Good answer +1!
Aug
19
comment How can I put a custom meta box above the editor but below the title section on the edit post page?
Tried it on WP 4.2.4 without success.
Aug
17
reviewed Approve Javascript not working in admin
Aug
15
comment Execute one AJAX request after another AJAX request finished
@birgire Please edit the answer. I looked it up and only the first part is now deprecated. Thanks in advance and thanks for the kind words :)
Aug
14
reviewed Approve How to create a custom search for custom post type?
Aug
14
reviewed Approve Removing Image Sizes for Custom Post Type
Aug
11
reviewed Reject How to: inspect global variables in WordPress
Aug
6
revised Hook for post and page load
deleted 1 character in body
Aug
2
reviewed Edit Wordpress doesn't show all posts in database
Aug
2
revised Wordpress doesn't show all posts in database
edited for clarity, extended to show that there are other ways to interact with your SQL server
Aug
2
revised Custom Rewrite with Query vars
added 27 characters in body