Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24889, comment 4


Ignore:
Timestamp:
03/07/2015 04:29:21 PM (10 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24889, comment 4

    initial v1  
    33To keep backward compatibility and not break the existing widgets, there was some conversion code that would set the "single" widgets instances to `*-1` (not sure why not `*-0`, it was a long time ago). In order to not overwrite the converted data, the new multi-widgets instances had to start form `2`.
    44
    5 As @tyxla mentions, this doesn't break anything and if changed to `-0`, in theory can still overwrite someone's single widgets.
     5As @tyxla mentions, this doesn't break anything and if changed to `-0` or `-1`, in theory can still overwrite someone's single widgets.