Making WordPress.org

Changeset 13606


Ignore:
Timestamp:
04/29/2024 04:25:45 AM (9 months ago)
Author:
dd32
Message:

Plugin Direcory: Review: Only list the ZIP comment in the internal notes, not within the zip listing too.

Per request from reviewers.
See #7598.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php

    r13575 r13606  
    141141
    142142                printf(
    143                     '<li>%1$s v%2$s <a href="%3$s" title="%4$s">%5$s</a> (%6$s) (<a href="%7$s" target="_blank">preview</a> | <a href="%8$s" target="_blank">pcp</a>)%9$s</li>',
     143                    '<li>%1$s v%2$s <a href="%3$s" title="%4$s">%5$s</a> (%6$s) (<a href="%7$s" target="_blank">preview</a> | <a href="%8$s" target="_blank">pcp</a>)</li>',
    144144                    esc_html( $zip_date ),
    145145                    esc_html( $zip_file->version ),
    146146                    esc_url( $zip_url ),
    147                     esc_attr( $zip_file->post_title ),
     147                    esc_attr( trim( $zip_file->post_title . ' ' . $zip_file->post_content ) ),
    148148                    esc_html( $zip_file->submitted_name ),
    149149                    esc_html( $zip_size ),
    150150                    esc_url( $zip_preview ),
    151151                    esc_url( $zip_pcp ),
    152                     ( $zip_file->post_content ? '<br><div style="padding-left: 2em;">' . nl2br( $zip_file->post_content ) . '</div>' : '' )
    153152                );
    154153            }
Note: See TracChangeset for help on using the changeset viewer.