Make WordPress Core


Ignore:
Timestamp:
11/24/2014 04:57:17 AM (10 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r30227 r30537  
    914914
    915915    /**
    916      * Get a list of CSS classes for the <table> tag
    917      *
    918      * @since 3.1.0
    919      * @access protected
    920      *
    921      * @return array
     916     * Get a list of CSS classes for the list table table tag.
     917     *
     918     * @since 3.1.0
     919     * @access protected
     920     *
     921     * @return array List of CSS classes for the table tag.
    922922     */
    923923    protected function get_table_classes() {
     
    959959
    960960    /**
    961      * Generate the <tbody> part of the table
     961     * Generate the tbody element for the list table.
    962962     *
    963963     * @since 3.1.0
Note: See TracChangeset for help on using the changeset viewer.