Showing 5,566 of 7,504 total issues
File settings.php
has 274 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* Multisite network settings administration panel.
*
* @package WordPress
Function PageVisitTimeManager
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PageVisitTimeManager = (function () {
function PageVisitTimeManager(pageVisitTimeTrackingHandler) {
this.prevPageVisitDataKeyName = "prevPageVisitData";
this.pageVisitTimeTrackingHandler = pageVisitTimeTrackingHandler;
}
Function add
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.add = function(combi, options, callback) {
if (jQuery.isFunction(options)){
callback = options;
options = {};
}
Method hash_data
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function hash_data($file, $offset, $end, $algorithm) {
static $tempdir = '';
if (!self::intValueSupported($end)) {
return false;
}
Method load
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function load()
{
if ($this->mysql === null)
{
return false;
Method _shiftBoundaries
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _shiftBoundaries($lines, &$changed, $other_changed)
{
$i = 0;
$j = 0;
Method get_avatar
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {
if ( ! get_option('show_avatars') )
return false;
if ( false === $alt)
Method Uncompress
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Uncompress($ip)
{
$uip = SimplePie_Net_IPv6::removeNetmaskSpec($ip);
$c1 = -1;
$c2 = -1;
Method get_network_by_path
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_network_by_path( $domain, $path, $segments = null ) {
global $wpdb;
$domains = $exact_domains = array( $domain );
$pieces = explode( '.', $domain );
Method wp_list_comments
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_list_comments($args = array(), $comments = null ) {
global $wp_query, $comment_alt, $comment_depth, $comment_thread_alt, $overridden_cpage, $in_comment_loop;
$in_comment_loop = true;
File class-wp-theme-install-list-table.php
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* Theme Installer List Table class.
*
* @package WordPress
Function _InternalLogging
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _InternalLogging = (function () {
function _InternalLogging() {
}
_InternalLogging.throwInternalNonUserActionable = function (severity, message) {
if (this.enableDebugExceptions()) {
Function addPan
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addPan : function( img ) {
if ( this._options.imageCrop === false ) {
return;
}
Function convertFakeListsToProperLists
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function convertFakeListsToProperLists(node) {
var currentListNode, prevListNode, lastLevel = 1;
function convertParagraphToLi(paragraphNode, listStartTextNode, listName, start) {
var level = paragraphNode._listLevel || lastLevel;
Function addPan
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addPan : function( img ) {
if ( this._options.imageCrop === false ) {
return;
}
Method display_themes
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function display_themes($themes, $page = 1, $totalpages = 1) {
global $themes_allowedtags;
$type = isset($_REQUEST['type']) ? stripslashes( $_REQUEST['type'] ) : '';
$term = isset($_REQUEST['s']) ? stripslashes( $_REQUEST['s'] ) : '';
Method wp_dashboard_quick_press
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_dashboard_quick_press() {
$drafts = false;
if ( 'post' === strtolower( $_SERVER['REQUEST_METHOD'] ) && isset( $_POST['action'] ) && 0 === strpos( $_POST['action'], 'post-quickpress' ) && (int) $_POST['post_ID'] ) {
$view = get_permalink( $_POST['post_ID'] );
$edit = esc_url( get_edit_post_link( $_POST['post_ID'] ) );
Method render_screen_options
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function render_screen_options() {
global $wp_meta_boxes, $wp_list_table;
$columns = get_column_headers( $this );
$hidden = get_hidden_columns( $this );
Method display_rows
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function display_rows() {
$plugins_allowedtags = array(
'a' => array( 'href' => array(),'title' => array(), 'target' => array() ),
'abbr' => array( 'title' => array() ),'acronym' => array( 'title' => array() ),
'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array(),
Method display_rows
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function display_rows() {
$themes = $this->items;
foreach ( $themes as $theme ):
?><div class="available-theme"><?php