Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #13265, comment 51


Ignore:
Timestamp:
03/02/2014 09:13:02 AM (11 years ago)
Author:
MikeSchinkel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13265, comment 51

    initial v1  
    88- `/wp-content/themes/soft-drinks-r-us/brands/{brand}/`
    99
    10 Thus either the theme or ideally a must-use plugin would need to be able to add the pages templates for the brand associated with the current logged-in user. In the case of a plugin it would just be providing the logic about where to find the page templates found in the theme but even if done in the theme's functions files it would still need to be able to add files using the new `'page_templates'` filter.
     10Thus either the theme or ideally a must-use plugin would need to be able to add the pages templates for the brand associated with the current logged-in user. In the case of a plugin it would just be providing the logic about where to find the page templates in the theme but even if done in the theme's functions files it would still need to be able to add files using the new `'page_templates'` filter.
    1111
    1212One way to support this use-case yet still disallow plugins adding their own templates would be to simply disallow any new absolute paths but do allow any new relative paths.