Skip to content

Commit

Permalink
initial planning
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed May 15, 2022
1 parent a0d3759 commit dd8a39a
Show file tree
Hide file tree
Showing 23 changed files with 485 additions and 48,694 deletions.
2 changes: 1 addition & 1 deletion assets/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
},
rest: {
endpoints: {
settings: '/wp-json/PluginPrefix/v1/settings'
settings: '/wp-json/bunnyflare/v1/settings'
}
},
settingStructure: {"sections":{"general":"General","advanced":"Advanced","debugging":"Debugging"},"options":{"input":{"name":"Input","description":"Simple text input","section":"general","type":"text","default":""},"email":{"name":"Email","description":"Email type input","section":"general","type":"email","default":""},"url":{"name":"URL","description":"URL input","section":"general","type":"url","default":""},"color":{"name":"Color","description":"Color picker","section":"general","type":"color","default":"#000"},"textarea":{"name":"Textarea","description":"Simple textarea","section":"general","type":"textarea","default":""},"dropdown":{"name":"Select one","description":"Single select dropdown","section":"general","type":"dropdown","default":"option1","options":["option1","option2","option3"]},"additional_css":{"name":"Additional CSS","description":"Add additional CSS to page","section":"advanced","type":"code","default":""},"enable_debug_messages":{"name":"Enable Debug Messages","description":"When enabled the plugin will output debug messages in the JavaScript console.","section":"debugging","type":"toggle","default":false},"cleanup_db_on_plugin_uninstall":{"name":"Cleanup database upon plugin uninstall","description":"When enabled the plugin will remove any database data upon plugin uninstall.","section":"advanced","type":"toggle","default":false},"include_post_types":{"name":"Post Types","description":"Demo multi-select dropdown","section":"general","type":"dropdownMultiselect","optionsCallback":{},"default":["post","page"],"options":["post","page"]}}}
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"preferred-install": "dist",
"sort-packages": true,
"classmap-authoritative": false,
"classloader-suffix": "PluginSpace",
"autoloader-suffix": "PluginSpace",
"classloader-suffix": "Bunnyflare",
"autoloader-suffix": "Bunnyflare",
"process-timeout": 0,
"vendor-dir": "vendor",
"platform-check": false,
Expand All @@ -30,7 +30,7 @@
},
"autoload": {
"psr-4": {
"PluginSpace\\": "includes/"
"Bunnyflare\\": "includes/"
}
},
"autoload-dev": {
Expand Down
Loading

0 comments on commit dd8a39a

Please sign in to comment.