Skip to content

Hello World  #4

@alanef

Description

@alanef

in _my_extra_arguments

You have $options['block-output']['element::p']['content']

which fails with Notice: Undefined index: element::p in /var/www/html/.. /includes/vendor/ayecode/wp-super-duper/hello-world.php on line 131 ( add filter un commented ) (PHP 7.3 )

Now I'm not super advanced with PHP but I have never seen this syntax used in an array key element::p

I get what is trying to be done - i.e. update the content associated with the element type of p

But it seems to fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions