It is not trivial to compile an SCSS file with Webpack, which is not included in the JS file, into its own CSS file. This post shows you how to do that. Continue reading Compile SASS with Webpack into a CSS file
This week the core team releases WordPress 4.8.2, which fixes several security issues. Continue reading WordPress weekly recap #38: WordPress 4.8.2 and more
Until recently, I just used Xdebug for debugging PHP locally with XAMPP. But now I needed to debug a problem with PayPal in WooCommerce on a remote server. This post shows you how to get this working. Continue reading Debugging with Xdebug and PhpStorm on Uberspace
This week, the CodeMirror integration was merged into core. That is a code editor which will be available for the theme and plugin editor, the HTML widget and the custom CSS field in the customizer. Continue reading WordPress weekly recap #37: CodeMirror integration and more
Recently I had a problem with a running watch script on Bash on Ubuntu on Windows (the Windows Subsystem for Linux (WSL)) to compile SASS and saving of files in PhpStorm. PhpStorm showed an error message »Cannot save. The file is left unchanged« and created a temporary file with the changes.
I found the solution for that in the support forum from JetBrains. To solve the issue, just uncheck the box Use »Safe write« in the PhpStorms settings under File › Settings › Appearance & Behavior › System Settings.
Proposal for JS Standards Revision
There are a few exceptions in the JS coding standards, regarding the white space usage in arrays and functions. Andrew Duthie proposed to remove at least some of those exceptions. You can read more about that in his post »Proposal for JS Standards Revision: Removing Array/Function Whitespace Exceptions«.
- »Multisite Recap for the Week of August 28th«.
- »What’s new in Gutenberg (September 5)«. Among other things, the team added the slash shortcut for new blocks.
- »Removing SWFUpload«.
- »Dev Chat Summary: September 6th (4.9 week 6)«.
Theme review team
Until now, I never used HTTPS for local development domains. Now I had to use it for a project, and here is how to get it working on XAMPP with virtual hosts. Continue reading HTTPS with virtual hosts on XAMPP
There is a new plugin header, which allows plugin devs to define the minimum PHP version which is required for the plugin to work. Continue reading WordPress weekly recap #35: plugin header for minimum PHP requirement and more
Some NPM packages already offer the possibility to be applied to several files of a directory at the same time – for instance, node-sass can convert a whole directory of SCSS files into CSS files. The minifier tool csso-cli does not offer an option to minify multiple files at once – here I show a workaround to do this anyway. Continue reading Run NPM package for multiple files (using the example of csso-cli)
The team of the REST API was slightly under the radar so far this year. Now they published a post with the current state and a roadmap. Continue reading WordPress weekly recap #34: REST API roadmap and more