Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure PHP code into separate files #985

Merged
merged 7 commits into from
Jun 5, 2017
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions bin/build-plugin-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ rm -f gutenberg.zip

# Generate the plugin zip file
zip -r gutenberg.zip \
index.php \
post-content.js \
blocks/build \
components/build \
date/build \
editor/build \
element/build \
i18n/build \
utils/build \
README.md
gutenberg.php \
lib/*.php \
post-content.js \
blocks/build \
components/build \
date/build \
editor/build \
element/build \
i18n/build \
utils/build \
README.md
15 changes: 15 additions & 0 deletions gutenberg.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* Plugin Name: Gutenberg
* Plugin URI: https://github.com/WordPress/gutenberg
* Description: Prototyping since 1440. This is the development plugin for the new block editor in core. <strong>Meant for development, do not run on real sites.</strong>
* Version: 0.1.0
* Author: Gutenberg Team
*
* @package gutenberg
*/

require_once dirname( __FILE__ ) . '/lib/blocks.php';
require_once dirname( __FILE__ ) . '/lib/client-assets.php';
require_once dirname( __FILE__ ) . '/lib/i18n.php';
require_once dirname( __FILE__ ) . '/lib/register.php';
Loading