[wp-trac] [WordPress Trac] #61214: Hello Dolly : Uncaught exception 'Error' with message 'Call to undefined function add_action()
WordPress Trac
noreply at wordpress.org
Thu Mar 6 00:16:42 UTC 2025
#61214: Hello Dolly : Uncaught exception 'Error' with message 'Call to undefined
function add_action()
------------------------------------+-----------------------
Reporter: deepakrohilla | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8
Component: Plugins | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------
Changes (by audrasjb):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"59943" 59943]:
{{{
#!CommitTicketReference repository="" revision="59943"
Plugins: Restric direct access to Hello Dolly PHP file.
This changeset restricts direct access call to `/wp-
content/plugins/hello.php`, and removes the "Uncaught exception Error"
warning that shows when `WP_DEBUG` is enabled and when accessing the
related file directly.
Props deepakrohilla, SergeyBiryukov, szepeviktor, audrasjb.
Fixes #61214.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61214#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list