[wp-trac] [WordPress Trac] #18632: wp_get_shortcode() Should Always Return a URL
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 10 03:27:51 UTC 2011
#18632: wp_get_shortcode() Should Always Return a URL
--------------------------+-----------------------------
Reporter: cais | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: 3.3
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
Currently the code used in the link-template.php file causes the
`wp_get_shortcode` function to return an empty result if the WordPress
installation is using the default permalink structure. This causes at
least issues with `the_shortcode` function and can be expected to cause
issues any place that `wp_get_shortcode` is called when the default
permalink structure is being used.
An alternative is to simply make the inline documentation state an empty
result will be returned when the default permalink structure is used.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18632>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list