There is a vulnerability in the PHPMailer library that affects any version before the critical release of 5.2.18. This PHPMailer vulnerability has been publicly disclosed at legalhackers.com. The PHPMailer library version 5.2.14, a vulnerable version, is included in WordPress 4.7 (the latest version at the time of this writing). In other words, WordPress 4.7 and […]
Computing
WordPress Responsive Images
On November 20th, 2016 I gave a talk called How Responsive Images Work in WordPress at WordCamp Baltimore, this is the companion post to that talk. The slides for the talk are available at How Responsive Images Work in WordPress How Do Responsive Images with srcset Work in General? In my previous post Responsive Images […]
Responsive Images with srcset
When loading an image, historically I loaded the largest size of the image that would be used. e.g. example.jpg is an 1170px wide image for large screens. On small screens this big image is loaded but scaled down to display properly. The important thing to note here is even if the image is only displaying […]
Improve Git Log
I use Git a lot and by default git log is not very helpful. Git log has a lot of optional parameters, which can make the output much more useful. Examples Default Git Log Improved Git Log Using a combination of command line parameters, the git log output becomes beautiful and infinitely more useful. git […]
iPhone Choose Your Click
This is the most unintuitive screen I’ve ever come across on my iPhone. It turns out, this is a chance to customize the Haptic Feedback on the iPhone “home” button. The Buttonless Home Button Introduced with the iPhone 7/7+ is the new buttonless home button. In other words, the home “button” is no longer a […]
Catchable fatal error: Argument 1 passed to Genesis_Admin_CPT_Archive_Settings
You’ve probably arrived on this page because you updated to WordPress 4.6 and now all of the backend pages (those in /wp-admin) are showing an error similar to the following. Catchable fatal error: Argument 1 passed to Genesis_Admin_CPT_Archive_Settings::__construct() must be an instance of stdClass, instance of WP_Post_Type given, called in /srv/www/genesis/htdocs/wp-content/themes/genesis/lib/admin/menu.php on line 122 and […]
How to Avoid Mucking Up Your DNS
At WordCamp Lehigh Valley 2018, I presented How to Avoid Mucking Up Your DNS. When I started working with websites, modifying DNS settings terrified me. We’ll discuss the things I wished I knew then: A records, CNAMEs, TTLs, name servers, and how to test these things. We’ll look at things I broke and how the […]
Bootstrap vs WordPress
The quick answer to the question of Bootstrap vs WordPress is, in terms of sheer numbers, WordPress is used on more websites than Bootstrap, so WordPress wins, if that’s the kind of answer you want. However, the problem with this comparison is we’re asking the wrong question. Apples vs Oranges I love Bootstrap and I […]
Git Case Sensitive Rename
One can rename a file with git mv however, if you try to use this technique to change the case of the filename it will fail and you’ll get fatal: destination exists. I prefer to keep all my filenames lowercase, so getting this to work is important to me. If I modified the filename case […]
Reddit Tracking Incognito Clicks
Reddit is an fascinating and wonderful collection of what the Internet has to offer, however their agressive link tracking is disappointing. Recently Viewed Links If you have an account at reddit, when you are browsing you are provided with a list of Recently Viewed Links. Arguably, this area provides functionality beyond your browsers built-in history […]