[ewiki] Re: bugfix: plugins/meta/f_title | bug
- From: Mario Salzer <mario@xxxxxxxxxxxxx>
- To: ewiki@xxxxxxxxxxxxx
- Date: Mon, 01 Mar 2004 13:47:53 +0100
> "htmlentities" has been misspelled "htmlentitites" in line 12 of
> plugins/meta/f_title.php
Ok, thanks for the note - my "php -l" test missed that of course.
> ##META
> ## bug or feature
> When erasing all text entered in the meta-field, the meta-data is NOT erased,
> i.e. "once meta-data, always meta-data", e.g. if you've entered "title:
> NewName" then you have to do "title: OldName" to go back to the initial
> state.
That's also a trap I hit quite regularily. Originally it was intended
to make a few entries unerasable, but then extension plugins could do
this themselves.
An unset($save["meta"]["meta"]) was missing here, because the new
entries from the regex matching could only overwrite existing ones,
it was in fact impossible to add empty ones.
(Entries like "thing:\n" are however still rejected.)
mario
- References:
- [ewiki] bugfix: plugins/meta/f_title | bug
- From: massenmensch
Other related posts:
- » [ewiki] bugfix: plugins/meta/f_title | bug
- » [ewiki] Re: bugfix: plugins/meta/f_title | bug
- [ewiki] bugfix: plugins/meta/f_title | bug
- From: massenmensch