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

Update plugin version to 2.7.0 #6256

Merged
merged 2 commits into from
Apr 18, 2018
Merged
Show file tree
Hide file tree
Changes from all 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
26 changes: 0 additions & 26 deletions element/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ import {
upperFirst,
} from 'lodash';

/**
* WordPress dependencies
*/
import { deprecated } from '@wordpress/utils';

/**
* Internal dependencies
*/
Expand Down Expand Up @@ -175,27 +170,6 @@ export function switchChildrenNodeName( children, nodeName ) {
*/
export { flowRight as compose };

/**
* Returns a wrapped version of a React component's display name.
* Higher-order components use getWrapperDisplayName().
*
* @param {Function|Component} BaseComponent Used to detect the existing display name.
* @param {string} wrapperName Wrapper name to prepend to the display name.
*
* @return {string} Wrapped display name.
*/
export function getWrapperDisplayName( BaseComponent, wrapperName ) {
deprecated( 'getWrapperDisplayName', {
version: '2.7',
alternative: 'wp.element.createHigherOrderComponent',
plugin: 'Gutenberg',
} );

const { displayName = BaseComponent.name || 'Component' } = BaseComponent;

return `${ upperFirst( camelCase( wrapperName ) ) }(${ displayName })`;
}

/**
* Given a function mapping a component to an enhanced component and modifier
* name, returns the enhanced component augmented with a generated displayName.
Expand Down
2 changes: 1 addition & 1 deletion gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Gutenberg
* Plugin URI: https://github.com/WordPress/gutenberg
* Description: Printing since 1440. This is the development plugin for the new block editor in core.
* Version: 2.6.0
* Version: 2.7.0
* Author: Gutenberg Team
*
* @package gutenberg
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gutenberg",
"version": "2.6.0",
"version": "2.7.0",
"description": "A new WordPress editor experience",
"main": "build/app.js",
"repository": "git+https://github.com/WordPress/gutenberg.git",
Expand Down