Changeset 13076 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php
- Timestamp:
- 12/21/2023 05:40:09 AM (9 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
r12862 r13076 128 128 list( $zip_url, $zip_file ) = $zip; 129 129 $zip_size = size_format( filesize( get_attached_file( $zip_file->ID ) ), 1 ); 130 $zip_preview = Template::preview_link_zip( $slug, $zip_file->ID ); 130 131 131 132 printf( 132 '<li>%1$s <a href="%2$s">%3$s</a> (%4$s) </li>',133 '<li>%1$s <a href="%2$s">%3$s</a> (%4$s) (<a href="%5$s" target="_blank">preview</a>)</li>', 133 134 esc_html( $zip_date ), 134 135 esc_url( $zip_url ), 135 136 esc_html( basename( $zip_url ) ), 136 esc_html( $zip_size ) 137 esc_html( $zip_size ), 138 esc_url( $zip_preview ) 137 139 ); 138 140 }
Note: See TracChangeset
for help on using the changeset viewer.