Viewing 12 replies - 1 through 12 (of 12 total)
  • Any further information on this? I see ‘Critical’ mentioned a lot but no real detail.

    Thread Starter Insect Trojan

    (@insecttrojan)

    @draftpress will explain what to do with that

    Plugin Contributor DraftPress

    (@draftpress)

    @insecttrojan @sincewelastspoke Hi – We are working with WordPress to get it resolved. It should be back and become downloadable very soon.

    Thank you very much.

    Here is a fix until WordPress.org approves their plugin after a ‘security audit’.

    It appears their official repo on GitHub has the updates for the XSS bug fixed in version 1.1.24.

    https://github.com/99robots/99robots-header-footer-code-manager

    Download the zip, modify the archive so the folder name matches the current plugin, and change “99robots-header-footer-code-manager” to “header-footer-code-manager” then manually upload the plugin to WordPress.

    Thread Starter Insect Trojan

    (@insecttrojan)

    Fatal error: Cannot declare class Hfcm_Snippets_List, because the name is already in use in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/99robots-header-footer-code-manager-master/includes/class-hfcm-snippets-list.php on line 0

    Thread Starter Insect Trojan

    (@insecttrojan)

    bad idea i lost all my tables 🙁 the code i had in Header Footer Code Manager

    Fatal error: Cannot declare class Hfcm_Snippets_List, because the name is already in use in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/99robots-header-footer-code-manager-master/includes/class-hfcm-snippets-list.php on line 0

    Update the zip file and change:

    99robots-header-footer-code-manager

    to

    header-footer-code-manager

    Then when you upload it to your site it will say the plugin already exists and asks if you would like to replace it with the new plugin.

    The error you are seeing is because if the folder name is different then it adds it to your site as a second plugin. So you’ll have HFCM installed twice. That’s why the class name is already in use.

    If you delete the plugin it will delete your database tables.

    This is why I said to upload it using the same folder name so it’ll replace the plugin.

    • This reply was modified 1 year, 9 months ago by duhblow7.

    this is the uninstall.php of this plugin.

    <?php
    // If uninstall is not called from WordPress, exit
    if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
    	exit;
    }
    
    $option_name = 'hfcm_db_version';
    delete_option( $option_name );
    
    // Drop a custom db table
    global $wpdb;
    $table_name = $wpdb->prefix . 'hfcm_scripts';
    
    $wpdb->query( "DROP TABLE IF EXISTS $table_name" );

    this will drop the table when the plugin is deleted.

    What about those who still have it? and cannot understand this HTML language.

    Plugin Contributor DraftPress

    (@draftpress)

    @rguptap and @insecttrojan – I’d just be patient as it’ll be restored after .org plugin team finishes their review.

    It is common for popular plugins to be reviewed for security issues, if any. In this case, we’ve already replied to .org team with our updates and they just need to re-enable the plugin after their review. Thus far, they’ve been quick to respond so I know they’re on it. Nobody likes such disruption but rest assured, it’ll be live soon enough.

    Plugin Contributor DraftPress

    (@draftpress)

    Hi – HFCM is back on WordPress.org, please get it from there.

    Thank you very much.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘The Plugin “Header Footer Code Manager” has been removed’ is closed to new replies.