XF 2.3 name and id , 2.2 and 2.3

Robert9

Well-known member
For some small add-ons, the difference is marginal but crucial.

In XenForo 2.2, it's "name=" while in XenForo 2.3, it's "id=".

So, do I now create two versions for everything?

Or is there a trick?

I could use a preg_replace with [name|id] instead of a str_replace with just "name".

Or are there better solutions?
 
Back
Top Bottom