• Resolved ACCOUNT-ABANDONED

    (@kraterdesign)


    In ot-loader.php the method add_layout() calls the function ot_layout_view() with only 1 of 3 required arguments.

    PS. unrelated, but maybe not worth a separate topic:

    OptionTree should make use of DIRECTORY_SEPARATOR for filesystem paths, and not assume a forward slash ‘/’. This is not an issue for me, but might pose a problem for people running a WAMP variant, as I know plenty people use it for testing stuff locally on a Windows computer.

    http://ww.wp.xz.cn/extend/plugins/option-tree/

Viewing 1 replies (of 1 total)
  • Plugin Author Derek Herman

    (@valendesigns)

    The arguments issue is fixed in the next version, but the DIRECTORY_SEPARATOR has not been. You can view the update at https://github.com/valendesigns/option-tree/tree/wip

    In the future it would be better for tracking purposes if you add all your issues in the github repo. I’m going to close this topic and create the second part of this as a github issue.

    Cheers.

Viewing 1 replies (of 1 total)

The topic ‘Function call with too few arguments’ is closed to new replies.