WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Metadata
Fatal Error: Redeclaring a function! (4 posts)

  1. fireproofsocks
    Member
    Posted 3 years ago #

    Fatal error: Cannot redeclare inline_edit_term_row() (previously declared in /Users/everett/Sites/wordpress3/html/wp-content/plugins/custom-taxonomies/backwards_compatibility.php:77) in /path/to/wordpress3/html/wp-admin/includes/template.php on line 77

    Gotta fix that.. maybe it's only showing up in certain versions of WP, but even when I remove that file and comment out the include statement, you have unhandled PHP notices. If I had a nickel for every plugin I found that did not handle PHP notices correctly, I'd have a small fortune: the repo is FULL of them, and I won't use any of them because it means your code has problems. You MUST turn on PHP notices when developing plugins.

    Looks like you're using a deprecated function call to wp_specialchars in 3 files:

    • ./custax.class.php
    • ./edit-taxonomies.php
    • ./taxonomy_functions.php

    Use esc_html() instead.

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    ??? @fireproofsocks, the taxonomy-metadata functions don't include any of the files you're referring to, nor does it use the wp_specialchars function at all. Perhaps you meant to direct this post to the Custom Taxonomies plugin people?

  3. fireproofsocks
    Member
    Posted 3 years ago #

    Gads... I think you're right. *hangs head in shame*

    Sorry to mis-post.

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    No problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic