Changeset 11758
- Timestamp:
- 04/07/2022 05:13:54 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-make-sites-cpt/make_sites_cpt.php
r8945 r11758 117 117 <td><select name="make_site_id" id="make_site_id"> 118 118 <option value=""></option> 119 <?php foreach ( make_site_get_network_sites() as $value => $label ) : ?> 119 <?php 120 foreach ( make_site_get_network_sites() as $value => $label ) { 121 122 // skip all the non make blogs, so it's a lot easier to find the right one in the list 123 if ( strpos( $label, "https://make.wordpress.org" ) === false ) { 124 continue; 125 } ?> 120 126 <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $make_site_id, $value ) ?>><?php echo esc_html( $label ); ?></option> 121 <?php endforeach; ?>127 <?php } // endforeach; ?> 122 128 </select></td> 123 129 </tr>
Note: See TracChangeset
for help on using the changeset viewer.