[wp-meta] [Making WordPress.org] #6570: Add full function reference to og:title meta head for code reference pages
Making WordPress.org
noreply at wordpress.org
Thu Nov 10 02:28:00 UTC 2022
#6570: Add full function reference to og:title meta head for code reference pages
-------------------------------+---------------------
Reporter: aurovrata | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Resolution:
Keywords: close 2nd-opinion |
-------------------------------+---------------------
Changes (by dd32):
* keywords: => close 2nd-opinion
Comment:
Unfortunately titles displayed in search engines are limited in
characters, you can kind of see this in action if you search Google for
`WP_REST_Application_Passwords_Controller` where you'll find that it
discards the actual `<title>` & `og:title` and goes for the `<h1>`
instead.
The description shown is also character limited, ~130char as in the
example of `register_block_script_handle`, which if the function syntax
was added, would leave little room for an actual human-readable
description (and I honestly believe Search Engines would internally decide
that code isn't human readable, so isn't a good result, and so would
source it from elsewhere on the page, like the above `<h1>` example).
I don't really see this as being a viable change.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6570#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list