Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Ryan, thanks for your feedback. This bug is fixed here.
Anh Tran
KeymasterHi Doug, glad that you resolved this problem!
August 19, 2019 at 9:26 PM in reply to: "Trying to get property 'plugin' of non-object" after upgrade to metabox 5.x #15760Anh Tran
KeymasterHi, which version of WordPress are you using? Since v5, WordPress has a mechanism that allows you to access the Dashboard if there's any error. Please try it first. The please go to Dashboard -> Updates and click "Check Now" button to refresh the updates.
If bug still happens, please send me a temporary admin account. I'll check that for you.
Anh Tran
KeymasterHi,
I guess you're using Meta Box Updater extension, aren't you? If that's the case, please remove it. You don't need it anymore, since the updater is bundled inside Meta Box.
If you are not, then please take screenshot of the License page after you submit the license key and post here. I just want to see the status message. It will show if a license is valid, expired or invalid.
Anh Tran
KeymasterHi, what is the problem that you experienced? Can you provide more details?
Also, please go to Dashboard > Updates and click "Check Again" button. That might refresh the updates.
Anh Tran
KeymasterHi, can you try the
taxonomy_advancedfield? Thetaxonomyfield will set post terms, which doesn't work for users.Anh Tran
KeymasterHi,
Did you create a meta box with
premium_categoriesfield for the users?August 17, 2019 at 9:12 PM in reply to: ✅Fields are not displayed in custom post type edit form #15731Anh Tran
KeymasterHi,
I see you miss the
post_typesparameter for the meta box. It should point to your custom post type:'post_types' => ['so_offer'],Anh Tran
KeymasterHey guys,
I finish the code for the sanitizer part.
It works like this:
- Sanitization is auto applied for all built-in types.
- For custom field types, developers needs to implement their sanitization via
sanitize_callbackparameter. If no sanitize callback is provided, the field won't be sanitize. I do this to not break the websites at the moment. In the future, I might add default sanitization for all custom field types ifsanitize_callbackis not defined. At this stage, I think this is enough. - Developers can also bypass sanitization by setting
'sanitize_callback' => 'none'(if set to a callable, it will be used for sanitization).
I'll merge the commits and release a new version for Meta Box next week.
Thank you all for your feedback!
Anh Tran
KeymasterHey Steven,
I've just updated MB Blocks to 1.0.4 to address this issue. I have confirmed with Alex that it's working. Please update the extension.
Anh Tran
KeymasterHey guys,
Thanks for your feedback. Based on what FED offered, I think this patch is a little better. Can you please try replace the line 240 in the
conditional-logic.jswith this?if ( ! isGutenbergElement( logic[0] ) && ! dependentFieldSelector && $scope && $scope.hasClass( 'rwmb-group-clone' ) ) {I'll release a new version when it's confirmed. Thanks!
Anh Tran
KeymasterHi, this bug is fixed here. New version of Meta Box will come next week.
Anh Tran
KeymasterHi David,
Your feedback is great and that's exactly what I'm looking for. My reply above was just a discussion about your ideas.
I'll consider your suggestions. Thanks.
Anh Tran
KeymasterHi, I've tested with your code and it works. Please see my video: https://www.loom.com/share/b104b120c7d64513a7b7a1e10f605949
Please try clear the browser cache and try again. I guess some scripts are missing. Please check the console as well.
Anh Tran
KeymasterHi,
I found the problem. You're using a child theme, and in the
register.phpfunction that registers the block it refers to the parent theme folder:'render_template' => get_template_directory() . '/blocks/hero/template.php', 'enqueue_style' => get_template_directory_uri() . '/blocks/hero/style.css',It should change to:
'render_template' => get_stylesheet_directory() . '/blocks/hero/template.php', 'enqueue_style' => get_stylesheet_directory_uri() . '/blocks/hero/style.css',I made the change in your site and it works.
-
AuthorPosts