Changeset 54137
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r54136 r54137 5027 5027 $indicator = '<span class="required">' . esc_html( $glyph ) . '</span>'; 5028 5028 5029 return $indicator; 5029 /** 5030 * Filters the markup for a visual indicator of required form fields. 5031 * 5032 * @since 6.1.0 5033 * 5034 * @param string $indicator Markup for the indicator element. 5035 */ 5036 return apply_filters( 'wp_required_field_indicator', $indicator ); 5030 5037 } 5031 5038 … … 5044 5051 ); 5045 5052 5046 return $message; 5053 /** 5054 * Filters the message to explain required form fields. 5055 * 5056 * @since 6.1.0 5057 * 5058 * @param string $message Message text and glyph wrapped in a `span` tag. 5059 */ 5060 return apply_filters( 'wp_required_field_message', $message ); 5047 5061 } 5048 5062
Note: See TracChangeset
for help on using the changeset viewer.