Skip to content

Commit b6e6228

Browse files
committed
Upgrade plugin framework to 068 (though potentially still in-progress)
1 parent ad0b006 commit b6e6228

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Change: Add translator comments for a pair of strings with placeholders that didn't have one
1414
* Fix: Fix typo
1515
* New: Add DEVELOPER-DOCS.md and move hooks documentation into it
16-
* Change: Update plugin framework to 067
16+
* Change: Update plugin framework to 068
1717
* 068:
1818
* Change: Ignore a PHPCS warning that doesn't apply
1919
* Change: Minor code reformatting

‎add-admin-css.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'c2c-plugin.php' );
4747

48-
final class c2c_AddAdminCSS extends c2c_Plugin_067 {
48+
final class c2c_AddAdminCSS extends c2c_Plugin_068 {
4949

5050
/**
5151
* Name of plugin's setting.

‎c2c-plugin.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @package C2C_Plugin
44
* @author Scott Reilly
5-
* @version 067
5+
* @version 068
66
*/
77
/*
88
Basis for other plugins.
@@ -31,9 +31,9 @@
3131

3232
defined( 'ABSPATH' ) or die();
3333

34-
if ( ! class_exists( 'c2c_Plugin_067' ) ) :
34+
if ( ! class_exists( 'c2c_Plugin_068' ) ) :
3535

36-
abstract class c2c_Plugin_067 {
36+
abstract class c2c_Plugin_068 {
3737

3838
/** @var string The name of the option used to store plugin's settings. */
3939
public $admin_options_name = '';
@@ -133,7 +133,7 @@ abstract class c2c_Plugin_067 {
133133
* @since 040
134134
*/
135135
public function c2c_plugin_version() {
136-
return '067';
136+
return '068';
137137
}
138138

139139
/**

‎tests/phpunit/tests/add-admin-css.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@ public function test_class_name() {
188188
}
189189

190190
public function test_plugin_framework_class_name() {
191-
$this->assertTrue( class_exists( 'c2c_Plugin_067' ) );
191+
$this->assertTrue( class_exists( 'c2c_Plugin_068' ) );
192192
}
193193

194194
public function test_plugin_framework_version() {
195-
$this->assertEquals( '067', $this->obj->c2c_plugin_version() );
195+
$this->assertEquals( '068', $this->obj->c2c_plugin_version() );
196196
}
197197

198198
public function test_version() {

‎tests/phpunit/tests/c2c-plugin.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,15 @@ public static function invalid_config_attributes() {
147147

148148

149149
public function test_plugin_framework_class_name() {
150-
$this->assertTrue( class_exists( 'c2c_Plugin_067' ) );
150+
$this->assertTrue( class_exists( 'c2c_Plugin_068' ) );
151151
}
152152

153153
/*
154154
* c2c_plugin_version()
155155
*/
156156

157157
public function test_plugin_framework_version() {
158-
$this->assertEquals( '067', $this->obj->c2c_plugin_version() );
158+
$this->assertEquals( '068', $this->obj->c2c_plugin_version() );
159159
}
160160

161161
/*

0 commit comments

Comments
 (0)