Making WordPress.org

Changeset 10184


Ignore:
Timestamp:
08/19/2020 05:20:49 AM (3 years ago)
Author:
tellyworth
Message:

Plugin dir: add block checker link to admin tools.

File:
1 edited

Legend:

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

    r9804 r10184  
    278278                <li><a href='https://plugins.trac.wordpress.org/browser/<?php echo esc_attr( $post->post_name ); ?>/'>Browse in Trac</a></li>
    279279                <li><a href='<?php echo esc_url( Template::download_link() ); ?>'>Download Current Version</a></li>
     280                <?php if ( has_term( 'block', 'plugin_section', $post ) ) : ?>
     281                    <li><a href='https://wordpress.org/plugins/developers/block-plugin-validator/?plugin_url=<?php echo esc_attr( $post->post_name ); ?>'>Block Plugin Checker</a></li>
     282                <?php endif; ?>
    280283            </ul>
    281284            <?php
Note: See TracChangeset for help on using the changeset viewer.