Changeset 49381
- Timestamp:
- 10/29/2020 05:44:59 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5/src/wp-includes/meta.php
r49378 r49381 1161 1161 function is_protected_meta( $meta_key, $meta_type = '' ) { 1162 1162 $sanitized_key = preg_replace( "/[^\x20-\x7E\p{L}]/", '', $meta_key ); 1163 $protected = strlen( $sanitized_key ) > 0 && ( '_' == $sanitized_key[0] );1163 $protected = strlen( $sanitized_key ) > 0 && ( '_' === $sanitized_key[0] ); 1164 1164 1165 1165 /**
Note: See TracChangeset
for help on using the changeset viewer.