Support » Plugin: Development Mode for Jetpack » Suggestions

  • Hi,

    While your plugin uses slightly less code than Surbma’s one, the LICENSE file that you include in the plugin actually increases the overall line count. Yeah, you could say the LICENSE file isn’t loaded into WordPress, but this matters when using version control systems like Git to add your plugin into a repository.

    Also, to decrease the line count, there’s no need to do a class_exists() check for Jetpack or to hook your code to 'plugins_loaded'. One-line filters do not do anything unless it is called upon.

    I would use Jetpack Dev Mode over your plugin, but your documentation is better for site admins of a network that might potentially activate your plugin and read the docs.

  • The topic ‘Suggestions’ is closed to new replies.