Skip to content

Content Replacment null values #2037

@colinmurphy

Description

@colinmurphy

Description

There is a bug with FaustWP not allowing null values for the function callback content_replacment

Steps to reproduce

If you pass a null value for content_replacement, it will throw an error as the function expects a string.

Additional context

No response

@faustwp/core Version

N/A

@faustwp/cli Version

N/A

FaustWP Plugin Version

1.6.0

WordPress Version

6.7

Additional environment details

Issue caused by PR release #2014

Please confirm that you have searched existing issues in the repo.

  • Yes

Metadata

Metadata

Assignees

Labels

type: bugIssue that causes incorrect or unexpected behavior

Type

No type

Projects

Status

✅ Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions