Skip to content
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

[BUG] Missing docs for Post::meta() #2982

Open
75th opened this issue Apr 30, 2024 · 1 comment
Open

[BUG] Missing docs for Post::meta() #2982

75th opened this issue Apr 30, 2024 · 1 comment
Assignees
Labels

Comments

@75th
Copy link

75th commented Apr 30, 2024

Expected Behavior

The Timber\Post documentation page should document the ::meta() method.

Actual behavior

That documentation page makes no mention of it, except where the deprecated ::get_field() method has a broken link to it.

Steps to reproduce behavior

  1. Read the Timber 2.x docs about Timber\Post
  2. See that ::get_field() is deprecated and links to the ::meta() method.
  3. Click the link and be taken to the top of the page instead of any documentation for ::meta().

Notes

No response

What version of Timber are you using?

Timber 2.x

What version of WordPress are you using?

No response

What version of PHP are you using?

No response

How did you install Timber?

Installed or updated Timber through Composer

@gchtr
Copy link
Member

gchtr commented May 1, 2024

@75th Thanks for posting this issue. This is something that I have noted for myself to fix after we moved the meta() methods from the different Timber objects to Timber\CoreEntity.

I just added an issue in our docs (timber/teak#4) to handle this.

@gchtr gchtr added the docs label May 1, 2024
@gchtr gchtr self-assigned this May 1, 2024
@75th 75th changed the title [BUG] Your title [BUG] Missing docs for Post::meta() May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants