Skip to content

Improve support for CPT and CTT #61

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

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 12 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@

- Added new [`WordPressScheduleServiceProvider`](https://wpbones.com/docs/ServicesProvider/schedule) service provider to manage the WordPress cron jobs
- Added new `php bones make:schedule` command to create a new WordPress cron job
- Added new [WPKirk-Cron-Boilerplate](https://github.com/wpbones/WPKirk-Cron-Boilerplate) example plugin
- Added new [WPKirk-Hooks-Boilerplate](https://github.com/wpbones/WPKirk-Hooks-Boilerplate) example plugin
- Added new [Ondapresswp-Cron-Boilerplate](https://github.com/wpbones/Ondapresswp-Cron-Boilerplate) example plugin
- Added new [Ondapresswp-Hooks-Boilerplate](https://github.com/wpbones/Ondapresswp-Hooks-Boilerplate) example plugin
- Added new [`wpbones_cache()`](https://wpbones.com/docs/helpers#wpbones_cache) helper function to manage a simple cached data in the WordPress transients
- Added new [`wpbones_import()`](https://wpbones.com/docs/helpers#wpbones_import) helper function and [`import()`](https://wpbones.com/docs/helpers#import) alias for streamlined [module](https://wpbones.com/docs/CoreConcepts/hooks-modules/) folder management
- Added new `file` property in the `Plugin Class` as alias of `__FILE__` constant
Expand Down Expand Up @@ -94,15 +94,15 @@
- Added new `$usePrefix`property in the `Model` class to query the database table with or without the table prefix.
- Added new `$usePrefix`property in the `Migration` class to query the database table with or without the table prefix.
- Added new `$usePrefix`property in the `Seeder` class to query the database table with or without the table prefix.
- Added new [WPKirk-Database-Boilerplate](https://github.com/wpbones/WPKirk-Database-Boilerplate) example plugin.
- Added new [Ondapresswp-Database-Boilerplate](https://github.com/wpbones/Ondapresswp-Database-Boilerplate) example plugin.

### 💎 Changed and Improved

- Updated the [Logging documentation](https://wpbones.com/docs/CoreConcepts/logging) to reflect the new changes.
- Updated the [Core Plugin Files documentation](https://wpbones.com/docs/CorePluginFiles/config/config-plugin) to reflect the new changes.
- Database table prefix is now optional in the `DB::table()` method, `Model`, `Migration`, and `Seeder` classes.
- Updated the [Database](https://wpbones.com/docs/DatabaseORM/eloquent-orm) documentation to reflect the new changes.
- Updated and improved the [WPKirk Demo](https://github.com/wpbones/WPKirk) plugin.
- Updated and improved the [Ondapresswp Demo](https://github.com/wpbones/Ondapresswp) plugin.

### 🐛 Fixed

Expand Down Expand Up @@ -162,20 +162,20 @@
- Added [`withInlineScript()`](https://wpbones.com/docs/CoreClasses/view#withinlinescript) fluent method in the [`View Class`](https://wpbones.com/docs/CoreClasses/view)
- Added [`withInlineStyle()`](https://wpbones.com/docs/CoreClasses/view#withinlinestyle) fluent method in the [`View Class`](https://wpbones.com/docs/CoreClasses/view)
- Added [CHANGELOG.md](https://github.com/wpbones/WPBones/blob/master/CHANGELOG.md) file.
- Added new [WP Bones API Boilerplate](https://github.com/wpbones/WPKirk-API-Boilerplate) example plugin.
- Added new [WP Bones Internationalization Boilerplate](https://github.com/wpbones/WPKirk-Internationalization-Boilerplate) example plugin.
- Added new [WP Bones Mantine Boilerplate](https://github.com/wpbones/WPKirk-Mantine-Boilerplate) example plugin.
- Added new [WP Bones ReactJS Boilerplate](https://github.com/wpbones/WPKirk-ReactJS-Boilerplate) example plugin.
- Added new [WP Bones Routes Boilerplate](https://github.com/wpbones/WPKirk-Routes-Boilerplate) example plugin.
- Added new [WP Bones API Boilerplate](https://github.com/wpbones/Ondapresswp-API-Boilerplate) example plugin.
- Added new [WP Bones Internationalization Boilerplate](https://github.com/wpbones/Ondapresswp-Internationalization-Boilerplate) example plugin.
- Added new [WP Bones Mantine Boilerplate](https://github.com/wpbones/Ondapresswp-Mantine-Boilerplate) example plugin.
- Added new [WP Bones ReactJS Boilerplate](https://github.com/wpbones/Ondapresswp-ReactJS-Boilerplate) example plugin.
- Added new [WP Bones Routes Boilerplate](https://github.com/wpbones/Ondapresswp-Routes-Boilerplate) example plugin.
- Added a new [Flags Package](https://wpbones.com/docs/Packages/flags) to manage the static feature flags in your plugin.

### 💎 Changed and Improved

- The `bones` command displays the [WP-CLI](https://make.wordpress.org/cli/handbook/guides/installing/) version.
- Minor fixes and improvements in the `bones` command.
- Updated and improved the [Documentation](https://wpbones.com/docs).
- Updated the [WPBones demo plugin](https://github.com/wpbones/WPKirk).
- Updated the [WPBones Boilerplate plugin](https://github.com/wpbones/WPKirk-Boilerplate)
- Updated the [WPBones demo plugin](https://github.com/wpbones/Ondapresswp).
- Updated the [WPBones Boilerplate plugin](https://github.com/wpbones/Ondapresswp-Boilerplate)
- Update the [Help Functions](https://wpbones.com/docs/helpers) documentation.

### 🐛 Fixed
Expand All @@ -189,7 +189,7 @@
- Deprecated `withLocalizeScripts()` fluent methods in the [`View Class`](https://wpbones.com/docs/CoreClasses/view) - use `withLocalizeScript()` instead.
- Deprecated `withAdminAppsScripts()` fluent methods in the [`View Class`](https://wpbones.com/docs/CoreClasses/view) - use `withAdminAppsScript()` instead.
- Deprecated `getBasePath()`and `getBaseUri()` methods in the [`Plugin Class`](https://wpbones.com/docs/CoreClasses/plugin) - use `basePath` and `baseUri` properties instead.
- In the [WPBones demo plugin](https://github.com/wpbones/WPKirk) and [WPBones Boilerplate plugin](https://github.com/wpbones/WPKirk-Boilerplate) we have renamed the `localization` folder to `languages`.
- In the [WPBones demo plugin](https://github.com/wpbones/Ondapresswp) and [WPBones Boilerplate plugin](https://github.com/wpbones/Ondapresswp-Boilerplate) we have renamed the `localization` folder to `languages`.

## 🤝 Suggestions

Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"src/helpers.php"
],
"psr-4": {
"WPKirk\\WPBones\\": "src/"
"Ondapresswp\\WPBones\\": "src/"
}
},
"description": "WordPress framework for Laravel developers",
Expand All @@ -28,11 +28,12 @@
"name": "wpbones/wpbones",
"require": {
"php": ">=7.4",
"eftec/bladeone": "^4.13"
"eftec/bladeone": "^4.13",
"illuminate/database": "^12.3"
},
"support": {
"issues": "https://github.com/wpbones/WPBones/issues",
"source": "https://github.com/wpbones/WPBones/"
},
"type": "library"
}
}
Loading