-
Notifications
You must be signed in to change notification settings - Fork 565
Bug Fix - CMB2_Type_Multi_Base.php #1417
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
Conversation
Prevents deprecation notice: Deprecated: Required parameter $i follows optional parameter $args in /../vendor/cmb2/cmb2/includes/types/CMB2_Type_Multi_Base.php on line 34
|
Just got this deprecation notice, so I am checking the rest of the code for similar issues. |
|
Unsure how much backwards compatibility this may introduce, though at least for CMB2 core, all uses pass a counter for this method. Given that it's been a required value, I am assuming everyone is passing something. So, I'm fine with that, but as always want any final concerns checked by @jtsternberg as well. |
…pes::_id, which is where this $i argument is used.
|
Thanks! |
|
Is there any chance to release this fix in the next future? |
|
Since it got merged, I believe it will be part of the next release. Just a question of when the release will happen, at this point. |
|
Just pushed a release. 2.10.0 https://wordpress.org/plugins/cmb2/ |
Prevents deprecation notice:
Deprecated: Required parameter $i follows optional parameter $args in /../vendor/cmb2/cmb2/includes/types/CMB2_Type_Multi_Base.php on line 34
Description
Motivation and Context
Fixes #{issue-number}.
Risk Level
Testing procedure
Types of changes
Checklist:
Screenshots