Changeset 10005
- Timestamp:
- 07/03/2020 04:27:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-block-validator.php
r10004 r10005 12 12 ob_start(); 13 13 $plugin_url = $_REQUEST['plugin_url'] ?? ''; 14 15 if ( is_user_logged_in() ) : 14 16 ?> 15 17 <div class="wrap"> … … 31 33 ?> 32 34 </div> 33 <?php 35 <?php else: ?> 36 <div class="wrap"> 37 <p><?php _e( 'Please log in to use the validator.', 'wporg-plugins' ); ?></p> 38 </div> 39 <?php endif; 34 40 return ob_get_clean(); 35 41 }
Note: See TracChangeset
for help on using the changeset viewer.