ticket summary owner workflow __group__ _version priority severity milestone type _status _created modified _description _reporter Comments
2691 HTML comments in posts aren't handled properly. adamsilverstein* needs-unit-tests Formatting 2.8.5 normal normal Future Release defect (bug) accepted 2006-04-25T03:16:37Z 2024-01-10T10:11:05Z "When an HTML comment is added in a post, autop adds paragraph (
) tags around the comment and for multi-line comments line breaks ( ) are added after every line. This should not happen in HTML comments.
This ticket is similar to #712 which was closed with wontfix. I would like to know why this isn't seen as an issue? It prevents the addition of RDF and other metadata, not to mention just plain old HTML comments in posts." gord 36
2833 wpautop breaks style and script tags dev-feedback Formatting 2.0.3 low normal Future Release defect (bug) reopened 2006-06-17T20:36:00Z 2022-03-29T01:38:54Z "When I create a post in which I want to include Javascript or some styles, WordPress 'breaks'when showing those posts, because all newlines in the SCRIPT and STYLE tag are converted into BR tags.
Example:
{{{
}}}
Becomes:
{{{
}}}
And:
{{{
}}}
Becomes
{{{
}}}
This happens because wpautop adds those BR tags to the post. (As it should, just not within STYLE or SCRIPT tags.)
I've made a (temporary?) workaround for this by creating a pre and post event for wpautop, which substitute the necessary newlines by a temporary value in the pre event and placing them back in the post event. Although I think this should be incorporated in wpautop itself.
See also: http://wordpress.org/support/topic/76433 and http://wordpress.org/support/topic/76297
While searching trac I also found ticket #2346, which is about the same problem, but which was for 2.0 and self-closed by the submitter?
P.S. I have TinyMCE turned of." Nazgul 37
3260 XML output (rss, atom, rdf ...) should always use UTF-8 or CDATA for user input stevenkword has-patch Feeds 2.8.2 normal normal Future Release defect (bug) assigned 2006-10-18T02:33:58Z 2024-02-11T12:23:24Z "If none UTF-8 is used, user generated text like titles or categories may contain unallowed entities. The elements
, , , (there may be more) are not protected width .
The conversion can be done width the PHP MulitByte function. If MB is not available, the ) unbalances the CDATA block andy needs-unit-tests Posts, Post Types 2.1 normal minor Future Release defect (bug) new 2007-01-25T05:55:47Z 2023-02-10T03:00:14Z "I'm
not sure if this is a bug per se, but it breaks included JS in my
posts that are escaped with a CDATA section. I've basically commented
out the following line in the_content() every time I upgrade:
//$content = str_replace(']]>', ']]>', $content);
A user on the wp-testers list indicated that this was part of making sure that included CDATA blocks didn't break RSS feeds. I don't use CDATA sections directly in my RSS feeds, so I haven't tested this. In my particular case, the JS is used to embed Flash movies (e.g. YouTube videos) in an XHTML compliant way (without embed tags). I have a custom plugin I've written that strips out the JS and replaces it with the embed tag in the RSS feed.
Perhaps we should use a flag to activate this when the app is going through a feed. Ideally, though, it would simply be removed. Odds are that the CDATA block is being used for a JS block in a post body, and since most RSS aggregators don't allow JS by default, it would be safe to simply remove CDATA blogs if is_feed() is set." scenic 83
4328 Redirect Old Slugs feature needs to redirect slugs for pages, not just posts, and redirect old permalink structure SergeyBiryukov needs-unit-tests Canonical 2.2 normal normal Future Release enhancement reviewing 2007-05-24T01:52:44Z 2022-01-25T14:30:12Z "Create a page, browse to it, edit it, change its slug, WP redirects to the old page's slug and serves a 404. Wasn't WP 2.1 or WP 2.2 supposed to make the redirect old slug feature built-in?
Along the same lines, it would be sweet if instead of simply redirect old slugs, WP would redirect old urls. When the date changes, when the page parent changes, or when the permalink structure changes, the url changes but neither of WP, the redirect old slug plugin, the permalink redirect plugin, or anything else catches this." Denis-de-Bernardy 49
4463 Pretty permalink on search aristath* has-patch Permalinks 2.3 normal normal 6.6 enhancement accepted 2007-06-14T03:00:49Z 2024-02-14T15:11:21Z "Ryan:
{{{
In trunk, with cruft free links, I get stuff like this:
http://foo.blog/page/3/?s=test
That's not right. Maybe we should revert back to pre [5454] to fix the trunk problems.
}}}
[5454] was the commit for #3930
If at all possible, I'd like to work with the new code." markjaquith 25
4969 Make wp_list_* functions all behave similarly... igmoweb has-patch Themes 2.3 normal normal Future Release enhancement assigned 2007-09-13T14:18:22Z 2018-06-06T23:11:56Z "The sidebar template typically uses lists of lists to prettily display lists of pages, categories and bookmarks. Lists of pages, categories and bookmarks are forced to be items of lists themselves as the functions wp_list_pages(),wp_list_categories() and wp_list_bookmarks() wrap the output of functions in
..
tags by default.
Lists are intended to indicate something about the structure of the document where as these forced
tags appear to be intended to provide pretty indentation. Nested-lists can also provide confusion for non-visual readers.
wp_list_bookmarks() provides the ability to override this with category_before and category_after options. wp_list_pages() and wp_list_categories() should offer similar options. Ideally the accessible approach would be the default for these options but I don't believe this is possible without breaking existing themes." pishmishy 19
5130 Linking to multiple posts on your site breaks pingback due to comment flooding needs-unit-tests Pings/Trackbacks 2.3 normal normal Future Release defect (bug) new 2007-10-01T17:36:13Z 2023-03-22T11:30:42Z "http://scott.sherrillmix.com/blog/programmer/web/wp_pingpreserver/
is this useful in WP 2.3?" Denis-de-Bernardy 19
5250 wpautop() issue with lists needs-unit-tests Formatting 2.3 normal normal Future Release defect (bug) reopened 2007-10-24T00:32:38Z 2023-02-02T13:34:08Z "First of all, my sincere apologies if this is a duplicate.
The problem, in short: WordPress inserted a number of unclosed `
` tags into my post. It should either insert correctly closed tags, or none at all. I honestly would prefer the former.
In detail: I had HTML code very similar to this:
{{{
text
subtext
more text
}}}
This was automatically converted to:
{{{
text
subtext
more text
}}}
Note the extra `
` tag in the above, which is unclosed (making the W3C validator choke on my website).
Also note, I was not using the WYSIWYG editor (turning it off was the first thing I did), so it's unlikely to be due to that.
As a workaround, manually inserting properly closed `
` tags works just fine:
{{{
text
subtext
more text
}}}
Since this workaround exists, the bug is not very prioritary, but it should also (hopefully) be easy to fix." Narc0tiq 5
5358 Queried object on multiple tag query holds only first tag has-patch Taxonomy 2.3.1 normal normal Future Release defect (bug) assigned 2007-11-15T05:17:21Z 2023-03-22T11:39:28Z "On tag page results when two or more tags are queried ('''/tags/foo,bar''' -or- '''/tags/foo+bar'''), only the first tag is in the queried object. So a simple:
{{{ print_r($wp_query->get_queried_object()); }}}
outputs a single associative array of the first tag referenced in the query. One would expect to find an array of all tags in the queried object." Kafkaesqui 14
5678 Respectfully strip newlines in some importers hansengel* Import 2.5 normal normal WordPress.org enhancement accepted 2008-01-16T11:20:02Z 2019-03-15T00:39:32Z "Filing this as an enhancement because it could do with some discussion and insight from wiser and more experienced heads before being labelled ""defect"". :-)
I noticed while helping some users import their blogs that importers of HTML content (such as the RSS importer) don't tidy up superfluous newlines in the import format, which results in unnecessary {{{ }}} elements after {{{wpautop()}}} filtering for display. They turn up in the editor too, which reinforces the problem.
I've adapted one of the filter functions to strip superfluous newlines, and changed my RSS importer to use it. The results have been warmly welcomed by users, who no longer have to clean up their imported blog content. ;-)
{{{strip_newlines()}}} should probably go into {{{wp-includes/formatting.php}}}, if there isn't already a function that already serves this purpose. I couldn't find one, so I adapted this.
Given that similar HTML block/inline-savvy string-replacement code exists in other formatting functions, perhaps there's an opportunity for some refactoring here? I feel kind of silly proposing a function that is almost entirely duplicated from other code in the core.
I've used it immediately before the ""Clean up content"" section in {{{wp-admin/import/rss.php}}}'s {{{get_posts()}}}, and in an Advogato importer that I've written (which also uses HTML as the content format).
{{{
function strip_newlines($text) {
// Respectfully strip unnecessary newlines
$textarr = preg_split(""/(<[^>]+>)/Us"", $text, -1, PREG_SPLIT_DELIM_CAPTURE);
$stop = count($textarr); $skip = false; $output = ''; // loop stuff
for ($ci = 0; $ci < $stop; $ci++) {
$curl = $textarr[$ci];
if (! $skip && isset($curl{0}) && '<' != $curl{0}) { // If it's not a tag
$curl = preg_replace('/[\n\r]+/', ' ', $curl);
} elseif (strpos($curl, ' tag as opposed to , I noticed that WP's RSS import doesn't strip the CDATA tags as it does for the .
=========Code Lines (83-87)===============
{{{
if (!$post_content) {
// This is for feeds that put content in description
preg_match('|(.*?)|is', $post, $post_content);
$post_content = $wpdb->escape($this->unhtmlentities(trim($post_content[1])));
}
}}}
=====================================
I tweaked the code to solve the problem (see below)
==========Tweaked Code===============
{{{
if (!$post_content) {
// This is for feeds that put content in description
preg_match('|(.*?)|is', $post, $post_content);
$post_content = str_replace(array (''), '',$wpdb->escape($this->unhtmlentities(trim($post_content[1]))));
}
}}}
======================================
I'd be happy to submit a patch, except I'm not quite that savvy yet. It would be great it someone could incorporate it. Thanks." sweetdeal 16
6286 "Proposed changes to ""E-mail me whenever"" Discussion Options" Comments 2.5 normal normal Future Release enhancement new 2008-03-18T19:14:55Z 2019-03-15T00:40:35Z "WRT the ""E-mail me whenever"" options on the Discussion options page:
[[Image(http://img132.imageshack.us/img132/4215/picture1vf1.png)]]
1. For ""a comment is helf for moderation,"" the ""me"" is ambiguous. It should specify that it means the blog admin e-mail address.
1. For ""anyone posts a comment,"" again, ""me"" is ambiguous. In this case ""me"" means the author of the post. The comment notification setting is personal, and therefore should be set in the profile options (where it can retain the ""me""). Some authors may want e-mail notification, others might not." markjaquith 33
6297 Unbalanced tags across more and nextpage tags Formatting 2.5 normal normal Future Release defect (bug) reopened 2008-03-19T09:55:50Z 2019-03-15T00:40:50Z "It's easy to produce broken front page markup by including a --nextpage-- tag that breaks an enclosing bold or italic tag. There's some code in get_the_content that fixes this for --more-- tags, but it doesn't handle --nextpage--, and it'd be more efficient to do it at post save time.
The enclosed patch fixes this by splitting the content into slices at those boundaries and separately balancing each slice. Balancing happens in the content_save_pre action. No filtering is needed on the output side for posts saved after this filter.
It was a bit of a struggle figuring out where to fit this but I think the solution is fairly clean. It includes a new split_nextpage() function that can be used instead of ad-hoc regexps for splitting a post into pages.
" tellyworth 18
6342 "Rapidly spamming/deleting comments can break ""infinite river"" feature on comment moderation pages" Comments 2.5 low minor Future Release defect (bug) assigned 2008-03-21T22:05:16Z 2019-03-15T00:41:30Z "Comment moderation pages have an ""infinite river"" feature whereby when you remove one comment (spam/delete), it'll load a new one at the bottom. Unfortunately, it doesn't seem to catch up if you click more rapidly than about once every 2 or 3 seconds, and you'll ""lose"" comments. At the end, you may just have one comment that, when dealt with, will be replaced by only one comment. This may have to do with doubleclicking the ""spam"" link, or maybe clicking the ""spam"" link of the next comment before the river action has finished." markjaquith 6
6393 Export & import blogroll with categories Import normal normal Future Release enhancement new 2008-03-26T17:01:38Z 2019-03-15T00:36:00Z "I have attached a patch which will export Blogroll OPML file having a category attribute in it. It is valid to have a category attribute in outline tag. Generated OPML file by wp-links-opml.php has been validated by http://validator.opml.org/.
I have also updated link-import.php and link-parse-opml.php files in wp-admin to parse category attribute and create link_category in database if it does not exist and assign link to that category.
This enhancement will automatically export and import link-categories with links." jayminkapish 5
6425 Support for RTL in feeds close Feeds normal normal Awaiting Review enhancement assigned 2008-03-27T20:56:51Z 2023-02-02T13:42:09Z "In the current state of most Feed readers, the only surefire way to make RTL content display properly is to have directionality enforced inside the content - that is, either with {{
}}} tags inside CDATA or with Unicode directionality characters (for e.g., RLE and PDF, or and , or U+202B and U+202C.) for excerpts or titles.
While we currently have pretty good support for RTL languages, there is no support for RTL in feeds - all is left up up to the feed reader.
I suggest adding a mechanism to automatically insert these tags/characters for blogs that have text_direction set to RTL - much in the same way RTL css style sheets are loaded for these blogs.
I have attached a patch that modifies the feed templates to insert these tags/characters. Note that there is no checking of blog directionality here - this is just an example of how to enforce RTL in feeds, not how to enforce it conditionally.
This relate to a previous ticket I submitted (#5517), regarding adding an option to set the feed language - which currently just defaults to EN. Certain feed readers know to display RTL text in proper directionality according to feed language (for e.g., feeds that have their feed language set to HE (Hebrew), will get displayed from Right to Left). While setting feed language is not a comprehensive solution, it is a step in the right direction." RanYanivHartstein 8
6492 Guids No Longer Have Permalink Format Database 2.5 normal normal Future Release enhancement reopened 2008-03-31T06:03:30Z 2019-08-30T01:26:43Z "When you create a new post using WordPress 2.5 the GUID is created in the http://siteurl/?p= format even when permalinks are enabled. This is because the _transition_post_status function in /wp-includes/post.php now checks if the guid is empty (which it never is) before resetting/creating it with the proper permalink structure. Line 2841 should be removed.
" brianwhite 72
6619 permalink field misleading in page editor: it displays the erroneous values Editor 2.5 normal normal Future Release enhancement new 2008-04-06T14:48:15Z 2021-09-22T13:30:43Z "if you create a sub-page, the permalink field should display the proper permalink.
currently, if you have:
site.com/page/
and when you create:
site.com/page/subpage/
the permalink shows:
site.com/subpage/
until it gets saved
the expected behavior would be for it to show the correct permalink.
the same remark applies when you then change the permalink. if the parent is no longer page, but rather page-2, then the permalink should update accordingly." Denis-de-Bernardy 9
6778 Detect when the config will cause infinite loop dev-feedback Permalinks 2.5 normal normal Future Release enhancement reopened 2008-04-19T13:46:14Z 2019-03-15T00:34:39Z "Behavior:
If you put in http://www.domain.com in the ""Wordpress Address"" setting, then Wordpress will automatically do a redirect from http://domain.com to http://www.domain.com. Many hosting packages allow the user to deal with www and non-www versions of their domain. This will cause an infinite redirect loop if, for example, the ""Wordpress Address"" is set to http://www.domain.com and the hosting setting is set remove the www from the domain address-- to redirect http://www.domain.com to http://domain.com.
Expected behavior:
When setting the ""Wordpress Address"" setting, it should detect if the canocical code will cause an infinite redirect loop and warn/correct the mistake" Analogpoint 21
6814 Async media crunching adamsilverstein dev-feedback Upload 2.5 normal normal Future Release enhancement assigned 2008-04-23T00:19:05Z 2022-08-24T14:14:22Z "The upload part of the new multi-uploader is pretty nice now, but it blocks on the ""crunching"" phase, which can sometimes take 20-60 seconds, I assume to create medium thumbnails and such.
The crunching part of the upload should not block the next file beginning the upload process, it should happen asynchronously with the rest of the process." matt 18
6984 wpautop() formats the the contents of shortcodes Shortcodes 2.6 normal normal Future Release defect (bug) new 2008-05-17T10:34:02Z 2019-04-01T10:04:10Z "`wpautop()`, the bane of my existence as a plugin developer, is at it again.
Here's an example of some PHP wrapped in a valid shortcode in a post of mine:
{{{
[code lang=""php""]$text = str_replace( array('
', '
'), array('
', '
'), $text);[/code]
}}}
The content that gets passed to my shortcode function is this:
{{{
$text = str_replace( array('
', '
'), array('
', '
'), $text);
}}}
Expected result: it shouldn't touch the insides of valid shortcodes (like adding line breaks or anything as it is doing now)." Viper007Bond 18
7098 Multiple entity codes in POT file for the same character chriscct7 dev-feedback I18N 2.5.1 normal normal Future Release enhancement reviewing 2008-06-05T11:33:12Z 2019-05-26T15:33:37Z "In the wordpress.pot file, two characters are represented by both their numbered and lettered HTML entities. These are:
'''Em-dash:''' the POT file contains both — and —
'''Right angle quote:''' the POT file contains both » and »
I'm not sure if it matters but it certainly is a little inconsistent.
" leuce 11
7231 wp_link_pages: option next_and_number sorich87* has-patch Posts, Post Types normal normal Future Release enhancement accepted 2008-07-03T09:25:43Z 2019-03-15T00:33:27Z "with the next_or_number option of the wp_link_pages() function, it would be nice to have the option to use both.
it gives the user the opportunity to easily go to the next/previous page, without loosing the other option of going immediately to a certain page
example:
__next__ __1__ 2 __3__ __4__ __5__ __6__ __previous__
" jan831 6
7745 Private posts cannot have unpublished or pending review status Posts, Post Types 2.6.1 low minor Future Release enhancement new 2008-09-15T16:32:19Z 2019-03-15T00:32:37Z "Posts with private ticked are immediately set to published, and cannot be reverted to unpublished or pending review while private is ticked. Given the default use of private posts, this behavior is understandable, but it seems far simpler if the behavior remained consistent with public posts.
In our particular case, we are using Role Manager to allow subscribers to read private posts. A simple solution that suits our particular needs well. But we really need the full draft/review process, just as with public posts." nyoungman 15
7795 Activate and Deactivate Theme hooks Themes 2.7 normal normal Future Release enhancement assigned 2008-09-26T20:40:53Z 2019-03-15T00:32:18Z Currently, there is no standard way of checking whether of theme is activated, deactivated and uninstalled. Plugins have this capability and themes should also have the same to ensure that both share similar functionality. jacobsantos 26
7797 Consolidate iframe headers Administration 2.7 normal normal Future Release enhancement assigned 2008-09-26T23:35:46Z 2019-03-15T00:31:49Z "Currently iframes are being used in multiple locations (ie. thickbox, plugin re-activation, etc) and in each case, theres generally a function for the header and footer, or its inline.
What i suggest, Is to create a standard set of admin templates which print the headers out for the pages.
And a side suggestion:[[BR]]
As an added bonus, It should probably be possible to automatically detect if it was loaded via thickbox ($_GET[TB_iframe] shouldnt be set) and serve the correct header (ie. Full admin side menu if no thickbox)" DD32 6
7813 export function does not preserve encoding tott has-patch Export 2.7 normal minor Future Release defect (bug) new 2008-09-30T20:07:25Z 2019-03-15T00:31:35Z "when exporting strings are always converted to utf-8 while header and encoding is set to encoding used in blog.
this causes trouble when importing later." tott 2
7965 Database upgrade complete message should be an admin notice has-patch Upgrade/Install normal normal Future Release enhancement new 2008-10-25T18:53:28Z 2019-03-15T00:31:03Z When a database upgrade is complete we should just take you to the page you wanted to see and should an upgrade_complete admin notice instead of requiring another button click westi 7
8107 get_next_post, get_previous_post do not work for posts posted within same second dev-feedback Posts, Post Types 2.7 normal normal Future Release defect (bug) new 2008-11-08T12:34:22Z 2018-12-09T21:00:15Z "if you have posts that are published shortly one after the other (e.g. through a script or plugin that posts several posts at once) several of them may end up having the same post_date in the wordpress database table. this is due to the fact that mysql datetime seems to only maintain a precision of one second (see also this discussion: http://bugs.mysql.com/bug.php?id=8523).
the problem now is that wordpress functions like get_next_post/get_previous_post (get_adjacent_post resp.) will no longer work correctly if something like this happens as they solely rely on a comparison of the post_date field and they don't treat the case where these timestamps are the same for several posts. the result is that e.g. get_next_post will pick one of the posts having the same timestamp and ""jump"" over the others, so the user will never see them.
i see two possibilities around this 1.) treat cases with the same post_date by e.g. looking also at the post id (assuming it is always strictly increasing) or probably preferably 2.) make sure that no two posts have the same post_date timestamp by e.g. increasing post_date artificially when publishing the post and if another post already has the same timestamp.
" whoismanu 12
8578 Blogger import incorrectly reports saved user information Import normal normal WordPress.org defect (bug) new 2008-12-11T16:53:52Z 2019-03-15T00:30:30Z "I installed a fresh copy of WordPress 2.7 and was importing content from a Blogger site. Before beginning to import, the page claimed that Blogger account information was saved in the database and that I could restart the process. Even after pressing the ""Clear account information"" button, the message still appeared." covert215 2
8592 Private Pages not listed in the Parent dropdown SergeyBiryukov has-patch Posts, Post Types normal critical Future Release enhancement reopened 2008-12-12T16:22:24Z 2023-12-06T17:33:31Z "Private pages are not available as a choice in the Parent dropdown of the Attributes module.
You should be able to create a hierarchy of private pages if you want to.
Tested with r10194." mtdewvirus 210
8828 Tags and Categories are undifferentiable in Atom and RSS feeds has-patch Feeds 2.7 low minor Future Release enhancement new 2009-01-09T11:48:18Z 2018-02-08T16:03:00Z "In RSS feeds this can be achieved using the 'domain' attributes of the category element. This is already done in WordPress export through the wxr_post_taxonomy function, so we just have to do the same in RSS feeds.
In Atom feeds this can be achieved using the 'scheme' attributes of the category element. The Atom standard is not explicit about what to put in this scheme attributes. There is [http://edward.oconnor.cx/2007/02/representing-tags-in-atom an interesting topic on Edward O’Connor blog]. In my proposed patch, i decided to use the 1st representation and i also considered seriously the 2nd.
In the patch, i'm also adding the 'label' attribute to the atom category element and changed the 'term' attribute to be the tag slug. Seems this are currently the best practices in the Atom community." znarfor 6
8857 Make WP MySQL strict mode compliant Database 6.4.2 lowest normal enhancement reopened 2009-01-14T11:25:26Z 2024-01-22T08:45:43Z "Incorrect Mysql scheme during WordPress installation on DBMS with strict date/datetime format settings will result in errors and will be unable to finish succesfully. Existing default date and datetime values are '0000-00-00' and '0000-00-00 00:00:00' which are not supported any more. Please see official Mysql dev documentation for more information:
{{{
The DATE type is used when you need only a date value, without a time part. MySQL retrieves and displays DATE values in 'YYYY-MM-DD' format. The supported range is '1000-01-01' to '9999-12-31'.
}}}
http://dev.mysql.com/doc/refman/5.0/en/datetime.html
" ghostks 21
8905 Category pagination broken with certain permalink structures Permalinks 2.7 normal normal Future Release defect (bug) assigned 2009-01-21T07:26:31Z 2021-01-27T10:17:49Z "If one uses a permalink structure with %category% followed by %postname%, accessing pagination can cause a 404, as WordPress attempts to look for a post called ""page"".
As per http://barefootdevelopment.blogspot.com/2007/11/fix-for-wordpress-paging-problem.html
Presumably can occur with other permalink structures too." rmccue 13
8924 autoload should be boolean in add_option() Database lowest normal Awaiting Review enhancement reopened 2009-01-22T23:51:48Z 2019-03-15T00:30:00Z "Regarding: CREATE TABLE `wp_options` (`autoload` varchar(20) NOT NULL DEFAULT 'yes',
Why not boolean binary, or one character long?
" jidanni 7
8994 Incorporate MediaRSS Plugin into core technosailor dev-feedback Feeds normal normal Future Release feature request new 2009-01-29T18:00:20Z 2021-02-07T22:38:35Z Per conversation on the hackers list, this ticket is a working area for incorporation of the MediaRSS plugin (http://wordpress.org/extend/plugins/mrss) into core for WP 2.8. technosailor 21
9102 Inverse proxy breaks permalinks needs-unit-tests Permalinks 2.7 normal normal Future Release defect (bug) assigned 2009-02-12T01:58:37Z 2019-03-15T00:29:35Z "I have a WP installation at my university's webspace (on an apache server), say http://myuni.ac.at/mydir/wordpress/ , and an inverse proxy domain http://mydomain.at/ for it.
This means that any request to the latter, eg for http://mydomain.at/2009/02/12/inverse-proxy-trouble/ , is forwarded to http://myuni.ac.at/mydir/wordpress/ , which in turn means that the REQUEST_URI there becomes /mydir/wordpress/2009/02/inverse-proxy-trouble/ . My ''home'' variable is of course set to http://mydomain.at/ (''siteurl'' is set to http://myuni.ac.at/mydir/wordpress/ -- otherwise I wouldn't be able to login to WP).
Unfortunately, when analyzing REQUEST_URI, wordpress chops off the ''home'' path, not the ''siteurl'' one. This may be okay for some purposes, but in the inverse proxy case, permalinks break. For a fix, I had to hack two wordpress core files, namely
wp-includes/classes.php
in function parse_request: change line 162 from
{{{
$home_path = parse_url(get_option('home'));
}}}
to
{{{
$home_path = parse_url(get_option('siteurl'));
}}}
and wp-includes/rewrite.php, in function get_pagenum_link, line 987, same modification.
This is a dirty hack, of course; so I wonder if in general, using the ''siteurl'' path is valid in any case where the ''home'' host differs from the ''siteurl'' host. If so, I suggest changing the affected files in such a manner." Bernhard Reiter 5
9117 Spam queue doesn't distinguish between filter sources Comments 2.7 normal normal enhancement new 2009-02-12T22:50:51Z 2019-06-04T19:21:30Z "1. On the Settings / Discussion tab, go to the Comment Blacklist box, and add the string ""the"".
2. Post a comment containing the word ""the"". It will be caught as spam.
3. Visit the Comments / Spam tab. Your comment is there, but there is nothing to indicate whether it was caught by the Comment Blacklist, or by Akismet, or by another spam filter.
Result: neither the user nor WordPress knows how to prevent that comment from being caught in future. Many users will forget about the Blacklist feature and assume their spam filter plugin is faulty.
Suggested fix: comments caught as spam should record the reason. This should be displayed to the user, and used internally by spam filter plugins to decide how to handle false positives.
" tellyworth 11
9257 EXIF GPS data dev-feedback Media 2.7 normal normal Awaiting Review enhancement assigned 2009-03-01T19:30:17Z 2024-03-06T16:33:55Z "Attached patch adds GPS longitude and latitude to image meta data.
Changed: wp_read_image_metadata function (file: wp-admin/includes/image.php).
It complies with exif standard:
[http://www.exif.org/Exif2-2.PDF] (page 46)
Commented on wp-hackers list:
[http://comox.textdrive.com/pipermail/wp-hackers/2009-March/025093.html]" B-Scan 26
9296 Settings API & Permalink Settings Page Bug jfarthing84 Permalinks 2.7.1 normal major Future Release defect (bug) reopened 2009-03-07T05:33:55Z 2020-09-25T23:12:01Z Although there is a hook in the options-permalink.php to insert custom settings, it does not actually save any custom setting which is added to that page. Instead of posting to options.php like all the other options pages, it posts to itself and only handles the form data which is built into the wordpress core. It should be implemented on that page to also store custom settings that may be hooked onto that page. jfarthing84 38
9510 Multiple feed fixes and enhancements dev-feedback Feeds 2.7.1 normal major enhancement new 2009-04-11T09:36:47Z 2019-06-04T19:42:32Z Currently, the feed always returns the same subtitle, self link, alternate link and replies link no matter what the page type is. I think they should be different for each page type. peaceablewhale 26
9547 Taxonomy - interesting 'unused' term_order column in table term_relationships. dev-feedback Taxonomy 2.8 high normal Future Release enhancement assigned 2009-04-16T15:19:42Z 2023-11-28T19:15:17Z "During development of plugin [http://wordpress.org/extend/plugins/xili-language/ xili-language], and to sort term by term list of languages in a taxonomy, I discover unused column '''term_order''' in ''term_relationships'' table and lack of functions in core about this column. Like medias in post, here the user can define languages list with first, second, third,... languages for his website (and xml header). Taxonomy tools are here very powerful without adding tables or annoying coding.
([http://plugins.trac.wordpress.org/browser/xili-language/tags/0.9.8.2/xili-language.php see code here line 1309-1370]).
Before to complete these very basic functions,…
Is it forecast to have more basic / generic functions using '''term_order''' in taxonomy.php ?
[http://core.trac.wordpress.org/ticket/9546 Related ticket]" michelwppi 36
9611 Make comment feeds fail with an error code when comments are closed dev-feedback Feeds 2.8 normal normal enhancement new 2009-04-21T14:12:42Z 2019-06-04T19:42:34Z "This is mostly a suggestion as an enhancement.
When you close a post's comments and pings, it should no longer output an rss feed. Instead, it should return a not found (404) or gone (410) error and die.
Likewise, if all posts and pages on a site disallow comments and pings, the comments feeds should not be broadcast, and should return the same error code.
Thoughts?" Denis-de-Bernardy 9
9716 WordPress Theme/Plugin editor adds blank lines has-patch Administration 2.7.1 normal normal Future Release defect (bug) reopened 2009-05-03T20:32:01Z 2022-07-13T19:45:44Z "When I edit theme css in theme editor in WP admin
!WordPress reformats my CSS and adds a blank life between entrys in css.
it adds a cr and line break ....
In other words if you have a 100 line css
download with FTP look at in text editor
it is now 200 lines
as WP added blank lines to css
it should not be adding things to the CSS?
It may only do this when it wraps window but I think not it appears to add blank lines.
Imagine the damage to a 1000 line CSS it spaces every entry by 1 line!!!!!!!!!!!!!! It stiil works but it messes it up.
THAT IS COFIRMED ONE EDIT DOUBLE SPACE ENTIRE CSS... VERY BAD
Here is part of the problem but not the double space in total.
When you down load the file in FTP and it is in windows encoding
the line endings.
So you ftp back and all is fine.
Now you are at the coffee shop and what a quick change, so you login to WP admin and theme editor edit CSS.
Now you get home and download in ftp to continue your work on CSS.
The file is now mac formatted (or thinks it is) so when you edit the line endings do not contain the right line breaks for windows OR WP theme editor as it ignores them. This explains the wierd spacing though not the double spacing .... why is it converting to mac and yet ignores mac?!
weird.. it adds a CR tag
must be bug
again though its still double spacing on edit IN windows line ending though if you down load cSS its tagged mac format...
Use notepad 2 or Note pad plus to see the error.
When ever you edit with !WordPress editor it adds cr and says css is now mac formatted.
FTP download the file and now see all the extra CR's it adds.
So it likes CR only so I convert to CR only and it beaks CSS it wants CR LF to work but if that is the case why does the online editor add CR only?????????????????????????
" Vistronic 26
9824 make better use of stubs when verbose rules should apply needs-unit-tests Rewrite Rules normal normal task (blessed) reopened 2009-05-15T01:03:56Z 2019-06-04T21:05:28Z "Related to:
http://core.trac.wordpress.org/ticket/6603#comment:27
Problem fixed is:
> posts show up as www.apexprd.org/page/2 and not /news-and-events/page/2 as it should.
with permalinks set to /something/$postname%/
we arguably don't necessarily need verbose rules here, since there is a stub." Denis-de-Bernardy 16
9825 Enforce permalink history, outright needs-unit-tests Permalinks 2.8 normal normal enhancement assigned 2009-05-15T01:06:37Z 2019-06-04T20:40:43Z "currently, we enforce old slugs and www pref (not even sure that works, since I ended up fixing it in a plugin). canonical doesn't work for pages, or hardly.
we should enforce permalink history, outright. store it in a a db field, and query against it to optimize url2post()." Denis-de-Bernardy 13
9968 dynamically adding/removing filters breaks plugins needs-unit-tests Plugins low normal Awaiting Review defect (bug) reopened 2009-05-28T23:43:11Z 2020-03-02T15:43:22Z "noticed this while doing something similar to this:
{{{
add_action('foo', 'bar1', 10);
add_action('foo', 'bar2', 20);
function bar1() {
remove_filter('foo', 'bar1', 10);
}
}}}
in the above, bar2() doesn't get called. it is because of the usage of next()/current() to loop through filters.
attached patch uses a foreach loop instead, to make it work." Denis-de-Bernardy 17
9978 Sticky Posts are not ordered correctly after selection has-patch Query 2.8 normal normal enhancement assigned 2009-05-29T23:14:06Z 2019-06-04T20:40:44Z "In WP_Query, sticky posts are added/moved to the top of the posts array after everything else is selected and ordered according to the query parameters.
Sticky posts are loaded as a list of post_IDs from the database, according to the order they were marked as sticky.
Sticky posts that were not originally part of the returned posts are queried and added into the collection of sticky posts separately.
None of the handling of sticky posts, or the handling of the entire post array after stickies are added, is date ordered by date/title/whatever was requested.
Stickies need to be loaded/extracted into a separate array, ordered (independently) according to the original query, then added to the top of the post array." beaulebens 8
9993 Rss and atom feeds are dropping some characters stevenkword has-patch Feeds 2.7.1 normal normal defect (bug) assigned 2009-05-31T23:54:40Z 2019-06-04T19:42:35Z "Blog post with title:
{{{
& > test <
}}}
has the less than ( < ) is stripped from the atom and rss feed.
" pm24601 25
10033 wpautop problems with html comments and object tags needs-unit-tests Formatting 2.8 normal minor defect (bug) new 2009-06-04T12:06:35Z 2019-06-04T19:42:36Z "Bumped into this one when upgrading my mediacaster plugin to use swfobject 2.1 (which is not 1.5 compatible), as documented here:
http://code.google.com/p/swfobject/wiki/documentation
I take it I'm not the only one who is going to need to upgrade a plugin. It's minor, since I'll just move the filter further down in the queue, but it's still worth reporting:
{{{
}}}
Gets turned into the following mess:
{{{
}}}
So, two/three issues:
- wpautop should also ignore double object tags, and html comments
- wptexturize should ignore html comments" Denis-de-Bernardy 10
10219 """Older Entries"" and ""Newer Entries"" links are wrong when entries displayed in ascending order" has-patch Posts, Post Types normal normal enhancement new 2009-06-19T16:41:02Z 2019-06-04T20:40:45Z "I added ""?order=ASC"" to a tag URL I was sending out to some people, because I wanted them to view a set of blog postings in ascending chronological order, and I noticed that the ""Older Entries"" and ""Newer Entries"" links at the bottom of the page were reversed.
I fixed this with the attached changes to the default theme. I don't know if this is the ""right"" fix, but it worked for me, and if it isn't quite wrong, perhaps at least it will give a more experienced WordPress developer than I an idea for how to fix it properly.
" jikamens 5
10230 get_pages function: number and child_of parameters conflict has-patch Posts, Post Types 2.8 normal normal defect (bug) assigned 2009-06-21T19:26:29Z 2021-01-15T23:31:39Z "Passing both number and child_of parameters to get_pages will produce nonsensical results.
Within the function number is used first to limit the number of results, then child_of is used to establish results within a certain hierarchical scope.
So with a structure of:
{{{
Parent 1
Parent 2
Parent 3
Child 1
Child 2
Child 3
}}}
passing a number=2 and child_of=(parent 3 id) will not give the expected output. In this case, the result will first be limited to only include:
{{{
Parent 1
Parent 2
}}}
so the child_of will be ignored. To produce a more logical result, child_of should be evaluated first, then number should be evaluated to limit the result set." ortsaipekim 7
10249 Page slug in cyrillic = Error 404 - Not Found! westi needs-unit-tests Permalinks 4.9.5 normal normal Future Release defect (bug) reopened 2009-06-23T19:44:34Z 2022-06-22T01:20:33Z "When I create a page with page slug for example ""киро""
then when I try to open domain/киро - Error 404 - Not Found
The permalinks are %postname%
Post slug with this slug is working just fine, the same BUG exists in 2.7, 2.7.1 and 2.8" kalifi 60
10269 wysiwyg bug with shortcodes miqrogroove Formatting 2.8 low normal defect (bug) assigned 2009-06-25T11:29:42Z 2019-06-04T20:01:14Z "When inserting two consecutive shortcodes on separate lines, the wysiwyg editor will change the post's contents on save.
{{{
[caption /]
[caption /]
}}}
gets turned into:
{{{
[caption /] [caption /]
}}}
the odd thing is that only genuine shortcodes get changed, too. the following is left alone:
{{{
[notashortcode /]
[notashortcode /]
}}}
" Denis-de-Bernardy 12
10275 Filter logic has been put into the template loader while it not belongs there. dev-feedback Themes 2.8 normal normal defect (bug) reopened 2009-06-25T20:22:34Z 2019-06-04T21:05:33Z "Some time ago, filter logic has been introduced in the template-loader. Looks like a fix for the inability to handle attachments propperly (WP misses more and more a strict request parsing so that newer features tend to introduce more and more bugs).
The code has not been removed yet. It should be removed there or put into a more appropriate location.
The code in question is:
{{{
remove_filter('the_content', 'prepend_attachment');
}}}
in /wp-inclueds/template-loader.php around line 30." hakre 2
10384 Make IIS Permalink support enabled based on capability not on version number westi Permalinks 2.8 normal normal enhancement new 2009-07-11T08:37:44Z 2019-06-04T20:40:48Z "At the moment we enable the IIS permalink support based on checks for IIS7 and then some capabilities.
We should remove the version checking and work solely on capabilities so that we don't have to revisit when IIS8 is released." westi 10
10390 attachments should store the WP uploads path that was configured when they were uploaded dev-feedback Media 2.8.1 normal normal enhancement reopened 2009-07-12T10:34:51Z 2019-06-04T20:01:48Z "When you upload an image, currently, the uploads path (defaults to wp-content/uploads) is not stored.
If you change this later on to something else, previously inserted galleries no longer work, among multitudes of other problems." Denis-de-Bernardy 13
10404 dbDelta creates duplicate indexes when index definition contains spaces has-patch Database 2.8.1 normal normal enhancement reopened 2009-07-14T10:59:54Z 2023-01-21T16:01:09Z "I was adding a much needed index in wp_object_term_relationships, and testing revealed it was getting added multiple times.
This works as intended:
{{{
CREATE TABLE $wpdb->term_relationships (
object_id bigint(20) unsigned NOT NULL default 0,
term_taxonomy_id bigint(20) unsigned NOT NULL default 0,
term_order int(11) NOT NULL default 0,
PRIMARY KEY (object_id,term_taxonomy_id),
UNIQUE KEY reverse_pkey (term_taxonomy_id,object_id),
KEY term_taxonomy_id (term_taxonomy_id)
) $charset_collate;"");
}}}
This doesn't:
{{{
CREATE TABLE $wpdb->term_relationships (
object_id bigint(20) unsigned NOT NULL default 0,
term_taxonomy_id bigint(20) unsigned NOT NULL default 0,
term_order int(11) NOT NULL default 0,
PRIMARY KEY (object_id,term_taxonomy_id),
UNIQUE KEY reverse_pkey (term_taxonomy_id, object_id),
KEY term_taxonomy_id (term_taxonomy_id)
) $charset_collate;"");
}}}
the only difference between the two is a space in the reverse_pkey column list. we should remove spaces in there to avoid potential bugs." Denis-de-Bernardy 21
10425 Improvements to IIS7 Rewriting Code dev-feedback Permalinks 2.8.1 low normal enhancement assigned 2009-07-16T14:12:09Z 2019-06-04T21:03:34Z "#8974 introduced a set of functions and changes which allow to automatically generate Rewrite Rules for Wordpress installs running on IIS7.
There are some issues with that implementation that I think are worth being written down and discussed somewhere so here we go:
1) There's no '''""Verbose"" option''' for IIS rules; while I can't say when it would make sense to have a verbose listing of all WordPress rewrite rules in `.htaccess`/`web.config` it might be something that should be available for both systems?
2) IIS does not add '''non wordpress rules''' (`$non_wp_rules`) to the `web.config` file (`iis7_url_rewrite_rules()`) which means that any custom rewriting which plugins/users can do on apache don't work on IIS.
3) At the moment it's assumed that there is only ONE single rule needed for IIS. Especially when looking at the merge with WPMU this is going to become a problem because WPMU uses '''multiple rules'''. Every rule has to have a unique name and functions like `iis7_rewrite_rule_exists()` and `iis7_delete_rewrite_rule()` only look for one rule with name ""wordpress"". Custom Rules (see 2) also won't work without a change here. For a partial fix see misc.php in [http://trac.mu.wordpress.org/attachment/ticket/991/991-webconfig.patch Patch on MU #991])
Any comments?" bforchhammer 9
10432 Dynamic classes for current blog post item, current term item Themes 2.8.1 normal normal enhancement new 2009-07-17T14:35:33Z 2019-06-04T21:05:34Z "wp_list_pages() produces a class .current_page_item for the page you are currently viewing. This makes it possible to style the current page item different from the other page items in the list.
But there are several other places the same functionality would come in handy: There should be equivalent ways to style the current blog post item in the Recent Posts widget, the current category in wp_list_categories(), and the current tag in wp_tag_cloud('format=list')." dnusim 3
10483 Change post_name's length from 200 to 400 SergeyBiryukov dev-feedback Permalinks normal minor Future Release enhancement reviewing 2009-07-25T06:31:52Z 2023-12-29T16:39:52Z "Hello, guys! Thank you very much for providing such a great piece of software! I love WordPress very much! :)
I use WordPress in Russian language and the URLs on my [http://www.ielnur.com blog] consist of Russian characters. There is a [http://www.ielnur.com/blog/2009/05/снова-бросить-курить-30-тидневное-испытание/ post] with not such a long URL in Russian, but since it gets encoded to special characters it becomes too long to get fit into `post_name` field of `post` table.
I've found what code needs to be changed to increase the length. I make these changes every time a new version is released. I think it would be better to submit a patch here so that others people can benefit from it and I will not need to make those changes every release.
I'm attaching the patch to this ticket and asking you to apply it to the code.
Thank you very much again, guys! You do a great job! :)
Cheers,
Elnur" elnur 52
10511 Enclosure Custom Fields are automatically deleted has-patch Feeds 2.8 high major Future Release defect (bug) reopened 2009-07-29T14:20:16Z 2024-03-15T06:49:23Z "This bug was introduced by Ticket [http://core.trac.wordpress.org/ticket/6840 6840]. I and many other people only wanted specific fields added as an enclosure (like media files for podcasting) and have added those enclosures as custom fields. Now any time we edit those hundreds of posts, or create a new post, those custom fields are deleted by this ""bug fix"" and there is no way around it without changing code in the functions.php file and then having to redo it anytime an update comes out.
Was there no thought put into the great idea of ""let's delete any enclosure field that doesn't have a link in the body of a post""? Wasn't the whole idea of custom fields originally for things like enclosures?" animepulse 27
10535 _wp_filter_build_unique_id issues with the first time a filter is hooked by a class has-patch Plugins 2.9 normal normal defect (bug) reopened 2009-08-02T12:22:18Z 2019-06-04T20:40:50Z "Ref #8723
The first time _wp_filter_build_unique_id is used to generate an ID the ID returned is different to the second time it is called. This presents a problem if the first ID is used when adding a filter which then needs to be removed later in the app flow... as the IDs don't match the filter is unremovable.
One workaround proposed is to set a wp_filter_id property before add the filter, and this will cause _wp_filter_build_unique_id to bypass the problem code and effectively forces the ""unique"" ID which is generated... this workaround feels unpoetic. ;)" simonwheatley 27
10543 Incorrect (non-UTF-8) character handling in tag's name and slug westi* needs-unit-tests Charset 2.8.2 normal normal defect (bug) accepted 2009-08-04T05:26:11Z 2019-06-04T19:21:33Z "Incorrect (non-UTF-8) character tag's name and slug are handled in different way: name is truncated on 1st such character, and in slug they are just removed (no truncation). WP should handle both in the same way - drop invalid characters, instead of truncation.
I found this issue recently. One of the Polish programs for adding posts to the Wordpresses does not encode tags in UTF-8 - it left them in ISO-8859-2. I notified author of this bug. Unfortunately there are many copies around, so it may take a long time before everyone upgrade." sirzooro 20
10631 "wp-admin/users.php does not show pages under ""posts"" column" dev-feedback Users 2.8.4 normal normal Awaiting Review defect (bug) reopened 2009-08-16T18:51:20Z 2022-05-13T22:07:25Z "For some reason, the SQL query in '''wp-includes/user.php''' that gets the count of a user's posts excludes pages, so '''/wp-admin/users.php''' will not show an accurate picture of a user's contributions. This makes no sense at all: 1. posts and pages are first-class content types in WordPress and 2. they are both stored in the same table.
Proposed solution: remove
{{{
AND post_type = 'post'
}}}
from '''function get_usernumposts''' in '''wp-includes/user.php'''.
This defect could result in incorrect interpretation of user activity, so marked as major severity." novasource 9
10653 Update comment_author when display_name changes SergeyBiryukov dev-feedback Comments 5.1 normal normal Future Release enhancement reviewing 2009-08-19T19:43:29Z 2021-04-05T12:31:54Z One thing that has bothered me recently is the fact that your previous comments doesn't get updated when your display_name is being updated. Which could cause some confusion. I wrote a function (see attached file for further reference) that takes care of this but I would love to see a similiar feature in the WordPress core. mptre 15
10660 Time zone suggester based on nascent WordPress.org API call rmccue dev-feedback Date/Time 2.8.4 normal normal Future Release feature request assigned 2009-08-20T05:59:42Z 2019-09-02T06:45:02Z "The attached patch uses a new API call to http://api.wordpress.org/core/ip-to-zoneinfo/1.0/ to retrieve a suggested time zone based on client (not server) IP address.
A button is added next to the existing dropdown list of time zones providing the option to ""Suggest a time zone"". This calls the API using an AJAX/JSONP request which then auto-selects a time zone for the user from the dropdown.
Visual feedback is via a spinner when fetching and then a text response.
Additionally the Date and Time settings have been split out to a new settings page.
Related ticket: #10324" sambauers 20
10663 Category name handling wrong function is_category has-patch Query 2.8.4 normal normal defect (bug) new 2009-08-20T15:40:46Z 2019-06-04T20:40:51Z "When putting numbers in front of the category names, Wordpress uses them as basis for the function is_category which leads to problems with e.g. plugins using this function.
Example:
- 3 Categories: ""News"" (id 1), ""1st Release"" (id 2), ""2nd Release"" (id 3)
- Trying to check the category with is_category(1) works for news, but also returns true for the category ""1st Release""
- Trying to check the category with is_category(2) returns true for both, ""1st Release"" and ""2nd Release""
This behaviour is not expected. It might be interesting when you explicitely give the category numbers as names (e.g. ""1"", ""2"", ""3""). Changing the in_array function to a simple equal comparison makes everything work as expected." Azaroth 11
10690 WordPress does not support non-ascii characters in the domain name markjaquith needs-unit-tests Canonical 2.8.4 normal normal defect (bug) reopened 2009-08-26T18:26:13Z 2019-06-04T19:21:34Z WordPress' clean_url() strips out most characters, which are non-ascii for security reasons. This is causing problems, if you want to run a WordPress blog on a domain containing non-ascii-characters (e.g. müller.com), because WordPress generates wrong URLs on redirects. paddya 36
10762 Bulk editing creates invalid URIs Quick/Bulk Edit 2.8.4 normal normal Future Release defect (bug) assigned 2009-09-09T16:53:30Z 2018-12-16T02:57:02Z They simply get too long for example if you move 999 posts to trash. It might be helpfull to switch to the post form method. hakre 20
10823 Bad handling of ampersand in post titles has-patch Formatting 2.8 normal normal defect (bug) new 2009-09-21T10:59:50Z 2019-06-04T19:42:39Z "Titles with ampersand (&) are not correctly handled:[[BR]]
1/ the_title_attribute() doesn't transform & to & causing XHTML validation errors[[BR]]
2/ titles with & followed by ; generate truncated post name (slug)
e.g. ""Test this & believe ; what ?"" => ""test-this-what""" Commeuneimage 17
10883 db-error.php not used for all DB failures Database 2.8.4 normal normal enhancement assigned 2009-10-01T02:45:28Z 2023-12-07T13:19:54Z "db-error.php (the optional custom DB error message file to be placed in wp-content) does not get included all the time. Sometimes wp-db.php will use its {{{bail()}}} method to spit out its own message. This code needs to be there too:
{{{
if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) {
require_once( WP_CONTENT_DIR . '/db-error.php' );
die();
}
}}}" markjaquith 5
10931 Verify Comment Email Addresses of Registered Users has-patch Comments 2.8 normal normal Future Release enhancement assigned 2009-10-08T14:34:44Z 2021-05-06T09:05:36Z "When leaving a comment with an email address of a registered user, WordPress should force the visitor to login or change the email address in the comment form.
Anyone can impersonate a blog's user if they know the user's email address." mtdewvirus 38
10955 Replace ThickBox dev-feedback External Libraries 2.9 normal normal Future Release enhancement reopened 2009-10-14T14:37:42Z 2023-11-10T16:01:17Z "Have you thought about replacing ThickBox? It is no longer under development (as their site says) and it doesn't conform to standard jQuery plugin practices. For example, I'm trying to use it for a plugin of mine and I'm wanting to tie into the ""onClose"" event for ThickBox which isn't too easily done. I know I could just include one of the other plugins, like colorbox, with my plugin but I think it'd be a great service to other developers if you included a more flexible library.
(I would have assigned this to 3.0+ but the option isn't available.)" aaron_guitar 41
10970 Remove 'siteurl' setting from options-general.php has-patch Permalinks normal normal Future Release enhancement new 2009-10-17T18:52:10Z 2023-02-13T19:44:36Z "From #10957:
azaozz:
> Better to fix the cause for this: ""WordPress address"" (siteurl) shouldn't be changeable from Settings->General at all as it cannot be set safely there. Most users would just break their blogs if they change it.
> It is set at install and only needs changing when WordPress is moved to another domain or (sub)directory. This happens very rarely and there are other (better?) ways to set siteurl.
Denis-de-Bernardy:
> in this case, we need to make sure the www. pref is passed on to the site_url. else we're bound to get massive bugs (e.g. #9873)
" scribu 32
10975 comment form nonce Comments normal normal Future Release enhancement new 2009-10-19T06:49:16Z 2020-02-27T17:33:32Z "This adds a nonce to public comment forms, via the comment_form action.
" tellyworth 18
10984 If content uses the nextpage tag then only the first page is shown in feeds has-patch Feeds 2.8.4 normal normal defect (bug) assigned 2009-10-20T11:03:11Z 2019-06-04T19:42:43Z "If content uses the nextpage tag then only the first page is shown in feeds if the ""full text"" option is selected in ""Settings > Reading > Show Full Text (in feed)"".
No links are displayed to read the full content and no indication is given in the feed that it isn't the full content.
I think the behaviour should be to ignore pagination in feeds which are set to ""full text"".
I have attached a patch which alters the behaviour of the_content() so that if it is used in the context of a feed it concatenates the pages to form the full content and returns that." simonwheatley 42
11049 Page Preview does not autosave page template nacin* dev-feedback Autosave 2.8.4 normal normal defect (bug) accepted 2009-10-30T21:19:34Z 2019-06-04T19:21:39Z When editing a published page, if you change the page template and then click Preview, the preview does not show the new template choice. janeforshort 16
11160 Inconsistancies in Naming and Using Sidebar Names and IDs. azaozz needs-unit-tests Widgets 2.9 normal normal defect (bug) new 2009-11-17T12:58:55Z 2019-06-05T06:37:18Z "register_sidebar() allows more sidebar names and IDs to be registered than dynamic_sidebar() recognizes as valid names and IDs.
For example, register_sidebar() allows me to name a side bar ""1"" with a id of ""first"". I don't know why anyone would choose those values, but register_sidebar() allows it [1].
{{{ register_sidebar( array('name' => 1, id => 'first') ); }}}
dynamic_sidebar() will not be able to find the sidebar given its name (1).
{{{
if ( is_int($index) ) {
$index = ""sidebar-$index""; /// 1 becomes 'sidebar-1'
...
}}}
The main problem is that dynamic_sidebar() is trying to process both IDs and names through the same variable ($index) while register_sidebar() separates the two with an array ( array('name' => 'Top', 'id' => 'sidebar-1' ).
According to the in-line docs for dynamic_sidebar():
It is confusing for the $index parameter, but just know that it should just work. When you register the sidebar in the theme, you will use the same name for this function or ""Pay no heed to the man behind the curtain."" Just accept it as an oddity of WordPress sidebar register and display.
It does ""just work"" if you never use your own sidebar IDs.
I started looking at this because I wanted to use is_active_sidebar() which tests to see if a dynamic_sidebar() has anything in it. There is no get_dynamic_sidebar(). dynamic_sidebar() sends everything to the browser or returns false.
{{{
register_sidebar( array('name' => 'Top') ); // id defaults to ""sidebar-1""
...
if ( is_active_sidebar('Top') )
dynamic_sidebar('Top');
}}}
Which fails because is_active_sidebar() just completely skips over searching for an id to go with a name. To get it to work you need to know when it was registered. Not something theme authors and designers are going to follow easily. There's a ticket to fix this: [http://core.trac.wordpress.org/ticket/10440 #10440]
{{{
if ( is_active_sidebar(1) )
dynamic_sidebar('Top');
}}}
Like dynamic_sidebar(), is_active_sidebar() converts 1 to ""sidebar-1"". Unlike dynamic_sidebar() it assumes everything is entered as an id.
unregister_sidebar() assumes its parameter (incorrectly named $name, not $id) is an id. But it wants a literal id, like ""sidebar-1"". unregister_sidebar(1) unregisters a sidebar with an id of 1, while dynamic_sidebar(1) tries to display a sidebar with an id of ""sidebar-1"".
=== Widgets (Admin Page) ===
The dynamic_sidebar() function is used by the Widgets management page. So, it is possible to create a sidebar with register_sidebar() that dynamic_sidebar() cannot find. You can populate it with drag and drop [2] and not have it appear on the web site.
== After Patch ==
If committed, this patch would remove the need for tickets [http://core.trac.wordpress.org/ticket/10440 #10440] and [http://core.trac.wordpress.org/ticket/10956 #10956]. It changes the current argument behavior of unregister_sidebar(), but doesn't break backward compatibility. It allows is_active_sidebar(), unregister_sidebar() and dynamic_sidebar() all point to the same sidebar.
=== Before ===
These all refer to the same sidebar:
{{{
is_active_sidebar(1);
unregister_sidebar('sidebar-1');
dynamic_sidebar('Sidebar Top');
}}}
In an admittedly contrived case, dynamic_sidebar() would silently fail to allow this sidebar to show:
{{{ register_sidebar( array('name'=>'Sidebar Top', 'id' => 1) ); }}}
=== After ===
These all refer to the same sidebar (the first two would have broken before the patch):
{{{
is_active_sidebar('Sidebar Top');
unregister_sidebar('Sidebar Top');
dynamic_sidebar('Sidebar Top');
}}}
After the patch this shows fine:
{{{ register_sidebar( array('name'=>'Sidebar Top', 'id' => 1) ); }}}
After the patch it is possible to force an argument to be only a name or only an id:
{{{
is_active_sidebar(array( 'name' => 'Sidebar Top' ));
unregister_sidebar(array( 'name' => 'Sidebar Top' ));
dynamic_sidebar(array( 'id' => 1 ));
}}}
=== Notes ===
[1] register_sidebar() allows the user to override the default setting of: 'id' => ""sidebar-$i"",
[2] When you refresh the Widgets management page the widgets will disappear from the sidebar. They are still attached to a sidebar, but dynamic_sidebar() cannot see the sidebar." CharlesClarkson 24
11207 WordPress may display incorrect message when post is saved/published/etc has-patch Posts, Post Types 2.9 normal normal Future Release defect (bug) assigned 2009-11-20T20:23:23Z 2023-11-30T01:24:00Z When post is saved, WP calls `wp_insert_post_data` filter. Plugin can use it to change post status. But even post status has been changed via plugin, WP still displays message basing on action originally executed by user. Need to change this and take into account final post status too. sirzooro 16
11235 "Pages whose ancestors are not all ""published"" cannot be used as parents for other pages." needs-unit-tests Posts, Post Types 2.9 normal normal Future Release defect (bug) new 2009-11-23T01:04:01Z 2019-06-04T18:12:41Z Pages with trashed parents cannot be used as parents for other pages (they do not appear on the list). caesarsgrunt 10
11248 Paged wp_list_comments() should always output something boonebgorges has-patch Comments 2.9 normal normal defect (bug) assigned 2009-11-24T06:00:23Z 2019-06-04T19:21:40Z "Enable comment paging on your blog and visit `http://yourblog.com/a/single/post/comment-page-999999/`. Note no comments will be displayed.
There's situations where the comment form will redirect you back to the wrong page (for example if you mess with the type parameter and exclude pings). The Walker should detect if there's no comments to be displayed on the requested page and if that's the case, then display the latest page that actually has comments." Viper007Bond 11
11297 Don't email the admin when they create a user from the backend dev-feedback Users 2.9 low minor enhancement new 2009-12-01T12:05:31Z 2019-06-05T06:44:57Z "I just created the user myself. I already know I did it. I don't need to be told again.
Emails should only be sent to the admin when a user registers themselves (if that is enabled). They shouldn't be sent when the admin manually creates a new user." caesarsgrunt 10
11311 kses converts ampersands to & in post titles, post content, and more Posts, Post Types 2.9 normal normal Future Release defect (bug) new 2009-12-03T01:49:32Z 2022-08-03T15:41:48Z "Make a test user that has the ""author"" role (i.e. no `unfiltered_html`) and write a post with a title that has `&` in it. After saving, it will becomes `&` due to `wp_filter_kses()`. It gets saved in the database this way too.
It's confusing to the user." Viper007Bond 21
11381 display_page_row() generates boat loads of needless queries pbearne Posts, Post Types normal normal defect (bug) assigned 2009-12-10T12:41:45Z 2024-02-22T22:43:04Z "on sites with many static pages that are spread across multiple parents, display_page_row() triggers multitudes of calls to the db.
specifically, it's repeatedly calling get_pending_comments_num(). it's also calling get_editable_user_ids() and wp_dropdown_users(), both of which do not seem to cache their results in case they're used several times on the same page." Denis-de-Bernardy 10
11398 new sort method for query_posts (order by last comment date) Query 2.9 normal normal enhancement assigned 2009-12-11T15:44:42Z 2019-06-04T20:40:57Z "I think we need sorting by latest post comment ability for query_posts. ""Recent comments"" plugins does this but we need this sorting in the core.
BBPress is planned as a WP plugin according latest chat logs posted by Matt. We gonna have to need this anyway." erden.ozkan 6
11465 custom field duplicated westi* Editor 2.8.4 normal minor Future Release defect (bug) accepted 2009-12-16T21:09:23Z 2022-06-08T22:40:11Z "When I enter the information for a custom field and click on Preview without first clicking Add Custom Field, the custom field is saved. But then when I click Publish, it is saved again, appearing in the post twice.
If I click Add Custom Field before Preview, subsequent Publish does not duplicate the custom field. But it is very convenient and efficient to be able to avoid a separate save of the custom field.
" ericr23 11
11472 Should QuickEdit remove posts from lists as needed? Quick/Bulk Edit 2.9 low minor Future Release enhancement new 2009-12-17T10:29:38Z 2019-12-09T17:54:37Z "Create a draft post. Visit Posts / Edit, and quickedit the draft. Set its status to Published and save. It remains around, with the published status, instead of being removed from the list.
Reporting this just in case, as it might be a UI feature rather than a bug.
" Denis-de-Bernardy 10
11515 Admin needs standardized way of handling messages (notices) displayed to the user Administration 3.0 normal normal Future Release enhancement new 2009-12-19T19:53:03Z 2018-11-16T18:43:03Z "If you try to upload a media item under Media > Add new without an uploads directory, you get the following vague error message:
{{{
Error saving media attachment.
}}}
If you try instead to upload from the post edit page, you get a much more helpful message:
{{{
Unable to create directory /path/wp-content/uploads. Is its parent directory writable by the server?
}}}
In each case, the root error is the same, but the second error message points the way to a solution. Even if the user doesn't know herself what that message means, it's a message that provides the necessary information to someone else who does and is trying to help the user. The first message is completely useless, as it states only what we already know: something went wrong.
The reason Media > Add new doesn't offer a helpful message is that the error is generated on one page request, and ''then'' the user is redirected to another page.
We need a standard, cross-page-load way of conveying messages in admin.
I've thought of a few possible ways of doing this:
* Define and use a standardized set of error codes and associated error messages. This is similar to what happens currently on many pages: the unhelpful ""Error saving media attachment."" appears when the message argument is set to ""3."" What I'm suggesting would use a common set of message codes across the admin and be much more detailed. So the above situation would instead produce a message like ""Unable to create the uploads directory.""
* Save error messages to a cookie. Unlike the previous method, this would allow messages to be made particular to their event.
* Have some kind of user messaging stack. New messages would be pushed into a user's stack (stored in usermeta) and popped off after a certain time, or when read, etc. This has the advantage of lasting across sessions and browsers and being usable for other applications, such as PMs between users.
What do you think?" filosofo 23
11538 Unbundle Hello Dolly westi has-patch Plugins 3.0 normal normal enhancement reopened 2009-12-20T22:47:27Z 2024-03-02T21:23:22Z "Now that WordPress is a mature platform, having Hello Dolly as a default plugin is really a bit of an embarrassment.
With the impending focus on canonical plugins, this strikes me as a good opportunity to remove Hello Dolly and replace it with a plugin which is actually useful.
Hello Dolly could be kept in the repo for the sake of nostalgia if it's wanted by anyone..." caesarsgrunt 29
11585 WordPress should cache failed feed fetches so as to avoid overloading feed sources pbearne has-patch Feeds 2.9 normal normal enhancement assigned 2009-12-24T02:25:17Z 2024-02-22T23:43:57Z "Following up on #11219, which fixed the cause of that particular error, but not the one that related to caching of feed errors.
When SimplePie fails to fetch or parse a feed, it should not hammer whichever server the feed came from on every page load. This is bad for two reasons: it disturbs the originating server, and it tremendously slows down page loads when the feed is in an RSS widget on the front end.
Instead, we should cache the error for a reasonably long amount of time (15 minutes? An hour? More?) and bypass SimplePie until that duration expires." Denis-de-Bernardy 9
11678 wpautop() fails on uppercase closing tags dev-feedback Formatting 2.9 normal normal defect (bug) new 2009-12-31T11:26:11Z 2019-06-04T19:42:47Z "To reproduce, in a post enter:
{{{
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
}}}
View the post (source) and you get:
{{{
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
}}}
Because I (incorrectly) entered an uppercase closing tag, wpautop() thinks there is no closing tag so adds a , which then often renders as a double
tag. Close if this is not a bug, though I thought it may be good to do some sanitizing or something on uppercase tags.
" joehoyle 5
11697 Keep private posts in the admin area / Was: Make private posts a canonical plugin has-patch Posts, Post Types 2.9 normal normal defect (bug) assigned 2010-01-02T21:33:21Z 2021-09-08T14:44:42Z "Said Matt:
> Also, a lot of the complexity of private posts could be avoided by a relatively simple change: saying they're only viewable in the dashboard. (Which I think is close to how people use them already.)
----
There are quite a few tickets related to private posts that can be viewed by users who should, and even more tickets related to private comments that can be viewed by users who aren't authorized to view the post.
There also is at least one ticket that highlights a performance issue related to private posts.
http://core.trac.wordpress.org/search?q=private
Would it be an option to turn this into a canonical plugin and begone with the problems?" Denis-de-Bernardy 17
11734 trackback_rdf() for IDN (xn--) Domains produces invalid HTML has-patch Comments 3.1 normal normal defect (bug) new 2010-01-06T01:10:55Z 2019-06-04T19:21:42Z "Hello
The trackback_rdf() function from wp-includes/comment-template.php wraps the ""..."" output inside """" HTML comments, probably to be safe as not all Browsers understand them.
When using Wordpress 2.9.1 on a site with an international domain name [1] that contains special characters like German ""Umlauts"" like äöü, this domain name is written as e.g. xn--tst-qla.de for täst.de.
Now the output of trackback_rdf() suddenly gets a ""--"" which is the SGML/HTML comment separator mark [2]. Firefox 3.5.6 e.g. sees this as the end of the comment and therefore shows the final ""-->"" as text to the user.
As the whole RDF tag is supposed to be invisible for the user, it's a bug in Wordpress :-(
Here is an real world example output:
{{{
}}}
Sadly I have not yet come up with a solution. PHPs urlencode() does not escape a double dash - which is ok as its usually perfectly valid. Maybe someone with RDF experience has a good idea.
bye,
-christian-
[1] http://en.wikipedia.org/wiki/Internationalized_domain_name#Example_of_IDNA_encoding
[2] http://htmlhelp.com/reference/wilbur/misc/comment.html
" lathspell 7
11740 Sorting tags and towns does not work well for utf-8 nbachiyski dev-feedback I18N 2.9 normal normal Awaiting Review defect (bug) new 2010-01-06T12:42:24Z 2024-02-28T16:41:53Z "There are problems with sorting special Czech characters:
1) Options - General - Timezone selection.
Evropa (Europe)
First item should be Amsterdam, but instead of it there is ""Řím"" (Rome in Czech). And this is not right, character Ř should be between R and S.
2) Editing posts - Select from most used tags.
You can create tags ""Rome"", ""Amsterdam"" and ""Řím"".
Tags are also sorted in a bad way, first is ""Řím"".
It is very problematic for Czech users when there are many tags, because it does not help them..." pavelevap 12
11800 doubled execution of cron jobs westi dev-feedback Cron API 2.9.1 normal normal Future Release defect (bug) new 2010-01-07T11:17:53Z 2021-04-04T10:34:28Z "Hi,
as I've already mentioned in ticket #11505 , cron-jobs occasionally get executed twice (e.g. daily backup arrives two times).
I've changed the code according to the patch attachment:ticket:11505:ticket-11505-stop-gap.patch (which derives from [http://wpengineer.com/ping-problem/]) after my comment:ticket:11505:49 and had no doubles within this time period. This week I've upgraded to WP 2.9.1 and since then backups arrive two, sometimes three times, again.
Looking at the changes from 2.9 to 2.9.1, I have no other explanation for this behavior. - Maybe we should consider having a closer look again on this patch attachment:ticket:11505:ticket-11505-stop-gap.patch .
Greetz,
Berny" neoxx 7
11856 URL for 1st comments page is not canonical markjaquith dev-feedback Canonical 3.0 normal normal Future Release defect (bug) new 2010-01-10T19:17:42Z 2023-10-19T20:04:59Z "When WP generates URL for comments, it always includes comments page number. It should not do this when URL is for 1st comments page - in this case post URL is sufficient.
WP should also redirect to canonical URL version when someone will try to load URL like site.com/some-post/comment-page-1." sirzooro 12
11869 Multisite upgrade notice at wpmu-upgrade-site.php isn't steadily visible. Upgrade/Install 3.0 normal minor Future Release enhancement new 2010-01-11T22:03:14Z 2017-04-23T20:39:16Z "When upgrading (Site Admin > Upgrade) wordcamp.org, it started upgrading each site and flashing a list of 5 sites at a time that had been upgraded (too quickly to really be read beyond the first item in each list). When it flashed through all the screens, it showed ""All done!"" and nothing else.
Preferred UX would be to list the sites in order as they are upgraded but in a single persistent list rather than in flashing batches of five, and to show the all-done message on the same screen, with the list of everything that has been upgraded. It would be good to have the text appear at bottom of list (in sequence) but to also drop in an alert message at top of screen. " jane 18
11877 Resized Images lose their EXIF data Media 3.0 normal normal enhancement reopened 2010-01-12T10:47:55Z 2019-06-04T20:01:51Z The thumbnail, and medium re-sized images do not keep EXIF data of the original image. thee17 17
11895 Allow more specific image size editing dev-feedback Media normal normal feature request new 2010-01-14T15:12:28Z 2019-06-04T20:01:54Z "Instead of allowing only some combinations of 'thumbnail', 'medium', 'large', 'full' I would like to have the ability to select which of these I would like to crop. So for example, only 'thumbnail' and 'medium'. With the current trunk this is not possible. I created a patch that adds this ability by changing the radio boxes of ""apply changes to"" in the image-edit page to checkboxes for each of the 4 possible sizes." frankgroeneveld 18
11903 insert_with_markers is not threadsafe westi* has-patch Permalinks 2.9 normal major defect (bug) accepted 2010-01-15T06:27:45Z 2019-06-04T20:41:02Z "From wp-admin/includes/misc.php the function insert_with_markers may be called multiple times on a busy server and if the htaccess is already in the process of being written it is possible that two PHP threads could attempt to write to it causing corruption such as the following:
{{{
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
s
}}}
Notice the dangling 's' at the last line" strings28 18
11931 Day/Month/Year Permalink Structure Fails in Archives Rewrite Rules 2.8.6 normal normal enhancement reopened 2010-01-17T14:53:37Z 2019-04-05T17:40:57Z "If you use a permalink structure with %day%/%monthnum%/%year% then the archives automatically become date/%day%/%monthnum%/%year%. WordPress automatically makes the links to monthly archives date/01/2010 etc (which is good), but if you go to it you get a 404 not found.
Reproduce using for example /%post_id%/%postname%/%day%/%monthnum%/%year%/
I ""fixed"" it with this plugin I wrote, but it will probably fail when things like /page/2/ come into play (that wasn't really important yet). " Frenzie 4
11950 Sticky Posts are too aggressive has-patch Query 2.9.1 normal normal enhancement reopened 2010-01-19T15:43:50Z 2019-06-04T20:41:04Z "I don't think the default behavior should be to have sticky posts included every time a query_posts() is used. I realize you can set the 'caller_get_posts' argument to avoid sticky posts from being added, however having to do this everywhere becomes a burden.
What are your thoughts on having the WP class add 'include_sticky' var to the_query if it isn't already set and then not include the sticky posts by default?" prettyboymp 13
12056 "target=""_blank"" being stripped from Profile Bio and Category Description" dev-feedback Formatting 2.9.2 normal normal Future Release enhancement new 2010-01-27T16:50:00Z 2019-10-29T11:02:01Z "Many apologies if this is a duplicate. I have searched but did not find it yet posted.
I noticed that target=""_blank"" is being stripped from my ""a href"" tags my profile ""Biographical Info"" field even though the ""a href"" with the URL and closing tag still remain. It happens every time I save my profile.
This was independently verified.
It is a regular wordpress install running 2.9.1 (not wordpressmu, etc.).
My original thread can be found here:
http://wordpress.org/support/topic/355388?replies=1" lovewpmu 15
12084 allow preserving HTML in the_excerpt (specify allowed tags for strip_tags in wp_trim_excerpt) has-patch Formatting 3.0 normal normal enhancement new 2010-01-29T22:36:40Z 2019-06-04T19:42:50Z Right now, `wp_trim_excerpt` is destructive. You can filter it, but once tags are stripped, you can't get them back without recreating the excerpt from the raw input. It would be nice if theme developers had an option to preserve at least some of the HTML formatting when using excerpts as post teasers (see #9260). sillybean 2
12104 'moderate_comments' capability by itself should grant the user the permission to See/Edit all comments from the Comments menu. has-patch Comments 3.0 normal normal Future Release defect (bug) new 2010-01-31T22:25:24Z 2021-11-08T19:10:31Z "I tried to create a Comment Moderator role today and realized it wouldn't work. My intention was to create a role for people who can't write or edit posts, but can keep an eye on the comment threads. I created the role like so:
{{{
#!php
add_role('moderator', 'Moderator', array(
'read' => 1,
'moderate_comments' => 1,
));
}}}
... then created a new user with that role. When I logged in as my test user, I realized that it was for all intents and purposes a Subscriber. I couldn't see any admin panels but the Dashboard, my profile, and the Tools. I went poking around in edit-comments.php and discovered that it's checking for another capability altogether:
{{{
#!php
if ( !current_user_can('edit_posts') )
wp_die(__('Cheatin’ uh?'));
}}}
I double-checked wp-admin/includes/menu.php and it agreed that 'edit_posts' was the minimum capability to see this page, so I tried adding 'edit_posts' to my new role, and I still couldn't get there.
Later on in edit-comments.php, when actually trashing a comment, there is a check for 'moderate_comments', but it's a moot point: this screen doesn't even show up in the admin menu, and if you navigate directly to it, you'll get the ""You do not have sufficient permissions to access this page"" message.
I thought it was entirely possible I'd missed some finer point of creating roles, so I redid it with Justin Tadlock's excellent Members plugin, and that didn't work either.
This behavior might be intentional, but if so, I'm not following the logic. I know roles are due for an overhaul in the next version or two." sillybean 34
12208 Add Quick Edit To Media Library list view dev-feedback Quick/Bulk Edit normal normal Future Release feature request new 2010-02-12T01:45:12Z 2023-02-07T23:15:38Z I am requesting that a quick edit link be added to the media in the media library like what is on the posts page. I would like to quickly be able to edit titles, alts, and captions at least. queenofdiy 13
12257 wpdb Scales Badly Due to Unnecessary Copies of All Query Results dev-feedback Database normal critical defect (bug) assigned 2010-02-17T03:08:06Z 2019-06-04T19:21:45Z "While working on #11726, I encountered a reproducible crash in wpdb::query()
The following code causes memory exhaustion on large result sets:
{{{
while ( $row = @mysql_fetch_object($this->result) ) {
$this->last_result[$num_rows] = $row;
$num_rows++;
}
}}}
The memory exhaustion message is error-controlled, causing a white screen of death even in debug mode.
I searched wp-db.php for references to $this->last_result, and I found no justification for these object reference copies. $this->last_result '''should''' be maintained as a MySQL resource and properly optimized using the MySQL client layer instead of this PHP nonsense.
Tagging for dev-feedback to discuss which Milestone is appropriate." miqrogroove 31
12286 bug and fix when importing from Movable Type Import normal normal defect (bug) new 2010-02-19T13:26:59Z 2019-06-04T20:01:57Z "I'm running WP Mu 2.9.1.1 and had a problem importing a Movable Type blog to WP and found a fix (sort of).
Symptom: When importing a blog from Movable Type to a blog in WP, you are asked to assign (or map) WP authors to MT authors. But, it turns out that the first author on the list is assigned to all posts. The other authors selected are neglected. Therefore, all of the posts end up belonging to one author.
Fix: I found the problem in wp-admin/import/mt.php. Specifically, ""$mtnames"" is not properly populated with authors from MT. So, I changed the code in function get_authors_from_post() as follows:
function get_authors_from_post() {
$formnames = array ();
$selectnames = array ();
$this->mtnames = $this->get_mt_authors();
I just added the last line shown above and then finally the import properly assings authors as intended.
(There might be a better place to put the last line, however.)
" leyburn888 2
12295 More support to customize user profile edit page nacin* dev-feedback Users 3.0 normal normal Awaiting Review enhancement accepted 2010-02-19T21:14:01Z 2022-06-23T14:29:20Z "Right now I can edit the contact methods via the user_contactmethods filter, but I can not modify or remove the Personal Options or the Name Options.
I want to keep the interface as simple as possible for my users, and I don't think that they need to edit this settings at all.
If wp wants to be a cms, it should give me control over this aspect as well.
At least, give me custom css-ids, so I can remove it via css!" pampfelimetten 34
12363 Comment permalink wrong when only listing one comment type wonderboymusic dev-feedback Comments 3.0 normal normal defect (bug) assigned 2010-02-24T14:31:51Z 2019-06-04T19:21:46Z "If you pass the `type` parameter to `wp_list_comments()` (for example, to show comments only and no pings), then comment permalinks can easily use the wrong page number as they expect there to be pings included. This is apparent after leaving a comment and WordPress attempts to redirect back to your new comment.
At first I was thinking you could tell WordPress that you're filtering to a type and it could compensate when determining the page number, but then I realized perhaps it'd just be better for `wp_list_comments()` to check if there were 0 comments returned for the query and if so, see if there are any of that type of comment available. If so, then we know we're on too high of a page number and can instead display the highest existing page. Then again this introduces SEO issues.
Ideas on what to do are welcome." Viper007Bond 4
12456 Canonical URL redirect issue with post_id/postname permalink structure SergeyBiryukov has-patch Canonical 2.9.2 normal normal Future Release defect (bug) reopened 2010-03-02T14:06:38Z 2021-08-04T18:32:02Z "The issue:
Using /%post_id%/%postname%/ as permalink structure,
Most canonical redirects work fine, except:
domain.com/post_id/ brings you to the post but does not redirect to the canonical domain.com/post_id/postname/
Additional info:
The above permalink structure conforms to best practice as described in the codex:
http://codex.wordpress.org/Using_Permalinks#Structure_Tags
Therefore I figured this was a bug, given the attention given to redirecting to the canonical url ""So to avoid confusing search engines and to consolidate your rankings for your content, there should only be one URL for a resource.""
http://markjaquith.wordpress.com/2007/09/25/wordpress-23-canonical-urls/
" Frank.Prendergast 46
12477 Search with special characters and similar terms nbachiyski dev-feedback I18N normal normal feature request new 2010-03-02T17:42:46Z 2019-06-04T20:01:58Z "I did:Tried searching for terms Metis and Métis
I saw:Those two searches turned up different sets of results.
I expected:The same set of search results, or at least everything when
I searched for Metis.
Can search be smarter when special characters are involved?" mrroundhill 2
12567 make post_submit_meta_box more generic Posts, Post Types normal normal enhancement new 2010-03-10T00:46:20Z 2019-06-04T20:41:05Z "Currently there isn't a way to modify the meta boxes which set the post status. The function post_submit_meta_box in wp-admin/includes/meta-boxes.php is a closed function with post statuses hard coded. A new post status registered using register_post_status is available to the query object and plugins but cannot be added to the post status select box in the publish meta box.
A lot of the post_submit_meta_box is hardcoded to the default post status types.
Consider the use case where you want posts to only be visible to logged in users. A custom post status selectable by the user in add/edit post could be used which is then added or excluded in the query (filtered by posts_where) depending on whether the user is logged in or not. This way core can handle the non-visible posts the way private or future posts are handled. " themattharris 15
12578 import from movable type doesn't import tags or basename Import 3.0 normal normal enhancement assigned 2010-03-11T00:58:46Z 2019-06-04T20:02:00Z The current movable type import script doesn't import tags from movable type and it doesn't import the basename (movable type's version of the post_name, which is necessary for a seemless transition). Adding support for importing these two important bits is not terribly difficult and I'm working on improving the import script to aid in my own upcoming migration. I'll attach a patch against the trunk. stevecrozz 3
12634 Media Library & Permalink Overlap has-patch Permalinks 2.9.1 normal normal defect (bug) assigned 2010-03-18T15:37:23Z 2023-08-24T19:52:27Z "The problem is: upload a media item and give it a name, such as 'test'. Create a new page titled 'test' with a permalink that reads http://www.example.org/test/.
The permalink, instead of going to the page, goes to the media item.
For most purposes, I would imagine this behavior should be reversed.
-Tim-" tmoorewp 17
12671 Installer page doesn't check if MySQL tables were created successfully Upgrade/Install 2.9.2 normal normal Future Release enhancement assigned 2010-03-22T17:47:33Z 2018-12-15T22:52:14Z "When running the web-based setup script - My Mysql user didn't have create permissions so no tables were created but the message (underneath all the MySQL errors) said setup was successful.
I think it would be worth doing a check for no MySQL errors before proclaiming the installation a success." thedotproduct 8
12682 Multiple password reset emails can be annoying dev-feedback Users 2.9.2 normal normal Future Release enhancement assigned 2010-03-23T15:51:01Z 2023-11-27T01:33:37Z "There's a security flaw mentioned in #10006: an attacker can bother users with password reset emails.
The problem was reported on support forums by a user receiving hundreds of these emails. He proposed to introduce some kind of a timeout for password reset requests. Is it possible?" SergeyBiryukov 13
12684 Add Edit to Bulk Actions menu on Categories screen dipalidhole27gmailcom has-patch Quick/Bulk Edit 3.0 normal normal Future Release feature request assigned 2010-03-23T17:04:15Z 2023-02-08T19:38:29Z On edit-tags.php?taxonomy=category the only bulk action is Delete, because we never got around to adding Edit. We should add Edit to the bulk actions menu so people can change category parents easily. Has been requested on the Ideas forum a number of times, so am starting a ticket. If there's a technical reason not to add Edit to the bulk actions on this screen, then we should get rid of the menu and just have a Delete button. Adding Edit would be preferable, though, for consistency and usefulness. jane 21
12706 Custom post status bugs needs-unit-tests Posts, Post Types 3.0 normal normal Future Release task (blessed) reopened 2010-03-25T14:41:39Z 2022-06-02T13:42:36Z "A developer should be able to register a custom post status using `register_post_status()`. The admin UI (including post submit box and quick edit) should reflect this new custom post status. Furthermore, there are many hard-coded references to 'draft' and 'pending' statuses in core that should properly use the post status API.
All existing arguments to `register_post_status()` should be fully implemented, should also support per-post-type arguments. As things get implemented across core, there will likely be a need for supporting capabilities and bits of API.
Related: #23169 (register_post_status_for_object_type), #23168 (unregister_post_status)." ptahdunbar 167
12718 Better structure for admin menu dev-feedback Plugins normal normal Future Release enhancement reopened 2010-03-26T01:05:37Z 2018-02-07T09:17:16Z "Currently, the global $menu variable is one big linear array:
{{{
$menu = array(
[2] => array('Dashboard', ...
[4] => array('', 'read', 'separator1', ...),
[5] => array('Posts', ...)
...
)
}}}
To allow plugins to add a menu item at the end of a group, we use a bunch of additional global variables that remember the last element in each group.
Also, we use arbitrary numeric indexes to specify the order of the items, instead of being able to position items relative to one another.
It's all very low level. Things would be a lot easier if we had an actual API for manipulating the menu items." scribu 87
12720 Delete user and hook confusion when deleting users in Multisite Users 3.0 normal normal defect (bug) new 2010-03-26T12:42:59Z 2019-06-05T06:37:23Z "Currently:
The hook ''wpmu_delete_user'' fires when deleting user in Super Admin->Users.
The hook ''remove_user_from_blog'' when deleting user under site Users->Authors & Users.
In standard WP:
The hook ''delete_user'' is called when deleting users it should be the same in MultiSite when deleting from Super Admin->Users.
Or add new hooks and deprecate previous.
''delete_user_from_network'' for when deleting a user totally.
''delete_user_from_site'' for when deleting a user from a specific site. This is hook also then fires in non-MultiSite mode since that then corresponds to one site." andreasnrb 5
12726 Add get_post_by_*() functions dev-feedback Posts, Post Types 3.0 normal normal enhancement assigned 2010-03-27T05:57:13Z 2019-06-04T20:41:11Z "Current there are get_page_by_path() and get_page_by_title() function but they hardcode the post_type of 'page'. With support for new custom post types I'm finding a need for functionality to look up posts of custom post types:
{{{
$args = array('post_type','my_custom_post_type');
$path = 'foo-bar';
$post = get_post_by_path($path,$args);
$title = 'Foo Bar'
$post = get_post_by_title($title,$args);
}}}
Another option would be a simple get_post_by():
{{{
$args = array('post_type','my_custom_post_type');
$path = 'foo-bar';
$post = get_post_by('path',$path,$args);
$title = 'Foo Bar'
$post = get_post_by('title',$title,$args);
}}}
This code is not hard to write but looking at the functions in post.php there's not one consistent style so I'm not sure what the best approach would be to write it. Further, I don't completely understand the significance of all the code in get_page_by_path() so wouldn't want to start with it (although I could see it being modified to use the more generic functions that I propose.)
I can make these updates if I get enough direction from the core team, or I'd happily just see them get done. :)
" mikeschinkel 8
12756 WPMU does not handle files with two or more dots in the filename wpmuguru close Upload 2.9.2 normal minor Future Release defect (bug) reopened 2010-03-29T07:23:50Z 2022-10-14T18:47:54Z "* WPMU does download images that have two or more dots in the file name
> E.g., One..jpg One...jpg One....jpg
rewrites do work (checked)
* this is clearly a WP issue:
> /wp-content/blogs.php
...
$file = BLOGUPLOADDIR . str_replace( '..', '', $_GET[ 'file' ] );
if ( !is_file( $file ) ) {
status_header( 404 );
die('404 — File not found.');
}
...
> WPMU removes two dots!!!
> workaround:
$file = BLOGUPLOADDIR . $_GET[ 'file' ]; // name.ly: workaround for files with two or more dots
tested and works fine
" Namely 15
12769 Disappearing posts/pages (in quickedit mode) has-patch Quick/Bulk Edit 2.9.2 low minor defect (bug) new 2010-03-30T08:53:39Z 2023-02-17T08:48:36Z "Steps to reproduce:
1. Quickedit a post.
2. Click save and instanly click quick-edit on another post.
When the ajax-request completes the first quick-edited post will disappear from the posts table. This is only a display bug." catahac 12
12779 Better support for custom post types in WP_Rewrite has-patch Rewrite Rules normal normal enhancement assigned 2010-03-30T20:04:30Z 2019-06-04T21:05:39Z "See also #12605 and [13773].
We currently use bitmasks in WP_Rewrite, which we should remove and convert to an array of URL types that can be checked using in_array(). We currently do not use bitmask operations in WP_Rewrite that would make them preferable for use.
To currently use custom post types with endpoints, a plugin would need to do the following, from [comment:5:ticket:12605 dd32 in #12605]:
{{{
define('EP_WIKI', 131072); // 2^17. 2^13 is used by core.
register_post_type('wiki', array(
'label' => __('Wiki'),
'public' => true,
'supports' => array('revisions', 'editor', 'title'),
'permalink_epmask' => EP_WIKI,
'hierarchical' => true
));
add_rewrite_endpoint('history', EP_WIKI);
}}}
In particular:
> Care would need to be taken that any custom endpoints are in {{{2^x}}} format, and not currently in use by any other plugins loaded.
This would need to be backwards compatible with the existing bitmasks. More or less, {{{WP_Rewrite::add_endpoint()}}} would need to still take bitmasks and convert them to the new format." nacin 8
12799 Allow gallery shortcode to accept a maximum number of items close Gallery 2.9 normal normal Future Release enhancement new 2010-04-01T17:55:55Z 2023-10-19T13:09:46Z "A ""would be nice"" feature of the gallery would be to allow for a maximum number of items to be displayed.
The main use of this feature would be to allow a page to show a ""preview"" of some of the images contained within one or more subpages, eg:
* Some event
[gallery link=""file"" columns=""4"" orderby=""rand"" maximum=""4"" id=""164""]
* Some other event
[gallery link=""file"" columns=""4"" orderby=""rand"" maximum=""4"" id=""200""]
" dtorbert 19
12801 Add Info link to plugins management screen chriscct7 has-patch Plugins 3.0 normal minor feature request reviewing 2010-04-01T19:08:40Z 2019-06-04T20:41:12Z "Related to #11050 but instead of the search results, on the regular plugins.php screen. Add ""Info"" link to left of Activate/Deactivate action links, which brings in the tabbed info from the repo. If not from the repo, link does not appear." jane 5
12826 AJAX trash posts has-patch Posts, Post Types 2.9 normal normal enhancement new 2010-04-03T02:57:06Z 2019-07-05T03:15:38Z "Add AJAX to trash posts, like comment moderation.
From GSoC ideas list:
>Add AJAX Paging to Admin Screens. Something we've never gotten around to is adding AJAX paging to the list-type screens (edit.php, etc). Currently, getting to the next page of items means a screen refresh. For this project, add ajax paging to all the list-type screens in the WordPress admin. We have all the underlying PHP, but it needs some JavaScript love." meheranandk 5
12839 Themes should be sandboxed on activation to prevent fatal errors Themes 3.0 normal normal Future Release enhancement new 2010-04-04T06:16:25Z 2021-01-02T20:23:28Z "I've just made a child theme of TwentyTen by copying the folder over, renaming, and adding a Template: header to the style.css file.
Upon activation, I've been thrown to a page with a fatal error due to redefining a twentyten function.
Ideally, theme activations should be passed through a sandbox style activation the same as plugins." dd32 14
12877 Modular themes: Apply template hierarchy to folders within a theme dev-feedback Themes normal normal feature request new 2010-04-06T16:26:15Z 2019-06-04T21:05:41Z "Applying template heirarchy to folders within a theme will allow themes to be broken into modules, allowing theme developers to substantially reduce repeated code. This is an automated, complete version of the use of get_template_part() in Twenty Ten.
I've written posts on the [http://wp.me/pS0xt-1f justification for modular themes] and [http://wp.me/pS0xt-30 their potential to transform theme organization].
Based on [http://wp.me/pS0xt-3O my tests], these functions should cause no noticeable difference in performance.
The patch has the added benefit of creating an accurate global $wp_template_hierarchy object (and a getter method), so any plugin/theme can access the template hierarchy for $wp_query.
The patch introduces several new functions: get_template_module($folder), get_template_hierarchy(), update_template_hierarchy(), and 2 private functions.
Finally, the patch also add a 'locate_template' filter on $template_names at the beginning of locate_template(), and turns the large conditional in template-loader.php into a function: template_loader()." koopersmith 28
12885 LiveJournal importer uses GMT date/time as local date/time has-patch Import normal normal defect (bug) new 2010-04-07T02:07:25Z 2019-06-04T20:02:01Z "The LiveJournal importer takes a comment's date/timestamp, which is in GMT, and inserts it into the database as the comment's local date/timestamp. In my timezone (U.S. Central, DST), a comment posted at 12:00pm local time (5:00pm GMT) will be imported to the database as having been posted at 5:00pm local time (10:00pm GMT).
I've attached a patch that I've successfully tested on Wordpress 2.9.2, and it appears to be easily ported to trunk. One caveat: it appears that there are two timezone settings in the Wordpress database (timezone_string and gmt_offset), but as my database has no value for gmt_offset, I don't know if I need to account for that, nor can I test that." kurtmckee 8
12934 Allow a menu to be added as a menuitem to be a submenu. Menus 3.0 normal normal enhancement assigned 2010-04-08T21:55:32Z 2019-06-04T20:02:03Z "Add capability to add a menu as a menuitem to be a submenu thus allowing multiple menu items to share the same submenus.
See reference in April 8 devchat:
https://irclogs.wordpress.org/chanlog.php?channel=wordpress-dev&day=2010-04-08&sort=asc#m106225" mikeschinkel 3
12945 Constrain wp_page_menu() technosailor* dev-feedback Menus normal normal defect (bug) accepted 2010-04-09T19:39:51Z 2019-06-04T20:02:04Z "The wp_page_menu() function is the default callback for wp_nav_menu(). IOW, when a user is not using the new menu system, it defaults to this function. While that is good, any number of pages over, say 10, will make a theme puke in many cases.
As a workaround, I suggest we make a default of wp_page_menu() to exclude all pages() except home. It's a stupid idea, I think, but something needs to be done to make this manageable so I'm looking for feedback.
The Pro of taking this approach is that it encourages customization of menus via the WP menu system. It also does not lock theme devs into a particular approach because this stuff can be overidden via arguments and filters.
The con is that the default callback becomes pretty benign and useless. Almost pointless.
Ideas?" technosailor 5
12955 Add get_post filter dev-feedback Posts, Post Types normal normal Future Release feature request new 2010-04-10T13:50:07Z 2018-08-28T13:43:50Z This patch filters the return value of the get_post() function. I would find this very helpful for a plugin I'm developing. JohnLamansky 77
12960 Number of posts on the Users page should include drafts and pending review has-patch Users 2.9.2 normal normal enhancement new 2010-04-11T02:35:03Z 2020-04-08T13:38:43Z "The numbers of posts on the Users page currently only include published posts, which I think is not good enough. For example, I have a contributor who has only written a few drafts and submitted a few articles for review.
If I decide to delete him and base my decision on what I see on the Users page, I would probably just go with the ""Delete the user and all his posts"" option, which would delete more than I would expect." archon810 6
13041 Canonical redirection will redirect a non-exitant page to a post. dd32 has-patch Canonical 3.0 normal normal defect (bug) reviewing 2010-04-18T06:14:20Z 2019-06-04T19:21:48Z "Following on from #12601
Canonical redirection will kick in for http://localhost/wordpress-commit/apage/something and redirect it to http://localhost/wordpress-commit/2010/02/13/something-else/
#12601 limited redirect_guess_404_permalink() to only searching in the same post_type if one was provided, for posts and pages however, which are builtin, these vars are not set.
I'm attaching a patch which will prevent a Page -> Post redirection, but not the other way around. - this patch was originally added to the other ticket." dd32 3
13066 Last-Modified headers for individual comment feeds are incorrect jgci* dev-feedback Feeds 3.0 low normal Future Release defect (bug) accepted 2010-04-21T07:32:34Z 2022-06-28T05:18:27Z "The WP::send_headers function currently uses get_lastcommentmodified() to set the Last-Modified header for all comment feeds. This is a problem when used for individual post comment feeds. The function gets the last modified comment across all blog posts. That means that every time a comment is posted anywhere, the Last-Modified header for ALL comment feeds is refreshed. Issues:
1. This is technically incorrect, since only the global comment feed and one specific post's comment feed have changed with the last comment (not all possible comment feeds); and
2. It means that If-Modified-Since requests for other post comment feeds will not receive a 304 response when they should do (since their content hasn't changed). On blogs with many posts and many comment feeds, this will have a large impact on bandwidth because lots of requests will receive 200 responses where 304's would have done, just because a comment was posted on some other post.
If I've understood the flow correctly, $wp_query hasn't been fully set up at the time this function is called, so changing this behaviour would require some change in the flow of things (e.g., the handling of last modified headers for feeds moves into the do_feed() function). But doing so would mean that Last-Modified headers are correct/meaningful and that many more 304 responses can be served.
Any thoughts?" solarissmoke 11
13078 Make wp_register_style and wp_enqueue_style consistent has-patch Script Loader 3.0 normal normal defect (bug) new 2010-04-22T01:08:39Z 2019-06-04T21:05:46Z "When fixing #13056, I noticed that wp_register_style and wp_enqueue_style had a few odd differences.
1. Enqueue truncates the $handle variable after the first '?' while register (and all other wp_style functions) accept any string.
2. Register set the default for $media to 'all', while enqueue set it to false. (fixed in the #13056 patch).
Moreover, since the two functions are practically the same, I've grouped them together in a private _wp_register_style function with an additional $enqueue boolean. Both enqueue and register call _wp_register_style.
I've omitted the truncate behavior mentioned above. If there's any reason for it in one, and not the other, or in both, feel free to correct me.
We could also just remove the truncate behavior from enqueue. It's a minor patch, and comes down to coding style." koopersmith 3
13103 """Unknown character set"" during install into database reports successful install." barrykooij has-patch Database 3.0 normal normal defect (bug) assigned 2010-04-24T15:10:23Z 2019-06-04T19:21:49Z "During editing of the wp-config.php, I changed
{{{
define('DB_CHARSET', 'utf8');
}}}
to
{{{
define('DB_CHARSET', 'utf8_general_ci');
}}}
Which I thought was valid.
After clicking ""Install Wordpress"" I got a page full of:
{{{
WordPress database error: [Unknown character set: 'utf8_general_ci']
}}}
And at the bottom, ""Success"" with a login prompt, but nothing was actually created in the database.
I think WP shouldn't report a successful install if the user happened to accidentally change this value (or another) during install as it would cause confusion.
I used a svn checked out version of WP on 2010-04-24 on my local computer using PHP5 and apache2, but I think this is really a problem since 2.6 (or when the current install system was implemented)." MECU 10
13169 Return Dynamic Sidebars with get_dynamic_sidebar Widgets normal normal Awaiting Review enhancement reopened 2010-04-28T18:07:28Z 2019-05-22T07:19:20Z "Currently there is no available function to return the contents of a dynamic sidebar. The following code enables developers to return and assign the contents of a dynamic sidebar to a variable within their code.
{{{
function get_dynamic_sidebar($index = 1)
{
$sidebar_contents = """";
ob_start();
dynamic_sidebar($index);
$sidebar_contents = ob_get_contents();
ob_end_clean();
return $sidebar_contents;
}
}}}
" w3prodigy 16
13239 Filter locate_template template_names variable dev-feedback Themes 3.0 normal normal Future Release enhancement reopened 2010-05-03T21:43:05Z 2023-12-29T13:48:26Z "I recently encountered a situation where it would be very helpful to supply alternate template file locations; however, this cannot be accomplished as the locate_template function is being used and that function's arguments are not filterable. So, I created a patch that adds the filter.
This patch adds two filters: locate_template and locate_template-TEMPLATENAME. This allows for both general and specific filtering.
The following example shows how this could be used to modify the location of a BuddyPress template file.
{{{
function filter_member_header_template( $template ) {
return dirname( __FILE__ ) . '/buddypress/members/single/member-header.php';
}
add_filter( 'locate_template-members/single/member-header.php', 'filter_member_header_template' );
}}}
While the value of this example is debatable as BuddyPress could be updated to support alternate template locations, the value of the patch itself is high. This opens up a new ability for plugins to modify template file locations, giving plugins a hook into the content rendering process without requiring themes to be modified." chrisjean 111
13247 Drag/drop for add menu item boxes koopersmith Menus 3.0 normal normal enhancement new 2010-05-04T07:12:03Z 2019-06-04T20:02:06Z Because checkboxes are no fun. This first patch covers dragging from view all and most used. Search still has bugs. koopersmith 3
13273 "Allow ""'non-clickable"" menu items" Menus 3.0 normal normal Future Release enhancement new 2010-05-06T10:58:50Z 2023-11-10T16:19:53Z "In the new menu generator I'm missing the option to create ""non-clickable"" menu items.
What I'm after is that I want to create for example a main menu item with the title ""Links"" which is non-clickable (no url attached to it) and basically only acts as an umbrella item for the actual links I want to locate as subitems of the item ""Links"".
- Home
- Something else
- Links (this one should be non-clickable)
- external link 1
- external link 2
- etc
I think that an optional tickbox in the add link section will do the trick. Basically, all it has to do is to ""disable"" the check whether or not a valid URL format has been submitted and, of course, it has to trigger some modified html output.
Hope you guys can add this in the 3.0 release because this would basically complete the menu generator :)
Keep up the good work and I'm really looking forward to the 3.0 release!" stgoos 17
13339 Add hook on network admin user forms Users normal normal enhancement new 2010-05-11T11:45:37Z 2019-06-05T06:37:25Z "On WP 3.0 it is possible to add new users as Super Admin, but they do not really assign each instance. So it would be useful when creating the user, if you have a selection of instances that are created and then selecting one with the checkbox where the user should get access.
Maybe it is possible to add a hook for add own fields, similar the possibilies on user-edit.php for profile fields." bueltge 5
13363 Edit Comments: Pending > Approving shouldn't make them disappear from screen wonderboymusic has-patch Comments 3.0 normal normal Future Release enhancement assigned 2010-05-11T23:35:45Z 2023-11-16T17:40:18Z "Edit Comments: Pending > when clicking Approve the comments shouldn't just disappear from the screen.
They should collapse and have an undo status like when you trash or spam a comment.
ENV: WordPress trunk r14573 (3.0-beta2-14565)
" lloydbudd 4
13372 Separate Image sizes for different post types close Media 4.6.1 normal normal Awaiting Review enhancement reopened 2010-05-13T07:59:07Z 2020-04-18T04:45:23Z Would be nice, especially moving forward with custom post types to have the ability to set different image sizes using an additional parameter of `add_image_size()` for different post types: Page, Post, and Custom. brandondove 19
13425 Image Gallery of Private Post is publicly displayed dev-feedback Gallery 3.0 normal normal defect (bug) reopened 2010-05-17T20:12:20Z 2019-06-04T19:42:59Z "Might have been forgotten only, I just ran over this inconsistency while beta-testing:
'''Description:'''
The Image Gallery of a Private Post is displayed (in another post via the Shorttag with id parameter) whereas, when clicking on the images to go to the attachment page, you get a 404 not found.
'''Example:'''
[http://hakre.wordpress.com/2010/05/17/cui-utils-rev2/#more-1184 Post with Gallery][[BR]]
[http://hakre.wordpress.com/2010/05/17/cui-utils-gnu-tools-fur-windows-32-with-a-simple-setup/gnu-win-cui-util-00-setup/ Attachment of that Gallery]
'''Steps to reproduce'''
Create a new Post, set a title and the Status to private.
Save as Draft.
Preview it, to get the ID easily from URL.
Upload a Bunch of Images.
Insert the Gallery Shorttag inside that Post Body.
Publish the Post.
Create a second new Post
Give it a Title and Insert the Gallery Shortcode with the ID from the last Post.
Publish.
View.
Copy the URL.
Open another Browser so to have a new User-Session.
Visit that URL.
'''Expected Behaviour'''
You should not see a gallery.
'''Behaviour'''
You see a gallery.
When clicking on a gallery link you get a 404 page.
'''Feedback'''
I see an inconsitency here but have no Idea how to deal with it.
So either the gallery should not be found as well (not found as in 404 but in this case: not output) or the attachment pages should be able to call as well.
Related: #11697" hakre 5
13429 Updating Link URL on image within Admin with Gallery dev-feedback Gallery 2.9.2 normal normal Future Release defect (bug) new 2010-05-18T01:43:42Z 2023-08-24T19:53:27Z "Image insertion no longer allows url to off site resource within Gallery.
When inserting a gallery you are unable to specify the Link URL. It keep reverting back to the default." vshoward 69
13459 Conflict between post and page slugs/permalinks when permalink setting is set to /%postname%/ petitphp has-patch Permalinks 2.9.2 normal normal Future Release defect (bug) assigned 2010-05-20T04:56:27Z 2023-08-29T21:31:27Z "If Dashboard -> Settings -> Permalinks is set to /%postname%/, it is possible to create both a page and a post with the same slug. When viewing via the frontend, the page is always displayed.
I would have thought that WordPress should prevent a post and a page from having the same permalink.
Steps to reproduce:
1. Create and publish a page with any slug. eg. http://domain.com/test/.
2. Create and publish a blog post with the same slug. Wordpress says the permalink for the blog post is http://domain.com/test/, but when you visit that URL it displays the page instead.
I can reproduce this on my 2.9.2 install, as well as 3.0 trunk. I'm guessing the bug is present in earlier versions of WordPress as well.
Possibly related: #11863" jamescollins 71
13473 comment_status should be set to default_comment_status when commentstatusdiv is removed westi Comments normal normal defect (bug) reopened 2010-05-20T23:36:24Z 2019-06-04T19:21:51Z "When the Comment Status box is removed from the Add/Edit Post screens, posts should be created with the comment_status set to the value of the default_comment_status option.
-----
I had hidden the Comment Status box via:
remove_meta_box('commentstatusdiv','post','normal');
and made sure that default_comment_status was set to open:
update_option('default_comment_status', 'open');
After adding a new post it displayed ""Comments Off"" when I was assuming that it should have honored the value of default_comment_status." jimmcq 12
13554 WordPress MU canonical link redirect failure markjaquith Bootstrap/Load 2.9.2 normal normal defect (bug) reopened 2010-05-26T16:30:37Z 2019-11-19T17:04:05Z "This problem manifests itself in Wordpress '''MU''' 2.9.2, but '''not''' in Wordpress 2.9.2.
In the MU install where blogs are subdirectories, canonical redirects work correctly for the subdirectory blogs, but not for pages on the root blog.
For example, [http://silverwarethief.com/essays/] is a sub-blog in the wordpress MU install. If you alter that link to [http://www.silverwarethief.com/essays/] wordpress MU will correctly redirect the browser to the canonical url.
However, this does not work with pages on the root blog. [http://silverwarethief.com/about/] is a page on the root blog. If you go to that link, you will correctly find yourself at the ""About"" page. If you then alter the link to [http://www.silverwarethief.com/about/] you will be redirected to the main page of the root blog, not the ""About"" page.
I have seen this behavior manifested on more than one MU install.
" rundi 14
13655 Login/Install/User Edit should stripslashes() $_POST data has-patch Login and Registration 3.0 normal normal defect (bug) new 2010-05-31T11:33:17Z 2019-06-04T20:02:12Z "Following on from #13654 All Login/Registration/Install/User Edit functionality should stripslash $_POST data.
At present, it seems that we do not stripslash at all.
For existing user passwords, we should migrate passwords to their non-stripslashed versions:
[5/31/10 6:34:11 AM] Mark Jaquith: We could migrate people.[[BR]]
[5/31/10 6:34:13 AM] Dion (dd32): Perhaps oughta just add proper stripslashing in 3.1, and add back-compat to change password from non-stripslashed to stripslashed.. similar to the md5->phpass implementation..[[BR]]
[5/31/10 6:35:13 AM] Mark Jaquith: Yep. If the PW doesn't match, addslashes() and compare again. If that matches, set the new PW hash. Right?[[BR]]
[5/31/10 6:35:19 AM] Dion (dd32): yep
" dd32 4
13691 Make get_template_part() accept multiple template names Themes normal normal enhancement new 2010-06-02T03:19:34Z 2019-06-04T21:05:47Z "This enhancement allows get_template_part() allows to pass several template names, to work in the same way as: locate_template()
so, you could call,
get_template_part( 'loop', array('category', 'taxonomy', 'archive') );
$names are passed by order of priority." wjm 10
13701 Full support for middle and little endian permalink structures needs-unit-tests Rewrite Rules 2.9.2 normal normal enhancement reopened 2010-06-02T14:34:08Z 2019-06-04T21:05:49Z "This only happened after I switched over to the WordPress 3.0 development version, so I'm inclined to think it's a bug. When I use the traditional wp_get_archives or the dropdown version it shows that posts exist. However, when I click to go to any of those past posts, I only get a 404 Error. This problem is very consistent, happening 100% of the time. Disabling all plugins has no affect on the problem.
The only other information that might be helpful is that I've integrated WordPress into a website that I built and I am using a custom theme that I built. It only has the index.php, single.php, and style.css files.
Again, the wp_get_archives function worked just fine with the exact same setup that I have now prior to switching to the 3.0 version, so I'm not sure what changed." RevelationTravis 21
13743 Ability to choose a network default theme dev-feedback Networks and Sites 3.0 normal normal Future Release enhancement reopened 2010-06-06T05:44:12Z 2018-03-28T09:11:24Z As stated in summary. I use WP 3.0 RC and I've found out that there is no way to set up a theme which should be used by default for newly created sites in network. Even then I disable all the themes except the one I want to be used, WP still set thentyten as theme for newly registered site. The only solution I was able to find is to change theme description and name to twentyten and delete all other themes. It's so simple to let administrator choose default network theme, and this option is present in many other CMS. fuwaneko 33
13779 Preview doesn’t work - WP installed in its own directory SergeyBiryukov dev-feedback General 2.9.2 normal normal Future Release defect (bug) reviewing 2010-06-08T01:32:04Z 2022-07-13T17:21:56Z "1. Wordpress is installed on /wp/ subdirectory.
2. Then it was set up to be visible from the site root according to http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
3. Site works fine
4. [BUG] Preview for posts & pages isn’t working.
When I press preview it goes to url like:
http://example.com/?preview=true&preview_id=235&preview_nonce=aa28f04
and says ""You do not have permission to preview drafts."".
5. If I type subdirectory name “/wp/” in that url by hands, it shows correct preview: http://example.com/wp/?preview=true&preview_id=235&preview_nonce=aa28f04
6. The situation is getting worse if i'm using permalinks. In that case - there is nothing i can do to see preview.
ps: I’ve tested that on clean install. " antares19 17
13792 Invalid reply link from comment admin when comment nested level > max needs-unit-tests Comments 2.9.2 normal normal Future Release defect (bug) reopened 2010-06-09T07:05:56Z 2017-07-31T16:17:39Z "I have a blog with nested comments enabled, max depth of 4. When the last level comment is posted, it no longer contains a Reply link.
However, in the Comment admin, the Reply link is still present. If used, this new reply will show up at the very bottom of the comment list once posted (even if other newer regular comments are entered, this new reply will still show up at the very bottom).
The bug is, basically, that Comment admin doesn't respect the max nested value." archon810 11
13816 There should be built-in index pages for taxonomies dev-feedback Taxonomy normal normal Future Release feature request new 2010-06-10T12:20:29Z 2023-01-31T20:36:11Z "By default, if you enable 'pretty' permalinks, you get URLs like this for categories and tags: /category/slug, /tag/slug. The same pattern is used when adding custom taxonomy types.
These URLs often suggest to people that it should be possible to go 'up' one level, and access index pages at /category and /tag which list all of the available categories or tags (or maybe just the top x most popular ones for tags).
I'd suggest that we add a new template type of is_archive_index() which uses, in order of preference, taxononmyname-index.php (eg category-index.php), archive-index.php.
Within these templates, the 'loop' should return taxonomy items rather than posts.
This is all possible already using custom templates and get_terms(), but it'd be handy if it was built-in.
" frankieroberto 13
13821 Changing visibility to password-protected without entering a password does not warn user kapeels* has-patch Editor normal normal Future Release defect (bug) accepted 2010-06-10T13:48:48Z 2019-06-05T07:15:00Z "Tested on r15182.
If the status of a post is set to Password Protected, and a password is not specified before the user clicks the OK button in visibility and then either publishes, saves, or updates the post, no warning is given to the user that not setting a password forces the post or page to remain Public.
In fact, if updating a post, and this is the only change made, the success message (1) for updating the post appears instead, even though no change was made to the post.
If the post was previously published as Private, and switched to Password Protected without entering a password, then saved, the post switches to Public on save instead of remaining Private.
Either a failure message upon updating or a warning to the user before saving should be displayed to the user to remind them that they didn't properly set a password.
To reproduce the last case above:
1. Create a post. Publish it as Private.
2. Edit the post. Change the visibility to Password Protected, but do not enter a password. Click OK.
3. Update the post.
4. The post visibility will be changed to Public." markel 10
13822 Menu items that get unpublished still appear nacin has-patch Menus 3.0 normal normal Future Release defect (bug) reopened 2010-06-10T16:30:12Z 2021-06-01T13:11:46Z "We need to properly account for menu items linked to unpublished/pending post type objects.
My thought is they should probably be hidden from the frontend with an indication on the backend (like ""(Pending)"") that they are are unpublished/pending.
We need to properly handle private posts too." nacin 45
13867 New filter for comment RSS feed's title killua99 has-patch Feeds 3.0 normal normal Future Release enhancement assigned 2010-06-12T21:53:07Z 2021-11-10T03:51:19Z "I'd like to be able to customize comments titles in RSS feed.
Currently it's hardcoded and has no way to be changed, so I added 2 new filters so that plugins can edit them.
I've tested and patch is working for me." shidouhikari 31
13874 "Add package argument to ""_deprecated_function"" function" chriscct7 has-patch Bootstrap/Load normal normal enhancement assigned 2010-06-13T23:48:37Z 2019-06-04T19:21:54Z "Got to thinking it would be nice if plugins could use the _deprecated_ API by passing a ""$package"" argument to separate themselves from WP core, and so this patch was born.
" johnjamesjacoby 16
13926 Adding 'page-attributes' to a custom post type slows down edit screen in the admin Posts, Post Types 3.0 normal normal defect (bug) new 2010-06-16T20:01:17Z 2019-06-04T20:41:18Z "When I add 'page-attributes' to a custom post type it takes roughly 1.5 to 2 min for the edit screen to load... When I remove 'page-attributes' edit screen load is extremely fast.
Under the post type i created I have 5000+ entries." granulr 6
13972 Add new category link - capability check needed has-patch Posts, Post Types 3.0 normal minor Future Release defect (bug) new 2010-06-18T09:01:43Z 2018-01-23T03:26:40Z "/wp-admin/link-add.php
If user doesn´t have ""manage_categories"" capability, add new link page, will show ""add new category"" link and form,
it should be hidden.
" wjm 9
13998 Inconsistency in arguments when wp_nav_menu falls back to wp_page_menu chriscct7 has-patch Menus 3.0 normal normal enhancement reviewing 2010-06-19T15:22:58Z 2019-06-04T20:02:14Z "[http://codex.wordpress.org/Function_Reference/wp_nav_menu wp_nav_menu]'s 'menu_class' parameter applies the class to the
.
The default fallback function [http://codex.wordpress.org/Template_Tags/wp_page_menu wp_page_menu] however, applies 'menu_class' to the
enclosing the
.
This can cause inconsistent styles if the style is applied to ul.