summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt2
-rw-r--r--modules/node/node.module3
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index e8c923167..303a7ca00 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,6 +1,8 @@
Drupal 7.23, xxxx-xx-xx (development version)
-----------------------
+- Added a description to the "access content overview" permission on the
+ permissions page (string change).
- Added a drupal_array_diff_assoc_recursive() function to allow associative
arrays to be compared recursively (API addition).
- Added human-readable labels to image styles, in addition to the existing
diff --git a/modules/node/node.module b/modules/node/node.module
index f20c22950..268076257 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1587,6 +1587,9 @@ function node_permission() {
),
'access content overview' => array(
'title' => t('Access the content overview page'),
+ 'description' => user_access('access content overview')
+ ? t('Get an overview of <a href="@url">all content</a>.', array('@url' => url('admin/content')))
+ : t('Get an overview of all content.'),
),
'access content' => array(
'title' => t('View published content'),