1.x version

GeneralΒΆ

The framework was built following some rules to ensure compatibility between components and to provide an easier way for developers to work together. Here are some starting rules to keep in mind:

  • The code should work on php 5.2.4, like WordPress Minimum Requirements says. Don’t use php 5.3+ features, because some hosting providers don’t have php 5.3+ installed on the servers.

  • Follow WordPress Coding Standards.

    Note

    If you already have some code written with spaces indentation (that does not follow WordPress Coding Standards), use this RegExp to replace spaces with tabs:

    (?<=^\s*) {4} replace with \t

  • First line in all php files should be:

    <?php if (!defined('FW')) die('Forbidden');