Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jun 2011 at 05:28 UTC
Updated:
29 Jul 2014 at 19:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pillarsdotnet commentedThis patch changes the docs to match the code.
Comment #2
pillarsdotnet commentedComment #3
mr.baileysI think we should limit the change to just dropping the "If this value is omitted, Drupal's public files directory will be used [public://]." part. Technically, the value can't be omitted anyway, since it is a mandatory function argument. Granted, it can be an empty string, but then that's just an error on behalf of the calling code, and we don't babysit broken code...
Comment #4
pillarsdotnet commentedAs requested. (That's actually a larger change, btw.) For alternative solution, see #1192470: Make code of drupal_realpath() match docs.
Comment #5
pillarsdotnet commentedComment #6
jhodgdonThis is the right way to do it. We don't want to start documenting what happens in every function if you don't supply the required arguments.
7.x/8.x please...
Comment #7
webchickCommitted to 8.x and 7.x. Thanks!