Changeset 49407 for branches/3.9/src/wp-includes/meta.php
- Timestamp:
- 10/29/2020 07:14:09 PM (6 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/meta.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
- Property svn:mergeinfo changed
/branches/5.5 (added) merged: 49373-49379,49381 /trunk merged: 49380,49382-49388
- Property svn:mergeinfo changed
-
branches/3.9/src/wp-includes/meta.php
r27723 r49407 1114 1114 * @return bool True if the key is protected, false otherwise. 1115 1115 */ 1116 function is_protected_meta( $meta_key, $meta_type = null ) { 1117 $protected = ( '_' == $meta_key[0] ); 1116 function is_protected_meta( $meta_key, $meta_type = '' ) { 1117 $sanitized_key = preg_replace( "/[^\x20-\x7E\p{L}]/", '', $meta_key ); 1118 $protected = strlen( $sanitized_key ) > 0 && ( '_' === $sanitized_key[0] ); 1118 1119 1119 1120 /**
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)