• I always review the code of plugin I use.
    I would like to congratulate the Author of this plugin, this is one of the best I’ve ever read

    All WordPress feature are respected, all data are correctly escaped, all methods are correctly named, design pattern implementation is good, PHP expert features are mastered.

    Great job !
    (Why the constructor of Radio_Buttons_For_Taxonomies isn’t private ? )

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    Thanks for the kind words. What advantages would be gained by making the constructor private? I’d be happy to accept a pull request via github if there’s a strong case for it.

    Thread Starter Tybaze

    (@tybaze)

    Oh simply in order to match Singleton pattern. It avoid someone calling the construct instead of the getInstance() which may cause duplicate of the core instance ^^

    This is not really important ??
    But as your code is very smart I notice it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Great Plugin’ is closed to new replies.