When upgrading from Confluence 3 to Confluence 4 not all macros were upgraded. The problem was with cases.
Two examples to illustrate.
Example A:
{numberedheadings}
h1. Content heading 1
Some text
{numberedheadings}
Example B:
{numberedHeadings}
h1. Content heading 1
Some text
{numberedHeadings}
In Confluence 3 both blocks of code worked fine.
In Confluence 4 though the block with Example B is not migrated but wrapped in a Wiki Markup macro. Example A is migrated without problems.
In the plugin xml, the macro name is with lower-cases only for both Confluence 3 as Confluence 4.
It seems that in Confluence 3.x a macro name entered with mixed case are all handled correctly. When upgrading to Confluence 4, the upgrade script does not seem to be aware of other cases then lower-case. This results in an confluence instance where only the macro's are upgraded that exactly match the name of the macro in the plugin xml while otherwise spelled macro's are wrapped in the Wiki Markup macro.