Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error when user that is not admin submits a Topic

  • @ronnyk1988

    Participant

    Deprecated: Die Funktion get_option wurde mit einem Argument aufgerufen, das seit Version 5.5.0 veraltet ist! Der Optionsschlüssel „blacklist_keys“ wurde in „disallowed_keys“ umbenannt. in /www/htdocs/w01decc8/my-url/wp-includes/functions.php on line 5697

    My script says blacklist_keys is found in
    /www/htdocs/w01decc8/my-url/wp-admin/includes/upgrade.php
    /www/htdocs/w01decc8/my-url/wp-content/debug.log
    /www/htdocs/w01decc8/my-url/wp-content/plugins/bbpress/includes/common/functions.php
    /www/htdocs/w01decc8/my-url/wp-content/plugins/updraftplus/central/modules/comments.php
    /www/htdocs/w01decc8/my-url/wp-includes/option.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • @dharmsi

    Participant

    same here

    @robin-w

    Moderator

    this is a notification error, and is not fatal.

    Bbpress authors have not changed this one yet.

    WordPress recommends that debug is not used on livre sites, so users should not see this.

    It was a WordPress decision to change blacklist and whitelist due to racial connotations.

    if you want to stop this displaying change the code in the file (lines 818-820) from

    // Strict mode uses WordPress "blacklist" settings
    	if ( true === $strict ) {
    		$hook_name   = 'blacklist';
    		$option_name = 'blacklist_keys';

    to

    // Strict mode uses WordPress "blacklist" settings
    	if ( true === $strict ) {
    		$hook_name   = 'disallowed';
    		$option_name = 'disallowed_keys';

    and keep a note of this change

    @ronnyk1988

    Participant

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar