Skip to content

Commit

Permalink
Removed wordpress-settings-api-class
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhendricks committed Dec 16, 2018
1 parent fe679d7 commit b04e486
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 155 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ See the [Getting Started](https://github.com/dmhendricks/wordpress-base-plugin/w

* Add plugin `uninstall.php`
* Switch to [webpack](https://webpack.js.org/) for frontend dependency management
* Remove or replace [wordpress-settings-api-class](https://github.com/tareq1988/wordpress-settings-api-class/) example with something actively developed
* ~~Remove or replace [wordpress-settings-api-class](https://github.com/tareq1988/wordpress-settings-api-class/) example with something actively developed~~
* Clean up Carbon Fields _custom_ CSS classes
* Add automatic GitHub update example
* Add Gutenberg block examples
Expand Down
3 changes: 0 additions & 3 deletions app/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ public function load_plugin() {
// Add a settings page to the Network Admin (requires multisite)
if ( is_multisite() ) new Settings\Network_Settings_Page();

// Alternatively, add admin settings page using wordpress-settings-api-class
new Settings\WPSAC_Page();

// Add Customizer panels and options
new Settings\Customizer_Options();

Expand Down
149 changes: 0 additions & 149 deletions app/Settings/WPSAC_Page.php

This file was deleted.

2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@
"php": ">=5.6.4",
"jjgrainger/posttypes": "^2.0.1",
"tgmpa/tgm-plugin-activation": "^2.6.1",
"tareq1988/wordpress-settings-api-class": "dev-master",
"dmhendricks/wordpress-toolkit": "^0.4.1",
"underdev/requirements": "^1.3",
"inc2734/wp-customizer-framework": "3.2.3",
"composer/installers": "^1.0.6"
},
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"VendorName\\PluginName\\": "app/",
Expand Down

0 comments on commit b04e486

Please sign in to comment.