- Patch #98688 by greggles: string cleanup. Follow RFC2606 and use example.com for domain name examples. Core uses that consistently so make sure your contributed modules do too.

5.x
Dries Buytaert 2006-11-21 19:12:01 +00:00
parent 001d54f663
commit e8e97f2bbd
3 changed files with 3 additions and 3 deletions

View File

@ -1573,7 +1573,7 @@ function drupal_valid_token($token, $value = '', $skip_anonymous = FALSE) {
* @param $url
* An absolute URL of the XML-RPC endpoint.
* Example:
* http://www.domain.com/xmlrpc.php
* http://www.example.com/xmlrpc.php
* @param ...
* For one request:
* The method name followed by a variable number of arguments to the method.

View File

@ -681,7 +681,7 @@ function _blogapi_get_post($node, $bodies = TRUE) {
'link' => url('node/'.$node->nid, NULL, NULL, TRUE),
'permaLink' => url('node/'.$node->nid, NULL, NULL, TRUE),
);
if ($bodies) {
if ($bodies) {
if ($node->comment == 1) {
$comment = 2;
}

View File

@ -174,7 +174,7 @@ function contact_admin_edit($cid = NULL) {
$form['recipients'] = array('#type' => 'textarea',
'#title' => t('Recipients'),
'#default_value' => $edit['recipients'],
'#description' => t("Example: 'webmaster@yoursite.com' or 'sales@yoursite.com'. To specify multiple recipients, separate each e-mail address with a comma."),
'#description' => t("Example: 'webmaster@example.com' or 'sales@example.com,support@example.com'. To specify multiple recipients, separate each e-mail address with a comma."),
'#required' => TRUE,
);
$form['reply'] = array('#type' => 'textarea',