mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +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:
@@ -13,14 +13,12 @@
|
||||
* the name in value of the 'name' key. The capabilities are stored as an array
|
||||
* in the value of the 'capability' key.
|
||||
*
|
||||
* <code>
|
||||
* array (
|
||||
* 'rolename' => array (
|
||||
* 'name' => 'rolename',
|
||||
* 'capabilities' => array()
|
||||
* )
|
||||
* )
|
||||
* </code>
|
||||
* array (
|
||||
* 'rolename' => array (
|
||||
* 'name' => 'rolename',
|
||||
* 'capabilities' => array()
|
||||
* )
|
||||
* )
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @package WordPress
|
||||
|
||||
Reference in New Issue
Block a user