Skip to content

TAXONOMY_NAME constant name is going to lead to a conflict. #228

@peterwilsoncc

Description

@peterwilsoncc

Describe the bug

In plugin's main file, the constant TAXONOMY_NAME is defined

define( 'PODCASTING_URL', plugin_dir_url( __FILE__ ) );
define( 'TAXONOMY_NAME', 'podcasting_podcasts' );

It's used is several locations throughout the plugin to refer to the podcasting the taxonomy. As such a generic term, it's going to lead to a confict at some point, as suggested by these search results .

I suggest the constant be:

  • deprecated
  • SimplePodcasting\TAXONOMY_NAME or SIMPLE_PODCASTING_TAXONOMY_NAME be used in it's place.

Steps to Reproduce

N/A

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

type:bugSomething isn't working.

Type

No type
No fields configured for issues without a type.

Projects

Status
No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions