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/clone/wp-conte.../plugins/ninja-fo.../includes/Updates
File: CacheCollateCleanup.php
*
[500] Fix | Delete
* @since 3.4.0
[501] Fix | Delete
*/
[502] Fix | Delete
private function array_squash( $data )
[503] Fix | Delete
{
[504] Fix | Delete
$response = array();
[505] Fix | Delete
// For each item in the array...
[506] Fix | Delete
foreach ( $data as $row ) {
[507] Fix | Delete
// If the item has more than 1 attribute...
[508] Fix | Delete
if ( 1 < count( $row ) ) {
[509] Fix | Delete
// Assign the data to an associated result.
[510] Fix | Delete
$response[ $row[ 'id' ] ] = $row;
[511] Fix | Delete
// Unset the id setting, as that will be the key.
[512] Fix | Delete
unset( $response[ $row[ 'id' ] ][ 'id' ] );
[513] Fix | Delete
} // Otherwise... (We only have 1 attribute.)
[514] Fix | Delete
else {
[515] Fix | Delete
// Add the id to the stack in a non-associated result.
[516] Fix | Delete
$response[] = intval( $row[ 'id' ] );
[517] Fix | Delete
}
[518] Fix | Delete
}
[519] Fix | Delete
return $response;
[520] Fix | Delete
}
[521] Fix | Delete
[522] Fix | Delete
}
[523] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function