48.1 F
Los Angeles
Monday, January 30, 2023

Apple March 8, 2022 Event

Apple announced several products during their March 8, 2022, event. Studio Display Mac Studio iPad air iPhone SE iPhone 13 and 13 Pro color addition Some of the products will...

Eastman files motion for exculpatory information and continuance

In response to the January 6 Select Committee Brief to Eastman Privilege Assertions, Eastman has filed a new motion with the court. A request for the court to require...

February 2022 Employment Report

U.S. Bureau of Labor Statistics reported today that total nonfarm payroll employment rose by 678,000. The unemployment rate edged down to 3.8 percent The employment number exceeded forecasts The...

WordPress Export Tools: Fix For Incomplete Exports

Loren’s blog is being moved off the old server and onto the new one. I started the move months ago and ran into a problem that the export file was cutting off too soon.

The solution is fairly simple.

/**
* Dynamically increase allowed memory limit for export.
*
*/
function my_export_wp() {
  ini_set('memory_limit', '1024M');
}
add_action('export_wp', 'my_export_wp');

Adding the code to the theme functions.php file worked like a charm. All of Loren’s posts from 2003 to 2010 are now sitting in a nice XML file.

Related Stories