diff --git a/.gitignore b/.gitignore index a32768a..7919f9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,15 @@ -# ignore everything in the root except the "wp-content" directory. -!wp-content/ +# ignore Eclipse +.settings/ +.buildpath +.project -# ignore everything in the "wp-content" directory, except: -# "mu-plugins", "plugins", "themes" directory -wp-content/* -!wp-content/mu-plugins/ -!wp-content/plugins/ -!wp-content/themes/ +# ignore Vim +*.swp -# ignore these plugins -wp-content/plugins/hello.php +# ignore Mac +.DS_Store +._* -# ignore specific themes -wp-content/themes/twenty*/ - -# ignore node dependency directories -node_modules/ - -# ignore log files and databases -*.log -*.sql -*.sqlite +# ignore Bash, release +*.sh +*.zip diff --git a/BlockWpSearch.php b/BlockWpSearch.php new file mode 100755 index 0000000..8bea00b --- /dev/null +++ b/BlockWpSearch.php @@ -0,0 +1,75 @@ +Block WP Search is the easiest way to block all search requests to your WordPress site. + +WordPress search is not always helpful: especially for small sites. +Use Block WordPress Search plugin to redirect search requests. + + +Features +----------- +* Redirects search requests to `/not_found/` + +Installation +----------- + +__Automated__ +* Install [GitHub Updater](https://github.com/afragen/github-updater/releases/latest) plugin to install Quick Mail from Github. +* See [GitHub Updater Wiki](https://github.com/afragen/github-updater/wiki) for additional information. + +__Manual__ +1. Download the plugin and unpack in your `/wp-content/plugins` directory. +2. Activate the plugin through the WordPress _Plugins_ menu. + +__WP-CLI__ +* How to install and activate the latest version of Quick Mail with [WP-CLI](https://wp-cli.org/) : + + `wp plugin install https://github.com/mitchelldmiller/block-wp-search/archive/main.zip --activate` + +Configuration +----------- +* No options. + +Updates +----------- +* Install [GitHub Updater](https://github.com/afragen/github-updater/releases/latest) plugin to update Quick Mail from Github. + +Translators / Translations +----------- +* Nothing to translate. + +Privacy +----------- +* Increases privacy. Stops random search requests. + +License +----------- +Block WP Search is licensed under the MIT License. +Encourage future development with a [donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4AAGBFXRAPFJY). + diff --git a/readme.txt b/readme.txt new file mode 100755 index 0000000..1dd3441 --- /dev/null +++ b/readme.txt @@ -0,0 +1,67 @@ +=== Quick Mail === +Contributors: brainiac +Tags: search +Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4AAGBFXRAPFJY +Requires at least: 2.3 +Tested up to: 6.0.0 +Requires PHP: 5.3 +Stable tag: 1.00 +License: MIT +License URI: https://github.com/mitchelldmiller/block-wp-search/blob/main/LICENSE + +Block search requests to your WordPress site. + +== Description == +>Block WP Searches is the easiest way to block all search requests to your WordPress site. + +WordPress search is not always helpful: especially for small sites. +Use Block WordPress Search plugin to redirect search requests. + +== Features == + +* Redirects search requests to `/not_found/` + += Learn More = + +* [Follow development on Github](https://github.com/mitchelldmiller/block-wp-search/). + +== Installation == += Automated = +* Install [GitHub Updater](https://github.com/afragen/github-updater/releases/latest) plugin to install Quick Mail from Github. +* See [GitHub Updater Wiki](https://github.com/afragen/github-updater/wiki) for additional information. + += Manual = +1. Download the plugin and unpack in your `/wp-content/plugins` directory. +2. Activate the plugin through the WordPress _Plugins_ menu. + += WP-CLI +* How to install and activate the latest version of Quick Mail with [WP-CLI](https://wp-cli.org/) : + + `wp plugin install https://github.com/mitchelldmiller/block-wp-search/archive/main.zip --activate` + +== Configuration == +* No options. + +== Translators / Translations == +* Nothing to translate. + +== Frequently Asked Questions == +* None. + += Privacy = +* Increases privacy. Stops random search requests. + +== Changelog == + += 1.00 = +* First public release. +* Tested with WordPress 6.0.0 + + +== Upgrade Notice == + += 1.00 = +* First public release. + +== License == +Block Wp Search is free for personal or commercial use. Please support future development with a [donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4AAGBFXRAPFJY).