Grepping for Terms on Separate Lines but Near Each Other

I wanted a way to search through the ~200 themes we have on WordPress.com to find out which ones registered sidebar areas for the home page, and this is what I came up with: That’d have to be customized to fit other circumstances (like using -B if you want to search lines before the initial […]

Continue reading...

How to Create Strong Passwords

We just updated the password advice we give to WordPress.com users so that it focuses on modern techniques like password managers and passphrases. It’s aimed at non-technical users, and very little of it is specific to WordPress.com, so it’s a good resource to share with clients or friends who could use a little nudge towards […]

Continue reading...

Reusing P2’s ajaxUrl Short-Circuits Other AJAX Requests

I just spent awhile tracking down some odd AJAX¬†behavior that was puzzling me, so I thought I’d share the solution. I was working on a plugin to extend P2¬†and my AJAX requests were always responding with -1. After a lot of digging and some trial-and-error, I figured out that it was happening because I was […]

Continue reading...