WordPress.org

Make WordPress Core

Changeset 10411


Ignore:
Timestamp:
01/22/09 21:17:52 (5 years ago)
Author:
westi
Message:

PHPdoc updates. See €8805 props jacobsantos.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r10377 r10411  
    9999 * Will first attempt to locate the searchform.php file in either the child or 
    100100 * the parent, then load it. If it doesn't exist, then the default search form 
    101  * will be displayed. 
     101 * will be displayed. The default search form is HTML, which will be displayed. 
     102 * There is a filter applied to the search form HTML in order to edit or replace 
     103 * it. The filter is 'get_search_form'. 
     104 * 
     105 * This function is primarily used by themes which want to hardcode the search 
     106 * form into the sidebar and also by the search widget in WordPress. 
     107 * 
     108 * There is also an action that is called whenever the function is run called, 
     109 * 'get_search_form'. This can be useful for outputting JavaScript that the 
     110 * search relies on or various formatting that applies to the beginning of the 
     111 * search. To give a few examples of what it can be used for. 
    102112 * 
    103113 * @since 2.7.0 
  • trunk/wp-includes/plugin.php

    r9716 r10411  
    513513 * @since 2.0 
    514514 * 
    515  * @access private 
    516  * 
    517515 * @param string $file The filename of the plugin including the path. 
    518516 * @param callback $function the function hooked to the 'activate_PLUGIN' action. 
     
    539537 * @subpackage Plugin 
    540538 * @since 2.0 
    541  * 
    542  * @access private 
    543539 * 
    544540 * @param string $file The filename of the plugin including the path. 
Note: See TracChangeset for help on using the changeset viewer.