wp-posts-to-posts
wp-posts-to-posts copied to clipboard
Optional parameter deprecation notices in PHP 8
> wp plugin list
Deprecated: Optional parameter $formdata declared before required parameter $nonce is implicitly treated as a required parameter in wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Forms.php on line 65
Deprecated: Optional parameter $file declared before required parameter $args is implicitly treated as a required parameter in wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Cron.php on line 24
+----------------------------------+----------+--------+---------+
| name | status | update | version |
+----------------------------------+----------+--------+---------+
| posts-to-posts | active | none | 1.7 |
https://php.watch/versions/8.0/deprecate-required-param-after-optional
Related #576
These deprecations are actually inside scb-framework, this plugin depends on.
I created a PR to fix them over there. As soon as that is merged, we can update the composer version of scb-framework
for wp-posts-to-posts
.