Local Development

Description

Places development notice for plugins or themes that are in local development. Notices are placed on the plugins page and the themes page. Prevents updating of selected plugins and themes.

  • Automatically adds plugins and themes under version control.
  • Automatically allows for using a local file server.
  • Allows for bypassing the WordPress 5.2 WSOD Shutdown Handler.
  • Add a warning color to admin bar when running under localhost. Default is on.
  • Add a git host icon to the plugins page. Default is off. No option if GitHub Updater is running.
  • Allows setting of WP_ENVIRONMENT_TYPE in wp-config.php.

Pull Requests are welcome against the develop branch on GitHub.

Requires PHP 5.6 or greater.

Captures d’écran

  • Paramètres Plugin
  • Plugins Page
  • Themes Page
  • Multisite Themes Page

Avis

21 septembre 2020
I'm using MAMP to develop a plugin locally. When MAMP is properly set up and running, it's easy not realize if the website in the browser is running locally or remotely. Installing the "Local Development" plugin makes it easy to see via the green highlight in the admin bar along with the word "local" in it. Simple, visual and effective. Thanks!
21 juillet 2020
This can prevent a potential disaster if you work locally. In my past I have made changes to live site by mistake. NO MORE!!! Thanks to this plugin.
3 septembre 2016
Did everything it said it would. Will be a good tool.
Lire les 4 avis

Contributeurs & développeurs

« Local Development » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Local Development” a été traduit dans 1 locale. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Local Development » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

2.7.2 / 2020-11-21

  • remove ‘Edit’ action link
  • fix PHP warning when some settings not yet saved

2.7.1 / 2020-10-05

  • try to correcty display defined WP_ENVIRONMENT_TYPE in Settings
  • remove branch switch list from GitHub Updater plugins/themes and add In Local Development item

2.7.0 / 2020-099-15

  • set custom admin bar to display environment type
  • remove WP_ENVIRONMENT_TYPE on deactivation
  • remove a line of jQuery for removing update row class as unnecessary and now conflicting with GHU
  • disable the auto-update link from WP 5.5

2.6.2 / 2020-09-01

  • only set WP_ENVIRONMENT_TYPE when changed

2.6.1 / 2020-09-01

  • fix for saving WP_ENVIRONMENT_TYPE

2.6.0 / 2020-09-01

  • add setting for WP_ENVIRONMENT_TYPE in WP 5.5+
  • refactor plugin startup a bit

2.5.7 / 2020-07-20

  • set disabled checked option if WP_DISABLE_FATAL_ERROR_HANDLER is true

2.5.6 / 2020-07-10

  • fix logic for no setting

2.5.5 / 2020-07-09

  • skip mu-plugins and drop-ins
  • filter options to save to remove unchecked and VCS repos
  • add git host icon for Gists
  • defer to GitHub Updater to show git host icons

2.5.4 / 2020-06-01

  • sanitizing, escaping & ignoring

2.5.3 / 2020-03-28

  • move Settings action link to front

2.5.2 / 2020-02-03

  • use is_localhost() for local git server setting and make automatic

2.5.1 / 2020-01-24

  • run if no settings yet saved

2.5.0 / 2020-01-23

  • update Requires at least in plugin file
  • add VCS checkouts automatically, thanks @Raruto
  • add Git Host icons as default setting for plugins and themes
  • add localhost admin bar coloring when on localhost, default is on
  • some now settings only display when running in localhost
  • add repositories that are added from GitHub Updater Additions

2.4.1 / 2019-05-09

  • a11y updates for settings tabs

2.4.0 / 2019-01-30

  • remove language pack updates for selected plugins/themes
  • only add WSOD bypass when appropriate

2.3.0 / 2019-01-22

  • add bypass for WordPress 5.2 WSOD Shutdown Handler
  • move loading hooks out of constructors
  • pass saved options to class constructors

2.2.0 / 2018-11-25

  • use composer for dependencies and autoloader

2.1.0 / 2018-10-01

  • updated error handling in Singleton factory
  • added class Bootstrap to allow for easier time with main plugin file

2.0.0

  • refactored to have each group in its own class, much more OOPy 😉
  • use wpcs codesniffer
  • removed checkboxes and delete links for checked plugins/themes

1.6.0 / 2018-05-26

  • added ability to use local file server on LAN during development
  • refactored hiding of update row to use jQuery and remove row, not CSS dislay none
  • update to PSR-2

1.5.0

  • stopped creation of generic global variables

1.4.0 / 2017-04-16

  • redesigned Settings to put checkbox in front of plugin/theme name
  • updated screenshots

1.3.1 / 2017-04-13

  • move Autoloader to new location
  • cleanup

1.3.0 / 2016-11-06

  • fixed PHP notice on settings page
  • correctly load translations
  • added our own PHP version check

1.2.4

  • cast self::$themes as array when empty, fixes PHP notice

1.2.3

  • fixed saving on single install when nothing selected

1.2.2

  • fix PHP notices on initial install and no saved settings

1.2.1

  • fix PHP notice

1.2

  • add hiding of update messages for GitHub Updater

1.1

  • specify admin_head-settings_page_local-development to add styles

1.0

  • rebrand as Local Development

0.2

  • hide update nag for selected repositories to prevent updating

0.1

  • initial release