WPIntell

Source evidence

Function name conflict, too generic

oik bwtrace · support · 2024-09-10T14:21:00+00:00

neutralsentiment
highseverity
0.57relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 35 rows with source links

17.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
pingram resolved
PHP Fatal error: Cannot redeclare ep() Sprout Invoices uses this same declaration. Had to tweak a bit but thanks for the useful tool. Thanks for the heads up. I wrote those functions in bobbfunc.php back in 2009, before I started writing any code for a WordPress plugin. In those days I didn’t know about namespaces and/or PHP classes. Can you confirm the tweaks you needed to make? I changed the function name and updated all references to ‘ep’ adding a prefix ‘bw_ep’ and all was good. Oops, I forgot to update this when I released oik-bwtrace v4.0.0. That’s similar to the solution I used in my fix. I also renamed wp() to bw_ep() . But to avoid version dependency problems I changed all my plugins that used wp() to call bw_echo( '</p>' ) instead.

Comments

3 shown
bobbingwide 2024-09-21T12:03:00+00:00

Thanks for the heads up. I wrote those functions in bobbfunc.php back in 2009, before I started writing any code for a WordPress plugin. In those days I didn’t know about namespaces and/or PHP classes. Can you confirm the tweaks you needed to make?

pingram 2024-09-23T17:42:00+00:00

I changed the function name and updated all references to ‘ep’ adding a prefix ‘bw_ep’ and all was good.

bobbingwide 2024-10-29T17:01:00+00:00

Oops, I forgot to update this when I released oik-bwtrace v4.0.0. That’s similar to the solution I used in my fix. I also renamed wp() to bw_ep() . But to avoid version dependency problems I changed all my plugins that used wp() to call bw_echo( '</p>' ) instead.