summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-11-21 19:12:01 +0000
committerDries Buytaert <dries@buytaert.net>2006-11-21 19:12:01 +0000
commite8e97f2bbd4f219c75df34dff04327bb033cfb33 (patch)
tree504d16448ed7fa922af3a8144a1f530767c1ef12
parent001d54f663136894ce0dce0a09693cc107cfb788 (diff)
downloadbrdo-e8e97f2bbd4f219c75df34dff04327bb033cfb33.tar.gz
brdo-e8e97f2bbd4f219c75df34dff04327bb033cfb33.tar.bz2
- 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.
-rw-r--r--includes/common.inc2
-rw-r--r--modules/blogapi/blogapi.module2
-rw-r--r--modules/contact/contact.module2
3 files changed, 3 insertions, 3 deletions
diff --git a/includes/common.inc b/includes/common.inc
index a5c9a2f11..f23e94642 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -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.
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index ff6c95838..e77e9d267 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -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;
}
diff --git a/modules/contact/contact.module b/modules/contact/contact.module
index c2232e3a1..b83b4049b 100644
--- a/modules/contact/contact.module
+++ b/modules/contact/contact.module
@@ -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',