Changeset 49404 for branches/4.2/src/wp-admin/custom-background.php
- Timestamp:
- 10/29/2020 07:07:43 PM (6 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/custom-background.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
- Property svn:mergeinfo changed
/branches/5.5 (added) merged: 49373-49379,49381 /trunk merged: 49380,49382-49388
- Property svn:mergeinfo changed
-
branches/4.2/src/wp-admin/custom-background.php
r32116 r49404 455 455 */ 456 456 public function wp_set_background_image() { 457 check_ajax_referer( 'custom-background' ); 457 458 if ( ! current_user_can('edit_theme_options') || ! isset( $_POST['attachment_id'] ) ) exit; 458 459 $attachment_id = absint($_POST['attachment_id']);
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)