Closed (fixed)
Project:
Link checker
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2009 at 15:20 UTC
Updated:
29 Nov 2009 at 11:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
hass commentedGood idea. We need to get this in - very soon... next release is very close.
Comment #2
bradweikel commentedHere's a patch for the DRUPAL-6--2 branch.
Not sure whether $node->log should be set if a new revision isn't being created. Don't know that it makes much difference either way.
Comment #3
hass commentedIt's new to me that html code can be added to log message. As I know - it need to be plain text?!?
Please provide unified patches.
Comment #4
bradweikel commentedUnified patch attached. I'm always forgetting -U.
The HTML gets filtered to plain text when it's displayed. This way the string gets reused for the watchdog message, which I think is a little cleaner, but you could also create two different strings. Either way is fine - the pro's and con's are marginal either way.
Comment #5
bradweikel commentedOr you could just wrap a check_plain() around the assignment. Let me know if you want me to re-roll it that way.
Comment #6
hass commentedCommitted slightly changed version to all branches.