• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Minor code documentation bugs in XenForo_Link

Sim

Well-known member
#1
Found what I think are a couple of minor code documentation bugs in the XenForo_Link class where it describes links being built in the form "int-string", where it actually should be "string.int".

Definitions for the function XenForo_Link::buildBasicLinkWithIntegerParam
Output will be in the format [prefix]/[int]-[title]/[action] or similar,
Should this be "[prefix]/[title].[int]/[action]" ??

Similarly XenForo_Link::buildIntegerAndTitleUrlComponent
Outputs <int> or <int>-<title>
Should this be "Outputs <int> or <title>.<int>" ??

Note: this is from 1.1b4