How To Find the Gutenberg Source Code in WordPress 5.0

WordPress 5.0 ships with the Gutenberg plugin source code integrated into Core. As a consequence there are changes to how WordPress now ships JavaScript compared to previous releases. So even experienced developers might not be immediately able to find the Gutenberg source code in WordPress 5.0.

In this post you’ll learn how to:

  • Download the source code of WordPress.
  • Download the Gutenberg JavaScript dependencies.
  • Discover the location of the most important Gutenberg JavaScript libraries.
  • Create a runnable version (build version) of the source code.
Read More

The Guide to WordPress Unit Testing Assertions

The WordPress Unit Testing Framework contains a set of custom assertion helper methods which help with writing unit test.

In this post, we’ll present these helper methods available through the WP_UnitTestCase case class. Each method is presented with its function signature, a description of what it does, as well as a sample usage in a unit test.

Read More