We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
empty()
1 parent 8cfd53e commit 126ffddCopy full SHA for 126ffdd
src/wp-admin/options-permalink.php
@@ -428,7 +428,7 @@ class="button button-secondary"
428
</label>
429
</th>
430
<td>
431
- <?php if ( empty( $blog_prefix ) ) : ?>
+ <?php if ( '' === $blog_prefix ) : ?>
432
<input name="category_base" id="category_base" type="text"
433
value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code"
434
/>
@@ -447,7 +447,7 @@ class="button button-secondary"
447
<label for="tag_base"><?php _e( 'Tag base' ); ?></label>
448
449
450
451
<input name="tag_base" id="tag_base" type="text"
452
value="<?php echo esc_attr( $tag_base ); ?>" class="regular-text code"
453
0 commit comments