Any suggestions?

  • Unknown's avatar

    I have had a novice user update a page and we have ended up with the following:

    with-avatar’ == $( this ).parent().attr( ‘id’ ) ) size = Math.round( ( $( window ).height() – 354 ) / 28 ); else size = Math.round( ( $( window ).height() – 170 ) / 28 ); if ( !ul.length || len < size + 1 || $(‘li:first’, ul).is(‘.handle-top’) ) return; if ( len – size < 3 ) step = len – size; handle = $(‘
    ‘); if ( ‘wp-admin-bar-my-account-with-avatar’ == $( this ).parent().attr( ‘id’ ) ) { $( ‘#wp-admin-bar-my-account-info’ ).after( handle.clone().addClass(‘handle-top scrollend’) ); $( ‘#wp-admin-bar-my-account-info’ ).css( {‘padding-bottom’: ’15px’} ); ul.css( {‘padding-bottom’: ’15px’} ); } else { ul.css({‘padding’: ’15px 0′}).prepend( handle.clone().addClass(‘handle-top scrollend’) ); } ul.append( handle.addClass(‘handle-bottom’) ); li.slice(size).hide(); $(‘li.adminbar-handle’, ul).click(function(e){ e.stopPropagation(); if ( $(this).hasClass(‘handle-top’) ) { if ( li.first().is(‘:visible’) ) return; index -= step; $(‘.handle-bottom’, ul).removeClass(‘scrollend’); if ( index = len – size ) { index = len – size; $(this).addClass(‘scrollend’); } li.slice(index – step, index).hide(); li.slice(index + (size – step), index + size).show(); } }); }); $( ‘#wpadminbar #wp-admin-bar-shortlink’ ).click( function() { $( ‘#adminbar-shortlink-input’ ).select(); }); $( ‘#wpadminbar #adminbarsearch .adminbar-search-input’ ).focus( function() { $( ‘#wpadminbar #adminbarsearch input’ ).addClass( ‘search-input-focus’ ); $( ‘#wpadminbar #wp-admin-bar-search’ ).addClass( ‘search-input-focus’ ); }); $( ‘#wpadminbar #adminbarsearch .adminbar-search-input’ ).focusout( function() { $( ‘#wpadminbar #adminbarsearch input.adminbar-search-input’ ).removeClass( ‘search-input-focus’ ); $( ‘#wpadminbar #wp-admin-bar-search’ ).removeClass( ‘search-input-focus’ ); }); }); /* ]]> */

    I am not able to get into the page to edit it, nor does it appear on the pages list.

    Any thoughts would be much appreciated

    Regards

    The blog I need help with is: (visible only to logged in users)

  • The topic ‘Any suggestions?’ is closed to new replies.