Changeset 14214
- Timestamp:
- 04/24/2010 03:53:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r14164 r14214 841 841 $key = $_POST['meta'][$mid]['key']; 842 842 $value = $_POST['meta'][$mid]['value']; 843 if ( '' == trim($key) ) 844 die(__('Please provide a custom field name.')); 845 if ( '' == trim($value) ) 846 die(__('Please provide a custom field value.')); 843 847 if ( !$meta = get_post_meta_by_id( $mid ) ) 844 848 die('0'); // if meta doesn't exist
Note: See TracChangeset
for help on using the changeset viewer.