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

Quality of Life / Modernization #72

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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
17 changes: 7 additions & 10 deletions cmb2-attached-posts-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
* Plugin Name: CMB2 Field Type: Attached Posts
* Plugin URI: https://github.com/WebDevStudios/cmb2-attached-posts
* Description: Attached posts field type for CMB2.
* Version: 1.2.7
* Author: WebDevStudios
* Author URI: http://webdevstudios.com
* Version: 2.1
* Author: WebDevStudios, Ipstenu
* License: GPLv2+
*/

Expand All @@ -18,8 +17,6 @@
* @package WDS_CMB2_Attached_Posts_Field
* @author WebDevStudios <[email protected]>
* @copyright 2016 WebDevStudios <[email protected]>
* @license GPL-2.0+
* @version 1.2.7
* @link https://github.com/WebDevStudios/cmb2-attached-posts
* @since 1.2.3
*/
Expand All @@ -46,7 +43,7 @@
* Loader versioning: http://jtsternberg.github.io/wp-lib-loader/
*/

if ( ! class_exists( 'WDS_CMB2_Attached_Posts_Field_127', false ) ) {
if ( ! class_exists( 'WDS_CMB2_Attached_Posts_Field_210', false ) ) {

/**
* Versioned loader class-name
Expand All @@ -57,18 +54,18 @@
* @package WDS_CMB2_Attached_Posts_Field
* @author WebDevStudios <[email protected]>
* @license GPL-2.0+
* @version 1.2.7
* @version 2.1.0
* @link https://github.com/WebDevStudios/cmb2-attached-posts
* @since 1.2.3
*/
class WDS_CMB2_Attached_Posts_Field_127 {
class WDS_CMB2_Attached_Posts_Field_210 {

/**
* WDS_CMB2_Attached_Posts_Field version number
* @var string
* @since 1.2.3
*/
const VERSION = '1.2.7';
const VERSION = '2.1';

/**
* Current version hook priority.
Expand Down Expand Up @@ -155,5 +152,5 @@ public function include_lib() {
}

// Kick it off.
new WDS_CMB2_Attached_Posts_Field_127;
new WDS_CMB2_Attached_Posts_Field_210();
}
Loading