← All changes
|
admin/classes/admin-options/fields/hook-select/template.php
+6
-1
2.2.7
→
2.3.2
View file →
| @@ -28,9 +28,14 @@ | ||
| 28 | 28 | </select> |
| 29 | 29 | </div> |
| 30 | 30 | <?php if ( isset( $settings['order'] ) && true === $settings['order'] ) : ?> |
| 31 | 31 | <div class="merchant-module-page-setting-field-number"> |
| 32 | - <input type="number" name="merchant[<?php echo esc_attr( $settings['id'] ); ?>][hook_priority]" value="<?php echo esc_attr( $hook_priority ); ?>"/> | |
| 32 | + <input type="number" name="merchant[<?php | |
| 33 | + echo esc_attr( $settings['id'] ); ?>][hook_priority]" value="<?php | |
| 34 | + echo esc_attr( $hook_priority ); ?>"<?php | |
| 35 | + echo isset( $settings['step'] ) ? ' step="' . esc_attr( $settings['step'] ) . '"' : ''; | |
| 36 | + echo isset( $settings['max'] ) ? ' max="' . esc_attr( $settings['max'] ) . '"' : ''; | |
| 37 | + echo isset( $settings['min'] ) ? ' min="' . esc_attr( $settings['min'] ) . '"' : ''; ?>/> | |
| 33 | 38 | </div> |
| 34 | 39 | <?php endif; ?> |
| 35 | 40 | </div> |
| 36 | 41 | <?php |