Building from 2.6 branch
Codex Home → Releases → Building from 2.6 branch
				
nvm use 12
npm install
grunt build
If the build fails, pay attention to the error output. The node module: node-wp-i18n may need to be temporarily modified to accommodate your PHP version. When using PHP8 or above, you’ll need to:
- Comment out //ini_set( 'auto_detect_line_endings', 1 );
- Fix incorrect string concatenation in poify()– po.php line 120
- Fix byval param in export_entry()– po.php line 219
- Define MakePot::$extractoras public – makepot.php line 11