[go: up one dir, main page]

Skip to content

Embed comment count: treat unknown paths as zero-comment pages

Currently, a <comentario-count> widget treats any path that is missing from the database as an error, displaying the error-text attribute value.

It is, however, no error condition; the page may not have been created in the database yet, so zero-text value must be used instead, and error-text should stay reserved for cases an actual fetch errors has occurred.

Edited by Dmitry Kann