Skip to main content

Senior Web Engineer. Open web / music. Remote DJ. Tall Dutch guy. #3million

micro.blog/sander

svandragt

mixcloud.com/cloudseer

 

ACF field groups with the same option position can be ordered by setting a key value. Key values starting with underscores are shown first. Field groups without keys are displayed inconsistently depending on the user role.

 

When writing a script that invokes git stash, make sure the script is committed before running it, if it's in the same repository ;-)

 

Protip: It turns out logrotate configuration files that are just using the rotate option do not delete older log files, only the logfile that is rotated out. This distinction matters when the rotate option is reduced and older log files are left around.