0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
wordpress
/
plugins-bak
/
jetpack
/
modules
/
site-icon
/
[
Home
]
File: upload-site-icon.php
<?php /** * Uploading a site_icon is a 3 step process * * 1. Select the file to upload * 2. Crop the file * 3. Confirmation page */ $step = ( isset( $_REQUEST['step'] ) ? $_REQUEST['step'] : 1 ); $nonce = ( isset( $_REQUEST[ '_nonce' ] ) ? $_REQUEST[ '_nonce' ] : false ); if( ! wp_verify_nonce( $nonce , 'update-site_icon-' . $step ) && $step > 1 ) { echo esc_html__( 'You are not suppoed to be here!', 'jetpack' ); return; } switch( $step ){ case '1': Jetpack_Site_Icon::select_page(); break; case '2': Jetpack_Site_Icon::crop_page(); break; case '3': Jetpack_Site_Icon::all_done_page(); break; }