Changes between Initial Version and Version 1 of Ticket #24122, comment 4
- Timestamp:
- 06/27/2014 11:21:21 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24122, comment 4
initial v1 30 30 }}} 31 31 32 If $plugin is not set it will auto-resolve to the first plugin in the list. If $file is not set it will default to $plugin, which at this moment will be a path to the plugins entry file. Then to retain the logic of retrieving only a single level of files to listin the sidebar (another awkward behavior I think), we pass $file, instead of $plugin to get_plugin_files().32 If $plugin is not set it will auto-resolve to the first plugin in the list. If $file is not set it will default to $plugin, which at this moment will be a path to the plugins entry file. Then to retain the logic of retrieving only a single level of files to display in the sidebar (another awkward behavior I think), we pass $file, instead of $plugin to get_plugin_files().