Ticket #10939: 10939.patch
| File 10939.patch, 3.9 KB (added by , 16 years ago) |
|---|
-
wp-admin/includes/class-wp-upgrader.php
Property changes on: . ___________________________________________________________________ Added: svn:ignore + wp-config.php
903 903 if( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){ 904 904 show_message(__('Attempting reactivation of the plugin')); 905 905 echo '<iframe style="border:0;overflow:hidden" width="100%" height="170px" src="' . wp_nonce_url('update.php?action=activate-plugin&plugin=' . $this->plugin, 'activate-plugin_' . $this->plugin) .'"></iframe>'; 906 printf( '<noframes>%s</noframes>', __('This feature needs inline frames (iframe) enabled which your browser currently does not support or is deactivated because of security considerations.')); 906 907 } 907 908 $update_actions = array( 908 909 'activate_plugin' => '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $this->plugin, 'activate-plugin_' . $this->plugin) . '" title="' . esc_attr__('Activate this plugin') . '" target="_parent">' . __('Activate Plugin') . '</a>', -
wp-admin/plugin-editor.php
127 127 <?php 128 128 if ( wp_verify_nonce($_GET['_error_nonce'], 'plugin-activation-error_' . $file) ) { ?> 129 129 <iframe style="border:0" width="100%" height="70px" src="<?php bloginfo('wpurl'); ?>/wp-admin/plugins.php?action=error_scrape&plugin=<?php echo esc_attr($file); ?>&_wpnonce=<?php echo esc_attr($_GET['_error_nonce']); ?>"></iframe> 130 <noframes><?php _e('This feature needs inline frames (iframe) enabled which your browser currently does not support or is deactivated because of security considerations.') ?></noframes> 130 131 <?php } ?> 131 132 </div> 132 133 <?php endif; ?> -
wp-admin/plugins.php
245 245 <?php 246 246 if ( wp_verify_nonce($_GET['_error_nonce'], 'plugin-activation-error_' . $plugin) ) { ?> 247 247 <iframe style="border:0" width="100%" height="70px" src="<?php echo admin_url('plugins.php?action=error_scrape&plugin=' . esc_attr($plugin) . '&_wpnonce=' . esc_attr($_GET['_error_nonce'])); ?>"></iframe> 248 <noframes><?php _e('This feature needs inline frames (iframe) enabled which your browser currently does not support or is deactivated because of security considerations.') ?></noframes> 248 249 <?php 249 250 } 250 251 ?> -
wp-includes/js/thickbox/thickbox.js
76 76 TB_NextHTML = ""; 77 77 TB_imageCount = ""; 78 78 TB_FoundURL = false; 79 // TODO TB_Noframes = "This feature needs inline frames (iframe) enabled which your browser currently does not support or is deactivated because of security considerations."; 79 80 if(imageGroup){ 80 81 TB_TempArray = jQuery("a[rel="+imageGroup+"]").get(); 81 82 for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { … … 198 199 }else{//iframe modal 199 200 jQuery("#TB_overlay").unbind(); 200 201 jQuery("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;'> </iframe>"); 202 // TODO jQuery("#TB_window").append("<noframes>"+TB_Noframes+"</noframe>"); 201 203 } 202 204 }else{// not an iframe, ajax 203 205 if(jQuery("#TB_window").css("display") != "block"){