WordPress.org

Make WordPress Core

Ticket #8805: 8805.diff

File 8805.diff, 1.7 KB (added by jacobsantos, 7 years ago)

Updated patch for corrections to the phpdoc.

  • general-template.php

     
    9898 * 
    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'. 
    102104 * 
     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. 
     112 * 
    103113 * @since 2.7.0 
    104114 */ 
    105115function get_search_form() { 
  • plugin.php

     
    512512 * @subpackage Plugin 
    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. 
    519517 */ 
     
    539537 * @subpackage Plugin 
    540538 * @since 2.0 
    541539 * 
    542  * @access private 
    543  * 
    544540 * @param string $file The filename of the plugin including the path. 
    545541 * @param callback $function the function hooked to the 'activate_PLUGIN' action. 
    546542 */