Skip to content

docs: fix 'Indexable_Presention' -> 'Indexable_Presentation' in docblock#23174

Merged
enricobattocchi merged 1 commit intoYoast:trunkfrom
MukundaKatta:codex/fix-indexable-presention-docblock-typo
Apr 20, 2026
Merged

docs: fix 'Indexable_Presention' -> 'Indexable_Presentation' in docblock#23174
enricobattocchi merged 1 commit intoYoast:trunkfrom
MukundaKatta:codex/fix-indexable-presention-docblock-typo

Conversation

@MukundaKatta
Copy link
Copy Markdown
Contributor

@MukundaKatta MukundaKatta commented Apr 20, 2026

Summary

`src/integrations/front-end-integration.php` line 475 documents the `wpseo_frontend_presentation` filter's first argument as `Indexable_Presention`, which is a typo — the real class is `Indexable_Presentation` (see `src/presentations/indexable-presentation.php`).

Before:
```

  • @param Indexable_Presention $presentation The indexable presentation.
    ```

After:
```

  • @param Indexable_Presentation $presentation The indexable presentation.
    ```

This is inside a docblock describing a `apply_filters` hook, so the fix makes the IDE/type-hinting and filter reference docs correct without changing runtime behavior.

Closes #23147

Summary

This PR can be summarized in the following changelog entry:

Testing

PHPDoc-only change; no code path altered. Verified the referenced class `Indexable_Presentation` exists in `src/presentations/indexable-presentation.php`.

@enricobattocchi enricobattocchi added this to the 27.6 milestone Apr 20, 2026
@enricobattocchi enricobattocchi added changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog changelog: other Needs to be included in the 'Other' category in the changelog and removed changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog labels Apr 20, 2026
@enricobattocchi enricobattocchi merged commit 1fbf77b into Yoast:trunk Apr 20, 2026
28 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: other Needs to be included in the 'Other' category in the changelog community-patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Fix typo in docblock

3 participants