1
0
mirror of https://github.com/github/gitignore synced 2024-12-27 23:21:51 +01:00
gitignore/WordPress.gitignore

48 lines
849 B
Plaintext
Raw Normal View History

2020-01-22 01:51:50 +00:00
# Wordpress - ignore core, configuration, examples, uploads and logs.
# https://github.com/github/gitignore/blob/main/WordPress.gitignore
2019-05-12 18:35:22 +05:30
# Core
#
# Note: if you want to stage/commit WP core files
# you can delete this whole section/until Configuration.
2020-01-22 01:51:50 +00:00
/wp-admin/
/wp-content/index.php
/wp-content/languages
2020-01-22 01:51:50 +00:00
/wp-content/plugins/index.php
/wp-content/themes/index.php
/wp-includes/
/index.php
/license.txt
/readme.html
/wp-*.php
/xmlrpc.php
2019-05-12 18:35:22 +05:30
# Configuration
wp-config.php
2020-01-22 01:51:50 +00:00
# Example themes
/wp-content/themes/twenty*/
2020-01-22 01:51:50 +00:00
# Example plugin
/wp-content/plugins/hello.php
2020-01-22 01:51:50 +00:00
# Uploads
/wp-content/uploads/
2019-05-12 18:35:22 +05:30
2020-01-22 01:51:50 +00:00
# Log files
2019-05-12 18:35:22 +05:30
*.log
2020-01-22 01:51:50 +00: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