diff --git a/docs/NEWS b/docs/NEWS index 9f6afeea..d2d647e6 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,12 @@ Version 2.0 () ------------------------------------------------------------------------ + * Prevent entryproperties from saving/displaying a browser-side + stored password that was actually not set. + + * Stronger check for existing logger interface to prevent errors + when it is not actively used. + * Fix entryproperties being removed when publishing an article from the dashboard and by specific plugins (freetag, trackback) that modify entry data. diff --git a/include/functions_trackbacks.inc.php b/include/functions_trackbacks.inc.php index d2d5203b..354bcaf7 100644 --- a/include/functions_trackbacks.inc.php +++ b/include/functions_trackbacks.inc.php @@ -838,7 +838,7 @@ function serendipity_handle_references($id, $author, $title, $text, $dry_run = f $query .= (int)$id . ", '" . $i_link . "', '" . $i_location . "')"; $ins = serendipity_db_query($query); if (is_string($ins)) { - $serendipity['logger']->debug($ins); + if (is_object($serendipity['logger'])) $serendipity['logger']->debug($ins); } $old_references[] = array( diff --git a/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php b/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php index 4f1b652c..29eb6dd9 100644 --- a/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php +++ b/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php @@ -331,6 +331,7 @@ class serendipity_event_entryproperties extends serendipity_event ?>