2021-12-04 19:25:15 -05:00
|
|
|
# Wordpress - ignore core, configuration, examples, uploads and logs.
|
2021-12-11 19:25:18 -05:00
|
|
|
# https://github.com/github/gitignore/blob/main/WordPress.gitignore
|
2019-12-19 18:04:12 -05:00
|
|
|
|
2021-12-04 19:25:15 -05:00
|
|
|
# Core
|
|
|
|
#
|
|
|
|
# Note: if you want to stage/commit WP core files
|
|
|
|
# you can delete this whole section/until Configuration.
|
|
|
|
/wp-admin/
|
|
|
|
/wp-content/index.php
|
|
|
|
/wp-content/languages
|
|
|
|
/wp-content/plugins/index.php
|
|
|
|
/wp-content/themes/index.php
|
|
|
|
/wp-includes/
|
|
|
|
/index.php
|
|
|
|
/license.txt
|
|
|
|
/readme.html
|
|
|
|
/wp-*.php
|
|
|
|
/xmlrpc.php
|
2019-12-19 18:04:12 -05:00
|
|
|
|
2021-12-04 19:25:15 -05:00
|
|
|
# Configuration
|
|
|
|
wp-config.php
|
2015-08-28 03:44:04 -05:00
|
|
|
|
2021-12-04 19:25:15 -05:00
|
|
|
# Example themes
|
|
|
|
/wp-content/themes/twenty*/
|
2015-08-28 03:44:04 -05:00
|
|
|
|
2021-12-04 19:25:15 -05:00
|
|
|
# Example plugin
|
|
|
|
/wp-content/plugins/hello.php
|
2019-12-19 18:04:12 -05:00
|
|
|
|
2021-12-04 19:25:15 -05:00
|
|
|
# Uploads
|
|
|
|
/wp-content/uploads/
|
|
|
|
|
|
|
|
# Log files
|
2019-12-19 18:04:12 -05:00
|
|
|
*.log
|
2021-12-04 19:25:15 -05:00
|
|
|
|
|
|
|
# htaccess
|
|
|
|
/.htaccess
|
|
|
|
|
|
|
|
# All plugins
|
|
|
|
#
|
|
|
|
# Note: If you wish to whitelist plugins,
|
|
|
|
# uncomment the next line
|
|
|
|
#/wp-content/plugins
|
|
|
|
|
|
|
|
# All themes
|
|
|
|
#
|
|
|
|
# Note: If you wish to whitelist themes,
|
|
|
|
# uncomment the next line
|
|
|
|
#/wp-content/themes
|