Index: general-template.php
===================================================================
--- general-template.php (revision 10331)
+++ general-template.php (working copy)
@@ -98,8 +98,18 @@
*
* Will first attempt to locate the searchform.php file in either the child or
* the parent, then load it. If it doesn't exist, then the default search form
- * will be displayed.
+ * will be displayed. The default search form is HTML, which will be displayed.
+ * There is a filter applied to the search form HTML in order to edit or replace
+ * it. The filter is 'get_search_form'.
*
+ * This function is primarily used by themes which want to hardcode the search
+ * form into the sidebar and also by the search widget in WordPress.
+ *
+ * There is also an action that is called whenever the function is run called,
+ * 'get_search_form'. This can be useful for outputting JavaScript that the
+ * search relies on or various formatting that applies to the beginning of the
+ * search. To give a few examples of what it can be used for.
+ *
* @since 2.7.0
*/
function get_search_form() {
Index: plugin.php
===================================================================
--- plugin.php (revision 10331)
+++ plugin.php (working copy)
@@ -512,8 +512,6 @@
* @subpackage Plugin
* @since 2.0
*
- * @access private
- *
* @param string $file The filename of the plugin including the path.
* @param callback $function the function hooked to the 'activate_PLUGIN' action.
*/
@@ -539,8 +537,6 @@
* @subpackage Plugin
* @since 2.0
*
- * @access private
- *
* @param string $file The filename of the plugin including the path.
* @param callback $function the function hooked to the 'activate_PLUGIN' action.
*/