Comments (3)
Alternative... hardcode the solution in plugins where the CPT and custom taxonomies were originally created using oik-types but which would benefit from being registered in real code. e.g. bigram.
This alternative solution only appears to work when the oik-types plugin is deactivated.
There must be something wrong with the way oik-types overrides the programmatically created registration with its version.
from oik-types.
There was. It was replacing the definition in the filter function for "register_post_type_args".
So if the previously saved values did not contain all the keys passed to register_post_type() then these values were lost. Merging the arrays seems to fix the problem.
from oik-types.
Closing this issue now. As of oik v4.4.0 we also support custom fields in the REST API.
from oik-types.
Related Issues (20)
- Fatal error when bw_trace2 function not defined
- Support discovery of unregistered post types
- Support for WordPress 5.0 and the new editor - Gutenberg HOT 5
- Update strings for the 'post_type_supports' filter
- 100% translatable and localizable HOT 1
- Add singular_name to custom taxonomies HOT 1
- A customized post type prevents new taxonomies from being registered
- Should a deregistered CPT or taxonomy continue due to overrides? HOT 3
- Enable Reusable Blocks in the admin menu HOT 4
- Warning: Trying to access array offset on value of type null admin\oik-fields.php HOT 1
- Cater for new labels in CPT registration HOT 1
- Warning: Trying to access array offset on value of type null in oik-types\admin\oik-types.php on line 347 HOT 2
- oik-types should be able to turn off options such as `show_in_nav_menus` HOT 3
- oik-types: Notice: is_home was called incorrectly using WPForms HOT 2
- Support `has_archive` parameter set to a string value such as `shop` HOT 1
- Warning message for Add new Type HOT 1
- Uncaught TypeError: t.map is not a function HOT 4
- Support PHP 8.1, PHP 8.2 & PHP 8.3 HOT 6
- Warning from oik-types.php line 542 HOT 1
- Automatically support CPTs which are attached to the category taxonomy HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oik-types.