unplug-jetpack.php 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Plugin Name: Unplug Jetpack
  4. * Plugin URI: http://wordpress.org/extend/plugins
  5. * Description: Enable qualifying Jetpack modules without a WordPress.com account
  6. * Version: 0.1.1
  7. * Author: Tanner Moushey
  8. * Author URI: tannermoushey.com
  9. * License: GPLv2+
  10. */
  11. /**
  12. * Copyright (c) 2014 Tanner Moushey (email : tanner@iwitnessdesign.com)
  13. *
  14. * This program is free software; you can redistribute it and/or modify
  15. * it under the terms of the GNU General Public License, version 2 or, at
  16. * your discretion, any later version, as published by the Free
  17. * Software Foundation.
  18. *
  19. * This program is distributed in the hope that it will be useful,
  20. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22. * GNU General Public License for more details.
  23. *
  24. * You should have received a copy of the GNU General Public License
  25. * along with this program; if not, write to the Free Software
  26. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  27. */
  28. function uj_init() {
  29. add_filter( 'jetpack_development_mode', '__return_true' );
  30. }
  31. add_action( 'plugins_loaded', 'uj_init' );