Problem/Motivation
(Why the issue was filed, steps to reproduce the problem, etc.)
Proposed resolution
(Description of the proposed solution, the rationale behind it, and workarounds for people who cannot use the patch.)
Remaining tasks
(reviews needed, tests to be written or run, documentation to be written, etc.)
User interface changes
(New or changed features/functionality in the user interface, modules added or removed, changes to URL paths, changes to user interface text.)
API changes
(API changes/additions that would affect module, install profile, and theme developers, including examples of before/after code if appropriate.)
Data model changes
(Database or configuration data changes that would make stored data on an existing site incompatible with the site's updated codebase, including changes to hook_schema(), configuration schema or keys, or the expected format of stored data, etc.)
Original report by [username]
(Text of the original report, for legacy issues whose initial post was not the issue summary. Use rarely.)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | patch_2.diff | 1.15 KB | Heervesh |
| #5 | patch.diff | 1.13 KB | Heervesh |
| #3 | Patch tested.png | 135.64 KB | Heervesh |
Comments
Comment #2
Heervesh commenteddiff --git a/core/modules/path/path.module b/core/modules/path/path.module
index 332287d..d9bfded 100644
--- a/core/modules/path/path.module
+++ b/core/modules/path/path.module
@@ -136,7 +136,7 @@ function path_form_node_form_alter(&$form, $form_state) {
'#maxlength' => 255,
'#collapsible' => TRUE,
'#collapsed' => TRUE,
- '#description' => t('Optionally specify an alternative URL by which this content can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'),
+ '#description' => t('The alternative URL for this content. Use a relative path without a trailing slash. For example, type "about" for the about page.'),
);
$form['path']['pid'] = array('#type' => 'value', '#value' => $path['pid']);
$form['path']['source'] = array('#type' => 'value', '#value' => $path['source']);
@@ -303,4 +303,4 @@ function path_taxonomy_term_update($term) {
function path_taxonomy_term_delete($term) {
// Delete all aliases associated with this term.
path_delete(array('source' => 'taxonomy/term/' . $term->tid));
-}
+
Comment #3
Heervesh commentedComment #4
Heervesh commenteddiff --git a/core/modules/path/path.module b/core/modules/path/path.module
index 332287d..d9bfded 100644
--- a/core/modules/path/path.module
+++ b/core/modules/path/path.module
@@ -136,7 +136,7 @@ function path_form_node_form_alter(&$form, $form_state) {
'#maxlength' => 255,
'#collapsible' => TRUE,
'#collapsed' => TRUE,
- '#description' => t('Optionally specify an alternative URL by which this content can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'),
+ '#description' => t('The alternative URL for this content. Use a relative path without a trailing slash. For example, type "about" for the about page.'),
);
$form['path']['pid'] = array('#type' => 'value', '#value' => $path['pid']);
$form['path']['source'] = array('#type' => 'value', '#value' => $path['source']);
@@ -303,4 +303,4 @@ function path_taxonomy_term_update($term) {
function path_taxonomy_term_delete($term) {
// Delete all aliases associated with this term.
path_delete(array('source' => 'taxonomy/term/' . $term->tid));
-}
+
Comment #5
Heervesh commentedComment #6
Heervesh commenteddiff --git a/core/modules/path/path.module b/core/modules/path/path.module
index 332287d..8ca61a5 100644
--- a/core/modules/path/path.module
+++ b/core/modules/path/path.module
@@ -136,7 +136,7 @@ function path_form_node_form_alter(&$form, $form_state) {
'#maxlength' => 255,
'#collapsible' => TRUE,
'#collapsed' => TRUE,
- '#description' => t('Optionally specify an alternative URL by which this content can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'),
+ '#description' => t('The alternative URL for this content. Use a relative path without a trailing slash. For example, enter "about" for the about page.'),
);
$form['path']['pid'] = array('#type' => 'value', '#value' => $path['pid']);
$form['path']['source'] = array('#type' => 'value', '#value' => $path['source']);
@@ -303,4 +303,4 @@ function path_taxonomy_term_update($term) {
function path_taxonomy_term_delete($term) {
// Delete all aliases associated with this term.
path_delete(array('source' => 'taxonomy/term/' . $term->tid));
-}
+
Comment #7
Heervesh commented