Skip to content

Commit ab75a29

Browse files
committed
Bumped minimum PHP version to 5.4
1 parent 3cb824f commit ab75a29

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ It may also be used as the means of [separating custom code](http://www.billeric
5151

5252
Release changes are noted on the [Releases](https://github.com/dmhendricks/wordpress-base-plugin/releases) page.
5353

54+
#### Branch: `master`
55+
56+
* Bumped minimum PHP version check to 5.4
57+
5458
## Credits
5559

5660
Please support [humans.txt](http://humanstxt.org/). It's an initiative for knowing the people behind a web site. It's an unobtrusive text file that contains information about the different people who have contributed to building the web site.

app/Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public function load_plugin() {
6565
// Perform core plugin logic
6666
new Core();
6767

68-
// Create custom post types - dependency requires PHP 5.4 or higher
69-
//new CPT();
68+
// Create custom post types
69+
new CPT();
7070

7171
// Load custom widgets
7272
new WidgetLoader();

wordpress-base-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
'url' => plugin_dir_url( __FILE__ ),
4242
'object_cache_group' => 'my_plugin_cache',
4343
'object_cache_expire' => 72, // In hours
44-
'deps' => array( 'php' => '5.3.0', 'carbon_fields' => '2.0.0' ),
44+
'deps' => array( 'php' => '5.4.0', 'carbon_fields' => '2.0.0' ),
4545
'plugin_file' => plugin_basename( __FILE__ ),
4646
'prefix' => 'myplugin_' // Change to your own unique field prefix
4747
));

0 commit comments

Comments
 (0)