WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42254, comment 7


Ignore:
Timestamp:
10/28/2017 11:21:53 AM (3 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42254, comment 7

    initial v1  
    1010- changed {{{wp_dashboard_primary_output()}}} to check for an empty entries array.
    1111- changed {{{wp_widget_rss_output()}}} to check for an empty entries array.
    12 - changed {{{__()}}} to {{{esc_html__()}}} in one place, as recommended by phpcs.
     12- changed {{{__()}}} in one place, as recommended by phpcs.
    1313- fixed some indices in {{{wp_widget_rss_get_entries()}}}.
    1414
     
    8282We want to avoid displaying duplicated items in {{{wp_dashboard_primary_output()}}}.
    8383       
    84 So we expected output of {{{wp_dashboard_primary_output()}}} for (1 News item + 3 Planet items), is to contain:
     84So the expected output of {{{wp_dashboard_primary_output()}}} for (1 News item + 3 Planet items), is to contain:
    8585
    8686{{{