#41294 closed defect (bug) (fixed)
Document $allowed_files global in get_file_description()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Plugins | Keywords: | has-patch |
Focuses: | docs, administration | Cc: |
Description
global allowed_files is used but it is not mentioned in the documentation of the get_file_description function.
Attachments (3)
Change History (9)
#1
follow-up:
↓ 3
@
8 years ago
- Keywords needs-patch added
- Summary changed from Documnebtation needs improvement... to Documentation needs improvement...
Thanks for the patch, @div33, and welcome to WordPress Trac!
$allowed_files
is a global but you've marked it as a param in your patch. Would you like to patch it again please? You can re-upload a patch with the same file name.
In addition, could you patch the file from the root directory please? This way the patch has a file name of src/wp-admin/file.php
instead of just file.php
.
Thanks!
#3
in reply to:
↑ 1
@
8 years ago
Replying to johnbillion:
Thanks for the heads up! I've updated patch as you suggested.
Thanks again.
#4
@
8 years ago
- Component changed from General to Plugins
- Focuses administration added
- Milestone changed from Awaiting Review to 4.9
Note: See
TracTickets for help on using
tickets.
global allowed_files is used but it is not mentioned in the documentation of the get_file_description function.