Git Product home page Git Product logo

wporg-mu-plugins's Introduction

wporg-mu-plugins

Over time, this is intended to become the canonical source repository for all mu-plugins on the WordPress.org network. At the moment, it only includes a few.

Usage

  1. Add entries to the repositories and require-dev sections of composer.json. See wporg-news-2021 composer.json as an example.
  2. Run composer update to install it
  3. require_once the files that you want. e.g.,
    require_once WPMU_PLUGIN_DIR . '/wporg-mu-plugins/mu-plugins/blocks/global-header-footer/blocks.php';
  4. See individual plugin readmes for specific instructions

Development

  • npm run start during development, only builds style.css
  • npm run build before commit/sync/deploy, builds style.css and style-rtl.css.
  • npm run build:rtl to build style-rtl.css

Sync/Deploy

The built here are synced to dotorg.svn so they can be deployed. The aren't synced to meta.svn, since they're already open.

The other mu-plugins in meta.svn are not synced here. Over time, they can be removed from meta.svn and added here.

To sync these to dotorg.svn, run bin/sync/wporg-mu-plugins.sh on a w.org sandbox. Once they're committed, you can deploy like normal.

wporg-mu-plugins's People

Contributors

ryelle avatar iandunn avatar dd32 avatar stevendufresne avatar renintw avatar adamwoodnz avatar coreymckrill avatar tellyworth avatar maggiecabrera avatar mikachan avatar danieldudzic avatar alexstine avatar scruffian avatar coffee2code avatar smit2808 avatar varshil-doshi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.