Viewing 4 replies - 1 through 4 (of 4 total)
  • Thanks Prause, could you give me an example of a plugin it doesn’t work with so I can work on it? Chris

    Thread Starter Josef

    (@prause)

    It is WP Admin Menu, see

    Thread Starter Josef

    (@prause)

    Sorry, once more:
    WP Admin Menu

    It’s because the jQuery in the wordpress-php-info plugin isn’t in noConflict mode. Replacing the code in wordpress-php-info\common\wp-admin.js with the following should fix it. It fixed it on my dev box.

    // Set up jQuery in noConflict() mode
    var $wphp = jQuery.noConflict();
    
    $wphp(document).ready(function() {
    
    	//ACCORDION BUTTON ACTION
    	$wphp('div.accordionButton').click(function() {
    		$wphp('div.accordionContent').slideUp('normal');
    		$wphp(this).next().slideDown('normal');
    	});
    
    	//HIDE THE DIVS ON PAGE LOAD
    	$wphp('div.accordionContent').hide();
    
    });
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WordPress phpinfo()] Javascript error’ is closed to new replies.