Showing 7,504 of 7,504 total issues
Function _handleMoreBreak
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_handleMoreBreak : function(ed, url) {
var moreHTML, nextpageHTML;
moreHTML = '<img src="' + url + '/img/trans.gif" alt="$1" class="mceWPmore mceItemNoResize" title="'+ed.getLang('wordpress.wp_more_alt')+'" />';
nextpageHTML = '<img src="' + url + '/img/trans.gif" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />';
Function _createButtons
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createButtons : function() {
var t = this, ed = tinyMCE.activeEditor, DOM = tinymce.DOM, editButton, dellButton;
DOM.remove('wp_editbtns');
Function animateTo
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function animateTo(a)/*{{{*/
{
var x1 = a[0] / xscale,
y1 = a[1] / yscale,
x2 = a[2] / xscale,
Function toggleSelection
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
toggleSelection: function( options ) {
var collection = this.collection,
selection = this.options.selection,
model = this.model,
method = options && options.method,
Function interval
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function interval( speed, ticks ) {
var newInterval,
oldInterval = settings.tempInterval ? settings.tempInterval : settings.mainInterval;
if ( speed ) {
Function _scaleImage
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_scaleImage : function( image, options ) {
image = image || this._controls.getActive();
// janpub (JH) fix:
Function activate
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tab.prototype.activate = function (element, container, callback) {
var $active = container.find('> .active')
var transition = callback
&& $.support.transition
&& ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)
Method upgrade_100
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function upgrade_100() {
global $wpdb;
// Get the title and ID of every post, post_name to check if it already has a value
$posts = $wpdb->get_results("SELECT ID, post_title, post_name FROM $wpdb->posts WHERE post_name = ''");
Method wp_ajax_wp_compression_test
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_ajax_wp_compression_test() {
if ( !current_user_can( 'manage_options' ) )
wp_die( -1 );
if ( ini_get('zlib.output_compression') || 'ob_gzhandler' == ini_get('output_handler') ) {
Method the_attachment_links
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function the_attachment_links( $id = false ) {
$id = (int) $id;
$post = & get_post( $id );
if ( $post->post_type != 'attachment' )
Method get_views
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_views() {
global $locked_post_status, $avail_post_stati;
$post_type = $this->screen->post_type;
Method js_2
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function js_2() { ?>
<script type="text/javascript">
function onEndCrop( coords ) {
jQuery( '#x1' ).val(coords.x);
jQuery( '#y1' ).val(coords.y);
Method core_upgrade_preamble
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function core_upgrade_preamble() {
global $upgrade_error;
$updates = get_core_updates();
?>
Method redirect_page
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function redirect_page($page_ID) {
global $action;
$referredby = '';
if ( !empty($_POST['referredby']) ) {
Method do_item
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function do_item( $handle ) {
if ( !parent::do_item($handle) )
return false;
$ver = $this->registered[$handle]->ver ? $this->registered[$handle]->ver : $this->default_version;
Method ChannelsBitratePlaytimeCalculations
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function ChannelsBitratePlaytimeCalculations() {
// set channelmode on audio
if (!empty($this->info['audio']['channelmode']) || !isset($this->info['audio']['channels'])) {
// ignore
Method ETCOEventLookup
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function ETCOEventLookup($index) {
if (($index >= 0x17) && ($index <= 0xDF)) {
return 'reserved for future use';
}
if (($index >= 0xE0) && ($index <= 0xEF)) {
Method get_term
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function &get_term($term, $taxonomy, $output = OBJECT, $filter = 'raw') {
global $wpdb;
$null = null;
if ( empty($term) ) {
Method safecss_filter_attr
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function safecss_filter_attr( $css, $deprecated = '' ) {
$css = wp_kses_no_null($css);
$css = str_replace(array("\n","\r","\t"), '', $css);
if ( preg_match( '%[\\(&]|/\*%', $css ) ) // remove any inline css containing \ ( & or comments
Method set_host
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function set_host($ihost)
{
if ($ihost === null)
{
$this->ihost = null;