Skip to content

Deprecation notices on PHP8+ about optional parameters before mandatory ones #148

Description

@MathieuLamiot

Context
https://wp-media.slack.com/archives/C07HCD19B/p1727784189218359
https://secure.helpscout.net/conversation/2720613961/514890

The following deprecation notices are reported on PHP8+:

Deprecated: Optional parameter $search declared before required parameter $table is implicitly treated as a required parameter in /home/nglcom/public_html/negoluz.nz/wp-content/plugins/search-and-replace/inc/Database/Exporter.php on line 295

Deprecated: Optional parameter $replace declared before required parameter $table is implicitly treated as a required parameter in /home/nglcom/public_html/negoluz.nz/wp-content/plugins/search-and-replace/inc/Database/Exporter.php on line 295

There is no impact on the behavior, apart from adding deprecation notices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions