Changeset 43571 for trunk/src/wp-admin/network/site-new.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-new.php
r42793 r43571 174 174 'update' => 'added', 175 175 'id' => $id, 176 ), 'site-new.php' 176 ), 177 'site-new.php' 177 178 ) 178 179 ); … … 213 214 } 214 215 ?> 215 <p><?php 216 <p> 217 <?php 216 218 printf( 217 219 /* translators: %s: asterisk to mark required form fields. */ … … 219 221 '<span class="required">*</span>' 220 222 ); 221 ?></p> 223 ?> 224 </p> 222 225 <form method="post" action="<?php echo network_admin_url( 'site-new.php?action=add-site' ); ?>" novalidate="novalidate"> 223 226 <?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ); ?> … … 228 231 <?php if ( is_subdomain_install() ) { ?> 229 232 <input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required /><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', get_network()->domain ); ?></span> 230 <?php233 <?php 231 234 } else { 232 235 echo get_network()->domain . get_network()->path 233 236 ?> 234 237 <input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required /> 235 <?php238 <?php 236 239 } 237 240 echo '<p class="description" id="site-address-desc">' . __( 'Only lowercase letters (a-z), numbers, and hyphens are allowed.' ) . '</p>'; 238 241 ?> 239 242 </td> 240 243 </tr>
Note: See TracChangeset
for help on using the changeset viewer.