How to protect your WordPress site from problematic code in the_content

By default, WordPress lets you write basically anything in the content of a page, post, or custom post type. When you write or see the_content like this in a WordPress template: That’s likely allowing any code through. Even content that could be problematic. Problematic code would include raw iframes and JavaScript scripts. For example, let’s… Continue reading How to protect your WordPress site from problematic code in the_content

Top 10 Tech Talks

So far in 2020 I’ve submitted talks to two WordCamps that are happening in the next few months. The talk I submitted is similar to the one I gave at WordCamp NYC in 2019, but with the plan to tighten it up a bit and expand on just one of the topics that I feel… Continue reading Top 10 Tech Talks

Published
Categorized as WordPress

TIL: comma-separated terms

A good friend of mine emailed me today with a WordPress question: we have a url like /category/term1/ that we’re using to filter on stuff If I do get_query_var(‘category’) it will properly return ‘term1’ If we have the url like /category/term1+term2/ get_query_var(‘category’) still only returns ‘term1’… do you have any insight as to why? Thanks… Continue reading TIL: comma-separated terms

The Day After WordCamp US

I was fortunate to be able to attend the very first WordCamp US this past weekend. It was held in Philadelphia, which is a reasonable drive from where I live in North Jersey. It’s also usually hard for me to get away these days since I have a 17-month-old child, but luckily, my wife was fine with… Continue reading The Day After WordCamp US

Published
Categorized as WordPress

Last weekend at WordCamp NYC

This past weekend was WordCamp NYC 2014, and I must say, it was a huge improvement from previous WordCamps in New York. It’s no secret that I’ve been a bit critical of New York WordCamps in the past. For the record, I’ve only been to WordCamps in two cities: New York and Boston. Until now, Boston was… Continue reading Last weekend at WordCamp NYC

Published
Categorized as WordPress