WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24122, comment 4


Ignore:
Timestamp:
06/27/2014 11:21:21 AM (7 years ago)
Author:
jayarjo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24122, comment 4

    initial v1  
    3030}}}
    3131
    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 list in the sidebar (another awkward behavior I think), we pass $file, instead of $plugin to get_plugin_files().
     32If $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().