mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented.
Affects DocBlocks for the following core elements: * Two arguments in `_walk_bookmarks()` * A code snippet in the class header for `WP_Roles` * A code snippet in the class header for `WP_HTTP_Proxy` * Inline code fixes in the summary and a parameter description for `WP_oEmbed::discover()` * An argument description in `_WP_Editors::parse_settings()` * Inline code fixes in the summary and a parameter description the `embed_oembed_discover` hook. Props rarst. See #30473. git-svn-id: https://develop.svn.wordpress.org/trunk@30536 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -291,9 +291,9 @@ class WP_oEmbed {
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to find oEmbed provider discovery <link> tags at the given URL.
|
||||
* Attempts to discover link tags at the given URL for an oEmbed provider.
|
||||
*
|
||||
* @param string $url The URL that should be inspected for discovery <link> tags.
|
||||
* @param string $url The URL that should be inspected for discovery `<link>` tags.
|
||||
* @return bool|string False on failure, otherwise the oEmbed provider URL.
|
||||
*/
|
||||
public function discover( $url ) {
|
||||
|
||||
Reference in New Issue
Block a user