Polyhistoric Man Of The Web

Category: WordPress

  • __DIR__ vs dirname( __FILE__ )

    __DIR__ vs dirname( __FILE__ )

    Calling a constant should always be faster than a function call, right? PHP contains two different ways to get the directory that a file is currently in. __DIR__ is a magic constant added to PHP in 5.3. The official PHP documentation specifically states: “This is equivalent to dirname(__FILE__).” Equivalent in return doesn’t necessarily mean equivalent in […]

  • This might be the first post ever published on WordPress using PHP7.4.

    This might be the first post ever published on WordPress using PHP7.4.

    I have every reason to believe that this is the first post ever published on WordPress using PHP7.4. It’s likely coming a bit premature, but if you aren’t willing to have some fun, then why maintain upstream language compatibility of an open source project. I’ve worked on php version support in WordPress since PHP7.0 and […]

  • Art and Commit Messages: Volume 2

    Art and Commit Messages: Volume 2

    Last year I published volume 1 of Art And Commit messages and sold nearly 50 copies! For my first zine, I was ecstatic that so many people were willing to spend $3 on something so unknown. I have already started thinking about Volume 2 and think that it will be a great thing to publish […]

  • An adventure with a super useless one-liner to find the most common words in WordPress commit messages

    I read some insight into Drupal committing and they had a chart of the most common words in drupal commit messages. I thought it would be interesting to do something like that with WordPress Core, so I through together a bash one-liner to find this. It’s not the most eloquent solution, but it answers the […]

  • Mobile Block editor – Initial Thoughts

    I’m writing this using a beta version of the WordPress iOS mobile app that integrates Gutenberg. It is fairly stripped down as far as blpacks go. While this site has blocks from multiple plugins (including Gutenberg so I can try the latest features), the app has much fewer options. Blocks available from the mobile app […]

  • To Viper

    My first interactions with Alex were in the #wordpress IRC channel, likely him helping me with some code. Over the coarse of a couple of months, we joked around and chatted code. At some point the mention of his username prompted the question of if he had a Viper, but I found out he didn’t […]

  • Four Short Things – 23 February 2019

    Inspired by O’reilly’s Four Short Links, here are some of the things I’ve seen, read, or watched recently. Leukemia has won WordPress has allowed me the opportunity to meet hundreds of people first online and then offline, but Alex “Viper007Bond” was the first. When I first started getting involved in WordPress, I spent many late […]

  • WordCamp US: FAQ

    WordCamp US: FAQ

    We are just a few days away from WordCamp US! This will be the fourth WordCamp US, and I’m excited to be attending my fourth WordCamp US. To help you know what to expect, here are a few questions and my opinions to go along with them.   Last year I was a rockstar Wapuu.  How […]

  • WordPress at 15

    WordPress at 15

    I came into WordPress like a lot of people: I wanted a blog. I tried blogspot and it was lacking, so I googled around and discovered WordPress.  This was 2007, WordPress 2.2 had just been released. Widgets were the hot new thing. Tags were still a few months away from being added to core. It […]

  • A quick review of Local by Flywheel

    A quick review of Local by Flywheel

    I recently decided to check out Local by Flywheel for local development, and my initial thoughts are that it’s strong for many things, but is far from perfect. In the past, I’ve used MAMP, XAMPP, VVV, and custom docker environments for local development. Each of these has it’s own strengths and weaknesses. Local’s strength is that […]

*/