2012-03-08, 05:38:22
shawn_a Wrote:Also it only detect new plugins if filecount changes, so dont rename or remove and add plugins at the same time, this should be a file collection md5 or something instead.I would like to see this changed...
Do you think it would be enough checking if any plugin filename has been added or removed?
I intended to prepare and suggest a patch for function create_pluginsxml(), my idea was reading all *.php filenames in the plugins folder to an array and compare with $live_plugins's keys using array_diff() ... (BTW I also think the function can be optimized a bit, so that it doesn't even generate the xml data if it's not going to be written to disk.)