Showing 5,566 of 7,504 total issues
Function scroll
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
scroll: function() {
var current = new Date();
var delta = current - this.lastScrolled;
this.lastScrolled = current;
if(this.options.scroll == window) {
Method privAddList
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function privAddList($p_filedescr_list, &$p_result_list, &$p_options)
{
$v_result=1;
// ----- Add the files
Function _getWH
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_getWH : function() {
var $container = this.$( 'container' ),
$target = this.$( 'target' ),
self = this,
Function checkPosition
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Affix.prototype.checkPosition = function () {
if (!this.$element.is(':visible')) return
var height = this.$element.height()
var offset = this.options.offset
Method SetServer
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function SetServer($host, $port=21, $reconnect=true) {
if(!is_long($port)) {
$this->verbose=true;
$this->SendMSG("Incorrect port syntax");
return FALSE;
Method add_menu_classes
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function add_menu_classes($menu) {
$first = $lastorder = false;
$i = 0;
$mc = count($menu);
Method connect
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function connect($server=NULL) {
if(!empty($server)) {
if(!$this->SetServer($server)) return false;
}
if($this->_ready) return true;
Method _get_list_table
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _get_list_table( $class, $args = array() ) {
$core_classes = array(
//Site Admin
'WP_Posts_List_Table' => 'posts',
'WP_Media_List_Table' => 'media',
Method wp_delete_user
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_delete_user($id, $reassign = 'novalue') {
global $wpdb;
$id = (int) $id;
$user = new WP_User($id);
Method wp_ajax_add_user
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_ajax_add_user( $action ) {
global $wp_list_table;
if ( empty( $action ) )
$action = 'add-user';
Method extra_tablenav
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function extra_tablenav( $which ) {
global $comment_status, $comment_type;
?>
<div class="alignleft actions">
<?php
Method wp_ajax_edit_comment
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_ajax_edit_comment() {
global $wp_list_table;
check_ajax_referer( 'replyto-comment', '_ajax_nonce-replyto-comment' );
Method get_plugin_files
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_plugin_files($plugin) {
$plugin_file = WP_PLUGIN_DIR . '/' . $plugin;
$dir = dirname($plugin_file);
$plugin_files = array($plugin);
if ( is_dir($dir) && $dir != WP_PLUGIN_DIR ) {
Method link_advanced_meta_box
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function link_advanced_meta_box($link) {
?>
<table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5">
<tr class="form-field">
<th valign="top" scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th>
Method import_tags
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function import_tags ( ) {
echo '<div class="narrow">';
echo '<p><h3>'.__('Reading UTW Tags…').'</h3></p>';
$tags = $this->get_utw_tags();
Method cat2wp
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function cat2wp($categories='')
{
// General Housekeeping
global $wpdb;
$count = 0;
Method add_menu_classes
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function add_menu_classes($menu) {
$first = $lastorder = false;
$i = 0;
$mc = count($menu);
Method twentyfourteen_customize_register
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function twentyfourteen_customize_register( $wp_customize ) {
// Add custom description to Colors and Background sections.
$wp_customize->get_section( 'colors' )->description = __( 'Background may only be visible on wide screens.', 'twentyfourteen' );
$wp_customize->get_section( 'background_image' )->description = __( 'Background may only be visible on wide screens.', 'twentyfourteen' );
Method rightnow_stats
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function rightnow_stats() {
global $submenu, $wp_db_version;
if ( 8645 < $wp_db_version ) // 2.7
$link = add_query_arg( array( 'comment_status' => 'spam' ), admin_url( 'edit-comments.php' ) );
Method twentyfourteen_list_authors
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function twentyfourteen_list_authors() {
$contributor_ids = get_users( array(
'fields' => 'ID',
'orderby' => 'post_count',
'order' => 'DESC',