This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // version 2.4.2 | |
| // line 1900 | |
| function js_load(){ | |
| if(is_admin() && !defined('DOING_AJAX')){ | |
| if(isset($_GET['page'])){ | |
| $page = basename($_GET['page']); | |
| $page_basename = str_replace('.php','',$page); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Line 265 | |
| function pte_get_width_height( $size_information, $w, $h ){ | |
| if ( $size_information['crop'] == 1 ){ | |
| $dst_w = $size_information['width']; | |
| // change to | |
| function pte_get_width_height( $size_information, $w, $h ){ | |
| if ( isset( $size_information['crop'] ) && $size_information['crop'] ){ | |
| $dst_w = $size_information['width']; |