211 results

TypeScript For WordPress Basics

WordPress 5.0 was the first WordPress release to incorporate the new React-powered Gutenberg UI framework. With Gutenberg as the standard for WordPress interface development, WordPress developers can now benefit from more from the awesome React and JavaScript ecosystems to improve the developer experience and user experience of creating and using our plugins, themes, and sites.

Tracing WordPress Actions and Filters

Ever wonder exactly what is going on inside WordPress? As with any PHP script, you have a lot of good options for debugging and tracing what is going on. However, if all you want is a quick dump of the actions and filters that WordPress is calling, there is a very easy way to do this.

Props: I was inspired to write this plugin during a talk Helen Hou-Sandi gave. I believe it was at WordCamp NYC. Thanks Helen.

Running Drupal 8 Data Migrations on Pantheon Through Drush

Editor's Note: The structure of Terminus commands have changed since this post was written. The example commands have been updated to reflect the current structure of terminus command:subcommand <site>.<env>. Also when this post was written, Drupal 8 was the newest version of Drupal and was a large technical departure from Drupal 7 (hence the need for robust migration processes described in this post).

NONCE Upon a time in WordPress

NONCE upon a time we didn’t need to worry about Cross-Site Request Forgeries. We handled users submitting a form twice by simply processing the form twice. Neither of these were great strategies, so someone invented the Number used ONCE or "NONCE". Let’s take a quick look at what they are, how WordPress implements them, and how you can implement them in your own forms and code.

Subscribe to Developer