Changes between Initial Version and Version 1 of Ticket #6278, comment 25
- Timestamp:
- 03/15/2015 01:16:11 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6278, comment 25
initial v1 3 3 I just took a look through 6278.06.patch, the whole approach is getting me excited. I love how the intention is for the base class to be extended, that opens up lots of development possibilities. 4 4 5 One thought, {{{create_dir()}}} is called each time an object is created. Could directory creation be moved to the BP plugin activation routine? That will avoid having to check if the upload path exists each time. But then on second thoughts, there's always t o issue of the webmaster manually deleting the directory which could cause problems if there's no {{{wp_mkdir_p()}}} to make things right again.5 One thought, {{{create_dir()}}} is called each time an object is created. Could directory creation be moved to the BP plugin activation routine? That will avoid having to check if the upload path exists each time. But then on second thoughts, there's always the issue of the webmaster manually deleting the directory which could cause problems if there's no {{{wp_mkdir_p()}}} to make things right again. Not sure what is best?