|
|
View previous topic
::
View next topic
|
Author |
Message |
ramon fincken Site's programmer
 Get a free globally recognized avatar It's free!
Joined: 03 Aug 2007 Posts: 403 Location: A'dam/Diemen, The Netherlands
|
Posted: Fri Oct 30, 2020 8:40 am Post subject: [WordPress] creating PHP patches for WordPress Make Core and setting it up |
|
|
Do you want to contribute your PHP skills to WordPress Core?
Use this manual to get started !
# For to make PHP patches To make children happy
# https://make.wordpress.org/core/handboo...dards/php/
# Download
svn co https://develop.svn.wordpress.org/trunk wordpress_make
cd wordpress_make
# JS and CSS
npm install
npm run build
npm run dev
copy wp-config-sample.php to wp-config.php and edit accordingly (do not forget to create a new DB !)
# Install and do your coding
# PHP unit test
# https://make.wordpress.org/core/handboo...g/phpunit/
#WARNING: You might need to install an older version
sudo apt install phpunit
copy wp-tests-config-sample.php to wp-tests-config.php and edit accordingly (do not forget to create a *new* DB !)
phpunit
or
# Patch and submit to trac
# https://make.wordpress.org/core/handboo...g-a-patch/
svn diff filename.php > filename.diff |
|
Back to top |
|
 |
Google adsense Advertisement
|
Posted: Fri Oct 30, 2020 8:40 am Post subject: [WordPress] creating PHP patches for WordPress Make Core and setting it up |
|
|
Advertisement
|
|
Back to top |
|
 |
GravityForms Advertisement
|
Posted: Fri Oct 30, 2020 8:40 am Post subject: [WordPress] creating PHP patches for WordPress Make Core and setting it up |
|
|
Advertisement
 |
|
Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|