Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44183, comment 1


Ignore:
Timestamp:
05/22/2018 01:54:21 PM (8 years ago)
Author:
subrataemfluence
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44183, comment 1

    initial v1  
    11Good point! Based on your recommendation I am submitting a proposed patch for `$authordata`.
    22
    3 However, I don't see it is super necessary to include an `esc_html()` with `get_the_author()` since it returns a pure string value which is $authordata->display_name and picked directly from the `wp_users` table.
     3However, I don't see it is super necessary to include an `esc_html()` with `get_the_author()` since it returns a pure string value (`$authordata->display_name`) picked directly from the `wp_users` table.
    44
    5 I don't think we have the ability to use HTML formatting for display_name field. Please correct me if I am wrong.
     5I don't think we have the ability to use HTML formatting for `display_name` field. Please correct me if I am wrong.