diff --git a/core/includes/actions.inc b/core/includes/actions.inc index 36445f8..0414867 100644 --- a/core/includes/actions.inc +++ b/core/includes/actions.inc @@ -226,7 +226,7 @@ function actions_actions_map($actions) { } /** - * Returns an action array key (function or ID) given its hash. + * Returns an action array key (function or ID), given its hash. * * Faster than actions_actions_map() when you only need the function name or ID. * diff --git a/core/includes/ajax.inc b/core/includes/ajax.inc index e5a834a..693fe3a 100644 --- a/core/includes/ajax.inc +++ b/core/includes/ajax.inc @@ -102,7 +102,7 @@ * In the above example, the 'changethis' element is Ajax-enabled. The default * #ajax['event'] is 'change', so when the 'changethis' element changes, * an Ajax call is made. The form is submitted and reprocessed, and then the - * callback is called. In this case, the form has been automatically + * callback is called. In this case, the form has been automatically * built changing $form['replace_textfield']['#description'], so the callback * just returns that part of the form. * @@ -583,7 +583,7 @@ function ajax_footer() { } /** - * Form element processing handler to handle the #ajax form property. + * Form element processing handler for the #ajax form property. * * @param $element * An associative array containing the properties of the element. diff --git a/core/includes/archiver.inc b/core/includes/archiver.inc index fedda05..39d3ecd 100644 --- a/core/includes/archiver.inc +++ b/core/includes/archiver.inc @@ -15,7 +15,7 @@ interface ArchiverInterface { * * @param $file_path * The full system path of the archive to manipulate. Only local files - * are supported. If the file does not yet exist, it will be created if + * are supported. If the file does not yet exist, it will be created if * appropriate. */ public function __construct($file_path); diff --git a/core/includes/authorize.inc b/core/includes/authorize.inc index 902f59a..21e9a11 100644 --- a/core/includes/authorize.inc +++ b/core/includes/authorize.inc @@ -10,6 +10,8 @@ * * Allows the user to choose a FileTransfer type and supply credentials. * + * @see authorize_filetransfer_form_validate() + * @see authorize_filetransfer_form_submit() * @ingroup forms */ function authorize_filetransfer_form($form, &$form_state) { @@ -192,6 +194,7 @@ function _authorize_filetransfer_connection_settings_set_defaults(&$element, $ke * Form validation handler for authorize_filetransfer_form(). * * @see authorize_filetransfer_form() + * @see authorize_filetransfer_submit() */ function authorize_filetransfer_form_validate($form, &$form_state) { // Only validate the form if we have collected all of the user input and are @@ -224,6 +227,7 @@ function authorize_filetransfer_form_validate($form, &$form_state) { * Form submission handler for authorize_filetransfer_form(). * * @see authorize_filetransfer_form() + * @see authorize_filetransfer_validate() */ function authorize_filetransfer_form_submit($form, &$form_state) { global $base_url; diff --git a/core/includes/batch.queue.inc b/core/includes/batch.queue.inc index 245850f..2abaa93 100644 --- a/core/includes/batch.queue.inc +++ b/core/includes/batch.queue.inc @@ -24,7 +24,7 @@ class BatchQueue extends SystemQueue { * @param $lease_time * (optional) How long the processing is expected to take in seconds. After * this lease expires, the item will be reset and another consumer can - * claim the item. Defaults to 0. + * claim the item. Defaults to 0. */ public function claimItem($lease_time = 0) { $item = db_query_range('SELECT data, item_id FROM {queue} q WHERE name = :name ORDER BY item_id ASC', 0, 1, array(':name' => $this->name))->fetchObject(); @@ -61,7 +61,7 @@ class BatchMemoryQueue extends MemoryQueue { * @param $lease_time * (optional) How long the processing is expected to take in seconds. After * this lease expires, the item will be reset and another consumer can - * claim the item. Defaults to 0. + * claim the item. Defaults to 0. */ public function claimItem($lease_time = 0) { if (!empty($this->queue)) { diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 11247bf..9a41c8c 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -43,9 +43,9 @@ define('CACHE_TEMPORARY', -1); * Logging severity levels as defined in RFC 3164. * * The WATCHDOG_* constant definitions correspond to the logging severity levels - * defined in RFC 3164, section 4.1.1. PHP supplies predefined LOG_* constants + * defined in RFC 3164, section 4.1.1. PHP supplies predefined LOG_* constants * for use in the syslog() function, but their values on Windows builds do not - * correspond to RFC 3164. The associated PHP bug report was closed with the + * correspond to RFC 3164. The associated PHP bug report was closed with the * comment, "And it's also not a bug, as Windows just have less log levels," * and "So the behavior you're seeing is perfectly normal." * @@ -1244,7 +1244,7 @@ function _drupal_set_preferred_header_name($name = NULL) { /** * Sends the HTTP response headers that were previously set, adding defaults. * - * Headers are set in drupal_add_http_header(). Default headers are not set + * Headers are set in drupal_add_http_header(). Default headers are not set * if they have been replaced or unset using drupal_add_http_header(). * * @param $default_headers diff --git a/core/includes/cache.inc b/core/includes/cache.inc index ba94e55..c296541 100644 --- a/core/includes/cache.inc +++ b/core/includes/cache.inc @@ -164,7 +164,7 @@ function cache_set($cid, $data, $bin = 'cache', $expire = CACHE_PERMANENT) { * * @param $wildcard * If $wildcard is TRUE, cache IDs starting with $cid are deleted in - * addition to the exact cache ID specified by $cid. If $wildcard is + * addition to the exact cache ID specified by $cid. If $wildcard is * TRUE and $cid is '*' then the entire bin $bin is emptied. */ function cache_clear_all($cid = NULL, $bin = NULL, $wildcard = FALSE) {