CodeIgniter 2 predates Composer and has no hook for a third-party autoloader: its loader looks for a file named after the class, in one of two directories, with…
WooCommerce 2.0 moved order line items out of a serialised _order_items post meta value and into two dedicated tables. Anything that read that key directly — a sales…
Before adding a caching plugin to hold one expensive query, WordPress already has the API: set_transient() and get_transient(), with a time to live and no configuration. It uses…
Breakpoints written as 320, 768 and 1024 are named after three devices that were current when the stylesheet was written. The layout does not break at those widths;…
Covering a rate table usually produces six test methods that differ in two literals each, so changing the assertion means changing it six times and one of them…
.on() replaced .bind(), .live() and .delegate() with one method, and the difference between them survives as a single optional argument in the middle. With a selector the handler…
Scripts and styles are printed by wp_head itself, at priority 9. A callback hooked to wp_head at the default priority of 10 therefore runs after the queue has…