Getting rid of redundant code
Macik |
|
---|---|
Vote for «YES», but have several questions… Is there ability to use one function with different TPLs? I speak about using 2 tpl - one for add and one for edit. Or some compromise solution to pass TPL path as a parameter, so (when we adding a page) first we can check is there separate «add» template, otherwise use standart «edit» one. By the way, is this merge consider any «add/edit.first/tags» hooks? Would it be backwards compatible so old plugins still works? https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F |