mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +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: * Backtick-escapes a `<link>` tag in a parameter description for the `embed_oembed_discover` hook * Inline code fixes in the summary and return description for `WP_List_Table::get_table_classes()` * Removes HTML markup from the summary for `WP_List_Table::display_rows_or_placeholder()` * Backtick-escapes a `<tr>` tag in a parameter description for `WP_Users_List_Table::single_row()` * Converts non-DocBlocks into multi-line comments in `WP_Dependencies::do_items()` * Removes HTML markup from the summary for the `comment_form_top` hook. * Inline code and snippet fixes in the description for `wp_get_schedules()` Props rarst for the initial patch. See #30473. git-svn-id: https://develop.svn.wordpress.org/trunk@30537 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -331,7 +331,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||
* @access public
|
||||
*
|
||||
* @param object $user_object The current user object.
|
||||
* @param string $style Optional. Style attributes added to the <tr> element.
|
||||
* @param string $style Optional. Style attributes added to the `<tr>` element.
|
||||
* Must be sanitized. Default empty.
|
||||
* @param string $role Optional. Key for the $wp_roles array. Default empty.
|
||||
* @param int $numposts Optional. Post count to display for this user. Defaults
|
||||
|
||||
Reference in New Issue
Block a user