.data() reads a data- attribute the first time it is asked and then caches the value in jQuery’s own store, keyed off an expando property on the element.…
A single autoload block cannot say “these classes exist while developing and nowhere else”, so projects either map tests/ alongside src/ and ship it, or leave the suite…
An application with a PHP file per page has its bootstrap copied into every one of them — session start, config include, database connection, the auth check somebody…
512 MB, 150 concurrent visitors, and a box that swaps before the CPU is busy. Replacing Apache and mod_php with nginx and PHP-FPM, in three stages that each…
Editing a file under plugins/woocommerce/templates/ works until the next update overwrites it, which is usually a fortnight. The template loader looks in the active theme first, so a…
long_query_time was an integer in MySQL 5.0, so one second became the conventional slow-query threshold and stayed there out of habit. It has taken a float since 5.1.…