[wp-trac] [WordPress Trac] #16199: plugin_dir_url - wrong directory for symlinks
WordPress Trac
noreply at wordpress.org
Tue Jan 2 12:48:17 UTC 2024
#16199: plugin_dir_url - wrong directory for symlinks
--------------------------+-------------------------
Reporter: iworks | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: 3.0.4
Severity: trivial | Resolution: worksforme
Keywords: | Focuses:
--------------------------+-------------------------
Comment (by blackmorena):
plugin_dir_url() and plugins_url() functions are WordPress functions used
to generate URLs to files or directories within your plugin or the
WordPress installation. They should not include the absolute file path as
part of the URL.
Here are a few things you can check or try to resolve this issue:
Check WordPress Version: Ensure that you are using a compatible version of
WordPress. These functions are typically designed to work with modern
versions of WordPress, and using an older version of PHP might not be the
issue.
Check for Custom Code: Look for any custom code or modifications in your
WordPress installation or theme that might be affecting the behavior of
these functions.
Update PHP: PHP 5.2 is very old and no longer supported. Consider updating
your PHP version to a more recent and supported version (PHP 7.0 or
later).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16199#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list