Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

User:Carthik/ToDo

ToDo

Immediate

Assorted

DOAP

Tags

Improvements/Fixes:

  • extend wp-mail.php to map email addys to authors, and to recognize different mime types
  • a way to edit meta keys or values

My Wordpress changes or hacks

Here is what I have in my wp-admin/quicktags.js file, closer to the bottom:

!Quicktag link to prompt for the title too...

function edInsertLink(myField, i, defaultValue) {
        if (!defaultValue) {
                defaultValue = 'http://';
        }
        if (!edCheckOpenTags(i)) {
                var URL = prompt('Enter the URL' ,defaultValue);
                if (URL) {
                        edButtons[i].tagStart = '<a href="'
                        + URL
                        + '" title="' + prompt('Enter a title for the link', '')
                        + '">';
                        edInsertTag(myField, i);
                }
        }
        else {
                edInsertTag(myField, i);
        }
 }

This function replaces the existent edInsertLink(); function in the quicktags.js file You might want to make the change too. I will make this hack of mine known, so everyone can use it.