Skip to content

Instantly share code, notes, and snippets.

View AnnaMariaEriksson's full-sized avatar

Anna-Maria Eriksson AnnaMariaEriksson

  • Malmö, Sweden
  • 05:45 (UTC -12:00)
View GitHub Profile
@thefuxia
thefuxia / fix-empty-titles.php
Created November 2, 2011 02:41
Plugin Fix Empty Titles
<?php # -*- coding: utf-8 -*-
/*
Plugin Name: Fix Empty Titles
Description: Replaces missing titles with the first characters from post body.
Version: 1.1
Required: 3.2
Author: Thomas Scholz
Author URI: http://toscho.de
License: GPL