Feature #23688
closedReplace the current if-construct of stdWrap with real functions and make each of them stdWrap aware
0%
Description
As we decided during the "Pimp my TS" workshop at T3DD10 and as announced at T3CON, the attached patch will do the following:
1. Remove the serialized if clauses from the function stdWrap
2. Replace them with real functions called in the correct order to stay backwards compatible
3. Make each of the functions stdWrap aware
4. Still take care of the 4 hooks currently available in function stdWrap
Exceptions for 3:
cObject and the recursive stdWrap call will not use nested stdWrap functions, since these are the only functions using stdWrap functions on the real content, while all others will apply stdWrap functions to the value of the property itself
preUserFunc, postUserFunc and postUserFuncInt are excluded form nested stdWrap as well to avoid conflicts with individual markup used within those functions
I made some tests with default CSS-styled-content elements and everything seems to be running quite well. Admin Panel shows that the new version seems to be a bit faster than the original, although the nested function call is already implemented.
(issue imported from #M15928)
Files