LocalDev Switcher

Description

LocalDev Switcher allows you to seamlessly toggle between production plugins and their local development versions.

Usage:

  1. Place your local dev version of a plugin in:

    wp-content/plugins/localdev-{plugin-slug}

  2. You should now have two directories containing the same plugin inside your /plugins/:

    1. /plugins/your-plugin/ – Loaded from VCS/WordPress.org Plugins/etc.
    2. /plugins/localdev-your-plugin/ – Your local development version
  3. Use LocalDev Switcher to toggle between the version-controlled and local versions. The toggle UI appears in the plugin meta row.

LocalDev Switcher prevents double-loading and ensures only the desired version is active.

Captures d’écran

  • Adds UI to show which plugins you can switch between VCS and Local.
  • Toggle between VCS and Local versions of your plugins in the Plugins list.

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Follow the usage instructions to begin switching between plugin versions.

FAQ

Does this work with themes?

Currently, LocalDev Switcher is designed for plugins only.

What happens if I don’t have a `localdev-{plugin-slug}` version?

LocalDev Switcher will default to using the version-controlled plugin.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs & développeurs

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

Contributeurs

Traduisez « LocalDev Switcher » 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

0.7.0

  • Adding update-assets.yml action for future Tested up to edits without a full deploy.

0.6.9

  • Adding proper perms for uploading ZIP to GitHub release.

0.6.8

  • Updating deploy action to follow latest conventions for 10up/action-wordpress-plugin-deploy.
  • Adding WordPress.org Plugin /assets/ via /.wordpress-org/.

0.6.7

  • Updating deploy action 10up/action-wordpress-plugin-deploy to v1.4.0 to support our current, simple deploy workflow.

0.6.6

  • Fixing deploy action version

0.6.5

0.6.4

  • Updating method for finding plugins within /plugins/.
  • Updating « Usage » documentation for clarity.

0.6.3

  • First public release. Toggle between VCS and local plugin versions via localdev-{plugin-slug} pattern.