Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/wp-admin/js/widgets
File: text-widgets.js
return;
[500] Fix | Delete
}
[501] Fix | Delete
[502] Fix | Delete
widgetControl.updateFields();
[503] Fix | Delete
};
[504] Fix | Delete
[505] Fix | Delete
/**
[506] Fix | Delete
* Initialize functionality.
[507] Fix | Delete
*
[508] Fix | Delete
* This function exists to prevent the JS file from having to boot itself.
[509] Fix | Delete
* When WordPress enqueues this script, it should have an inline script
[510] Fix | Delete
* attached which calls wp.textWidgets.init().
[511] Fix | Delete
*
[512] Fix | Delete
* @memberOf wp.textWidgets
[513] Fix | Delete
*
[514] Fix | Delete
* @return {void}
[515] Fix | Delete
*/
[516] Fix | Delete
component.init = function init() {
[517] Fix | Delete
var $document = $( document );
[518] Fix | Delete
$document.on( 'widget-added', component.handleWidgetAdded );
[519] Fix | Delete
$document.on( 'widget-synced widget-updated', component.handleWidgetUpdated );
[520] Fix | Delete
[521] Fix | Delete
/*
[522] Fix | Delete
* Manually trigger widget-added events for media widgets on the admin
[523] Fix | Delete
* screen once they are expanded. The widget-added event is not triggered
[524] Fix | Delete
* for each pre-existing widget on the widgets admin screen like it is
[525] Fix | Delete
* on the customizer. Likewise, the customizer only triggers widget-added
[526] Fix | Delete
* when the widget is expanded to just-in-time construct the widget form
[527] Fix | Delete
* when it is actually going to be displayed. So the following implements
[528] Fix | Delete
* the same for the widgets admin screen, to invoke the widget-added
[529] Fix | Delete
* handler when a pre-existing media widget is expanded.
[530] Fix | Delete
*/
[531] Fix | Delete
$( function initializeExistingWidgetContainers() {
[532] Fix | Delete
var widgetContainers;
[533] Fix | Delete
if ( 'widgets' !== window.pagenow ) {
[534] Fix | Delete
return;
[535] Fix | Delete
}
[536] Fix | Delete
widgetContainers = $( '.widgets-holder-wrap:not(#available-widgets)' ).find( 'div.widget' );
[537] Fix | Delete
widgetContainers.one( 'click.toggle-widget-expanded', function toggleWidgetExpanded() {
[538] Fix | Delete
var widgetContainer = $( this );
[539] Fix | Delete
component.handleWidgetAdded( new jQuery.Event( 'widget-added' ), widgetContainer );
[540] Fix | Delete
});
[541] Fix | Delete
[542] Fix | Delete
// Accessibility mode.
[543] Fix | Delete
component.setupAccessibleMode();
[544] Fix | Delete
});
[545] Fix | Delete
};
[546] Fix | Delete
[547] Fix | Delete
return component;
[548] Fix | Delete
})( jQuery );
[549] Fix | Delete
[550] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function