Changeset 13113 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php
- Timestamp:
- 01/16/2024 05:04:43 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php
r13109 r13113 130 130 $zip_preview = Template::preview_link_zip( $slug, $zip_file->ID ); 131 131 $zip_pcp = Template::preview_link_zip( $slug, $zip_file->ID, 'pcp' ); 132 $zip_filename = $zip_file->submitted_name ?? preg_replace( '!^[0-9-_]+!', '', basename( $zip_url ) );133 132 134 133 printf( 135 '<li>%1$s <a href="%2$s" title="%3$s">%4$s</a> (%5$s) (<a href="%6$s" target="_blank">preview</a> | <a href="%7$s" target="_blank">pcp</a>)</li>',134 '<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>', 136 135 esc_html( $zip_date ), 136 esc_html( $zip_file->version ), 137 137 esc_url( $zip_url ), 138 138 esc_attr( $zip_file->post_title ), 139 esc_html( $zip_file name ),139 esc_html( $zip_file->submitted_name ), 140 140 esc_html( $zip_size ), 141 141 esc_url( $zip_preview ),
Note: See TracChangeset
for help on using the changeset viewer.