Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\cumbreclima\wp-content\plugins\wordpress-seo\js\ drwxrwxrwx |
Viewing file: Select action/file-type: /* global ajaxurl */ /* jshint -W097 */ /* jshint unused:false */ 'use strict'; /** * Used to dismiss the after-update admin notice for a specific user until the next update. * * @param {string} nonce */ function wpseoDismissAbout( nonce ) { jQuery.post( ajaxurl, { action: 'wpseo_dismiss_about', _wpnonce: nonce } ); } /** * Used to remove the admin notices for several purposes, dies on exit. * * @param {string} option * @param {string} hide * @param {string} nonce */ function wpseoSetIgnore( option, hide, nonce ) { jQuery.post( ajaxurl, { action: 'wpseo_set_ignore', option: option, _wpnonce: nonce }, function( data ) { if ( data ) { jQuery( '#' + hide ).hide(); jQuery( '#hidden_ignore_' + option ).val( 'ignore' ); } } ); } /** * Make the notices dismissible (again) */ function wpseoMakeDismissible() { jQuery( '.notice.is-dismissible' ).each( function() { var $notice = jQuery( this ); if ( $notice.find( '.notice-dismiss').empty() ) { var $button = jQuery( '<button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>' ); $notice.append( $button ); $button.on( 'click.wp-dismiss-notice', function( event ) { event.preventDefault(); $notice.fadeTo( 100 , 0, function() { jQuery(this).slideUp( 100, function() { jQuery(this).remove(); }); }); }); } }); } jQuery( document ).ready( function() { jQuery( '#wpseo-dismiss-about > .notice-dismiss' ).click( function() { wpseoDismissAbout( jQuery( '#wpseo-dismiss-about' ).data( 'nonce' ) ); }); }); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |