Make WordPress Core


Ignore:
Timestamp:
11/24/2014 06:30:19 AM (10 years ago)
Author:
DrewAPicture
Message:

Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented.

Affects DocBlocks for the following core elements:

  • Backtick-escape code snippets in the description for get_object_taxonomies()
  • Backtick-escape inline code in a markdown-formatted unordered list in the description for get_taxonomy_labels()
  • Remove an HTML tag from the summary for the Walker_Category_Checklist class
  • Remove an HTML tag from the summary for wp_category_checklist(), various formatting
  • Remove an HTML tag from the summary for wp_terms_checklist()
  • Backtick-escape an HTML tag in the description for wp_popular_terms_checklist()
  • Remove HTML tags from the summaries for page_template_dropdown(), parent_dropdown(), and wp_dropdown_roles()
  • Backtick-escape HTML tags in a parameter description for add_settings_error()
  • Various formatting in the description and summary for settings_errors()
  • Markdown-indent code snippets in the descriptions for wpdb::prepare(), wpdb::insert(), wpdb::replace(), wpdb::update(), and wpdb::delete()
  • Backtick-escape an HTML tag in a parameter description for login_header()
  • Remove HTML tags from the summaries for the lostpassword_form and signup_header hooks

Props rarst.
See #30473.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r30417 r30546  
    2626 * Output the login page header.
    2727 *
    28  * @param string   $title    Optional. WordPress Log In Page title to display in <title> element. Default 'Log In'.
     28 * @param string   $title    Optional. WordPress login Page title to display in the `<title>` element.
     29 *                           Default 'Log In'.
    2930 * @param string   $message  Optional. Message to display in header. Default empty.
    3031 * @param WP_Error $wp_error Optional. The error to pass. Default empty.
     
    538539    <?php
    539540    /**
    540      * Fires inside the lostpassword <form> tags, before the hidden fields.
     541     * Fires inside the lostpassword form tags, before the hidden fields.
    541542     *
    542543     * @since 2.1.0
Note: See TracChangeset for help on using the changeset viewer.