Changeset 49405 for branches/4.1/src/wp-admin/custom-background.php
- Timestamp:
- 10/29/2020 07:09:27 PM (4 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
- Property svn:mergeinfo changed
/branches/5.5 (added) merged: 49373-49379,49381 /trunk merged: 49380,49382-49388
- Property svn:mergeinfo changed
-
branches/4.1/src/wp-admin/custom-background.php
r30931 r49405 517 517 */ 518 518 public function wp_set_background_image() { 519 check_ajax_referer( 'custom-background' ); 519 520 if ( ! current_user_can('edit_theme_options') || ! isset( $_POST['attachment_id'] ) ) exit; 520 521 $attachment_id = absint($_POST['attachment_id']);
Note: See TracChangeset
for help on using the changeset viewer.