Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 220
ID ) ) { wp_die( __( 'You attempted to edit an attachment that doesn’t exist. Perhaps it was deleted?' ) ); } if ( 'attachment' !== $att->post_type ) { wp_die( __( 'You attempted to edit an item that isn’t an attachment. Please go back and try again.' ) ); } if ( $att->post_status == 'trash' ) { wp_die( __( 'You can’t edit this attachment because it is in the Trash. Please move it out of the Trash and try again.' ) ); } add_filter( 'attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2 ); wp_enqueue_script( 'wp-ajax-response' ); wp_enqueue_script( 'image-edit' ); wp_enqueue_style( 'imgareaselect' ); get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => '

' . __( 'This screen allows you to edit fields for metadata in a file within the media library.' ) . '

' . '

' . __( 'For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.' ) . '

' . '

' . __( 'Note that you crop the image by clicking on it (the Crop icon is already selected) and dragging the cropping frame to select the desired part. Then click Save to retain the cropping.' ) . '

' . '

' . __( 'Remember to click Update Media to save metadata entered or changed.' ) . '

', ) ); get_current_screen()->set_help_sidebar( '

' . __( 'For more information:' ) . '

' . '

' . __( 'Documentation on Edit Media' ) . '

' . '

' . __( 'Support' ) . '

' ); require( ABSPATH . 'wp-admin/admin-header.php' ); $parent_file = 'upload.php'; $message = ''; $class = ''; if ( isset( $_GET['message'] ) ) { switch ( $_GET['message'] ) { case 'updated': $message = __( 'Media file updated.' ); $class = 'updated'; break; } } if ( $message ) { echo "

$message

\n"; } ?>


false, 'send' => false, 'delete' => false, 'show_title' => false, 'errors' => ! empty( $errors[ $att_id ] ) ? $errors[ $att_id ] : null, ) ); ?>