Showing 5,566 of 7,504 total issues
Function getMatrix
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getMatrix: function (image){
var
m = api.extend({}, this.matrix)
, sw = m.sw = m.sw || image.videoWidth || image.naturalWidth || image.width
, sh = m.sh = m.sh || image.videoHeight || image.naturalHeight || image.height
Function ajaxDel
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ajaxDel: function( e, s ) {
e = $(e); s = s || {};
var list = this, cls = wpList.parseClass(e,'delete'), element;
s = wpList.pre.call( list, e, s, 'delete' );
Function init
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init : function() {
var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit');
t.type = $('table.widefat').hasClass('page') ? 'page' : 'post';
t.what = '#'+t.type+'-';
Function createMenu
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createMenu(context) {
var menuButton, menu, menuItems, isUserDefined, removedMenuItems;
removedMenuItems = tinymce.makeMap((settings.removed_menuitems || '').split(/[ ,]/));
Function updateTracking
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SWFUpload.prototype.updateTracking = function (file, bytesUploaded) {
var tracking = this.fileSpeedStats[file.id];
if (!tracking) {
this.fileSpeedStats[file.id] = tracking = {};
}
Method display_theme
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function display_theme($theme, $actions = null, $show_details = true) {
global $themes_allowedtags;
if ( empty($theme) )
return;
Method unzip_file
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function unzip_file($file, $to) {
global $wp_filesystem;
if ( ! $wp_filesystem || !is_object($wp_filesystem) )
return new WP_Error('fs_unavailable', __('Could not access filesystem.'));
Method run
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function run($options) {
$defaults = array( 'package' => '', //Please always pass this.
'destination' => '', //And this
'clear_destination' => false,
Method touch_time
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) {
global $wp_locale, $post, $comment;
if ( $for_post )
$edit = ( in_array($post->post_status, array('draft', 'pending') ) && (!$post->post_date_gmt || '0000-00-00 00:00:00' == $post->post_date_gmt ) ) ? false : true;
Method screen_options
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function screen_options($screen) {
switch ( $screen ) {
case 'edit':
$per_page_label = __('Posts per page:');
break;
Method import_post
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function import_post( $post ) {
global $wpdb;
// Make sure we haven't already imported this one
if ( $this->get_wp_post_ID( $post['itemid'] ) )
Method greet
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function greet() {
?>
<div class="narrow">
<form action="admin.php?import=livejournal" method="post">
<?php wp_nonce_field( 'lj-api-import' ) ?>
Method get_entries
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_entries($process_post_func=NULL) {
set_magic_quotes_runtime(0);
$doing_entry = false;
$is_wxr_file = false;
Method widget_akismet_register
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function widget_akismet_register() {
if ( function_exists('register_sidebar_widget') ) :
function widget_akismet($args) {
extract($args);
$options = get_option('widget_akismet');
Method the_editor
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2) {
$rows = get_option('default_post_edit_rows');
if (($rows < 3) || ($rows > 100))
$rows = 12;
Method wp_delete_term
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_delete_term( $term, $taxonomy, $args = array() ) {
global $wpdb;
$term = (int) $term;
Method wp_dropdown_categories
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_dropdown_categories( $args = '' ) {
$defaults = array(
'show_option_all' => '', 'show_option_none' => '',
'orderby' => 'id', 'order' => 'ASC',
'show_last_update' => 0, 'show_count' => 0,
Method render_content
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function render_content() {
$this->print_header_image_template();
$visibility = $this->get_current_image_src() ? '' : ' style="display:none" ';
$width = absint( get_theme_support( 'custom-header', 'width' ) );
$height = absint( get_theme_support( 'custom-header', 'height' ) );
Method wp_dropdown_users
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_dropdown_users( $args = '' ) {
global $wpdb;
$defaults = array(
'show_option_all' => '', 'show_option_none' => '',
'orderby' => 'display_name', 'order' => 'ASC',
Method wp_load_translations_early
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_load_translations_early() {
global $text_direction, $wp_locale;
static $loaded = false;
if ( $loaded )