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

Deprecated functions are no longer marked as deprecated in docs #229

Open
jrfnl opened this issue Mar 18, 2022 · 1 comment
Open

Deprecated functions are no longer marked as deprecated in docs #229

jrfnl opened this issue Mar 18, 2022 · 1 comment

Comments

@jrfnl
Copy link
Member

jrfnl commented Mar 18, 2022

Deprecated functions used to/are supposed to be marked with a "This .. is deprecated since ..., use ... instead" banner near the top of the documentation page.

This currently does not work.

Example: https://developer.wordpress.org/reference/functions/sticky_class/
Source: https://core.trac.wordpress.org/browser/tags/5.9/src/wp-includes/deprecated.php#L3149

@GaryJones
Copy link
Member

GaryJones commented Jul 1, 2022

Screenshot 2022-07-01 at 09 50 56

Seems to be there now (albeit not with the since version number).

Since it's a display issue, it's probably better off in https://github.com/WordPress/wporg-developer/ as presumably there's at least some parsing happening correctly right now (not sure if since version is not parsed out correctly, in which case that would be an issue for this repo).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants