﻿__group__	ticket	summary	owner	component	_version	priority	severity	votes	milestone	type	_status	workflow	_created	modified	_description	_reporter
Very Popular	12877	Modular themes: Apply template hierarchy to folders within a theme		Themes		normal	normal	12	Future Release	feature request	new	has-patch	2010-04-06T16:26:15Z	2013-04-11T03:34:53Z	"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
Very Popular	10201	Remove user-specific caps		Role/Capability	2.8	normal	normal	10	Future Release	enhancement	assigned	early	2009-06-17T23:02:36Z	2013-01-04T00:51:12Z	"See IRC discussions from June 18th 2009

 * The current role system is rather complicated, But has a lot of flexibility
 * A lot of the flexibility isn't even used by most (ie. the ability to have a user with a Roll + a single capability)
 * The role system starts having trouble with a high number of users
   * To look up every user with a certain cap. it requires loading all the users, and then checking individually. 

The proposed changes are:

 * That we reduce the complex system to something much more simple:
   * Roles are retained: 1 role per meta entry, and since the meta API allows for multiple values for the same key, this would have the benefit of multiple roles, and direct lookups.
   * However:
     * Remove the ability for a user to be part of a Role, and have an extra capability added on top of that. 
 * This has the ability to significantly increase performance, As now:
   * Looking up users with a specific cap is easy:
     * Filter the role list for roles with that cap
     * SQL the usermeta table for users in those roles
     * Select those users (if needed, else return the ID's) 
 * An upgrade path is available which doesnt require extra tables, and reduces the ammount of serialization
   * The other option is a whole new set of tables.. which.. those who are sane (And there are some insane people in WP Dev..) realise that its not really needed. 
 * Fine grain control has never been possible from WP without a plugin, Nothing would change here, If a user wants fine grained control over permissions, They'd still have to run a plugin, Its just that that plugin may have to do more heavy lifting now -- since wordpress's API/role system would be simpler and not support the extra fangledangles."	Denis-de-Bernardy
Very Popular	9568	Allow users to log in using their email address		Users	2.8	high	major	6	Future Release	feature request	assigned	has-patch	2009-04-17T17:11:28Z	2013-04-11T03:50:35Z	"I've been looking into a few tickets and adding patches to things that were potentially problematic when implementing a membership plugin (#1626, #4170, #9563, #9564). The general idea being twofold: to avoid duplicate users at all costs -- because it's a bloody mess to merge users in a billing system.

I'm about to embark on a mid-sized patch that renders the WP username field optional. This is a natural next step from #9563 and #9564.

Users could then be allowed to specify an email only, when registering. And they could use their email to login -- in addition to their username if they specified one."	Denis-de-Bernardy
Popular	10726	Admin notifications for more than 1 email		Administration	2.8.4	normal	normal	5	Future Release	enhancement	reopened		2009-09-05T02:18:51Z	2013-01-03T05:59:29Z	"Please allow admin notifications to go to more than 1 email address. It could be as simple as allowing a comma-separated list.

Better yet, allow sending '''admin''' notifications to all people in the '''administrators''' role."	novasource
Popular	10955	Replace ThickBox		External Libraries	2.9	normal	normal	5	Future Release	enhancement	new	dev-feedback	2009-10-14T14:37:42Z	2013-02-01T15:59:30Z	"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
Popular	15311	dynamic image resize (on the fly) using already available functions		Media	3.1	normal	normal	5	Future Release	enhancement	new	dev-feedback	2010-11-03T20:18:44Z	2013-05-11T16:00:11Z	"The lack of a dynamic resize function in WordPress forces theme developers to register lots of image sizes for their themes to use.

One of the problems with this approach is that the server becomes full of image files that will be never used.

Another problem is that when someone changes their theme the image sizes simply doesn't match, forcing people to use a plugin to regenerate all image files, and once again lots of those files will never be used.

So theme developers right now are using some sort of image resizing script like timthumb that works outside of wp. I think it has many drawbacks comparing to a native implementation.

So I made a function that uses WordPress native image handling capabilities to resize and save those resized images for future use.

I use this for attached images as well as standalone files such as custom fields and other images.

What I want here is just to share my solution, and maybe we can someday put something like this into core (actually something better then this):

{{{
/*
 * Resize images dynamically using wp built in functions
 * Victor Teixeira
 *
 * php 5.2+
 *
 * Exemple use:
 * 
 * <?php 
 * $thumb = get_post_thumbnail_id(); 
 * $image = vt_resize( $thumb,'' , 140, 110, true );
 * ?>
 * <img src=""<?php echo $image[url]; ?>"" width=""<?php echo $image[width]; ?>"" height=""<?php echo $image[height]; ?>"" />
 *
 * @param int $attach_id
 * @param string $img_url
 * @param int $width
 * @param int $height
 * @param bool $crop
 * @return array
 */
function vt_resize( $attach_id = null, $img_url = null, $width, $height, $crop = false ) {

	// this is an attachment, so we have the ID
	if ( $attach_id ) {
	
		$image_src = wp_get_attachment_image_src( $attach_id, 'full' );
		$file_path = get_attached_file( $attach_id );
	
	// this is not an attachment, let's use the image url
	} else if ( $img_url ) {
		
		$file_path = parse_url( $img_url );
		$file_path = ltrim( $file_path['path'], '/' );
		//$file_path = rtrim( ABSPATH, '/' ).$file_path['path'];
		
		$orig_size = getimagesize( $file_path );
		
		$image_src[0] = $img_url;
		$image_src[1] = $orig_size[0];
		$image_src[2] = $orig_size[1];
	}
	
	$file_info = pathinfo( $file_path );
	$extension = '.'. $file_info['extension'];

	// the image path without the extension
	$no_ext_path = $file_info['dirname'].'/'.$file_info['filename'];

	$cropped_img_path = $no_ext_path.'-'.$width.'x'.$height.$extension;

	// checking if the file size is larger than the target size
	// if it is smaller or the same size, stop right here and return
	if ( $image_src[1] > $width || $image_src[2] > $height ) {

		// the file is larger, check if the resized version already exists (for crop = true but will also work for crop = false if the sizes match)
		if ( file_exists( $cropped_img_path ) ) {

			$cropped_img_url = str_replace( basename( $image_src[0] ), basename( $cropped_img_path ), $image_src[0] );
			
			$vt_image = array (
				'url' => $cropped_img_url,
				'width' => $width,
				'height' => $height
			);
			
			return $vt_image;
		}

		// crop = false
		if ( $crop == false ) {
		
			// calculate the size proportionaly
			$proportional_size = wp_constrain_dimensions( $image_src[1], $image_src[2], $width, $height );
			$resized_img_path = $no_ext_path.'-'.$proportional_size[0].'x'.$proportional_size[1].$extension;			

			// checking if the file already exists
			if ( file_exists( $resized_img_path ) ) {
			
				$resized_img_url = str_replace( basename( $image_src[0] ), basename( $resized_img_path ), $image_src[0] );

				$vt_image = array (
					'url' => $resized_img_url,
					'width' => $new_img_size[0],
					'height' => $new_img_size[1]
				);
				
				return $vt_image;
			}
		}

		// no cached files - let's finally resize it
		$new_img_path = image_resize( $file_path, $width, $height, $crop );
		$new_img_size = getimagesize( $new_img_path );
		$new_img = str_replace( basename( $image_src[0] ), basename( $new_img_path ), $image_src[0] );

		// resized output
		$vt_image = array (
			'url' => $new_img,
			'width' => $new_img_size[0],
			'height' => $new_img_size[1]
		);
		
		return $vt_image;
	}

	// default output - without resizing
	$vt_image = array (
		'url' => $image_src[0],
		'width' => $image_src[1],
		'height' => $image_src[2]
	);
	
	return $vt_image;
}
}}}



"	vteixeira
Popular	7795	Activate and Deactivate Theme hooks		Themes	2.7	normal	normal	5	Future Release	enhancement	assigned		2008-09-26T20:40:53Z	2013-02-07T21:54:02Z	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
Popular	14569	Assign plugins on a per-site-basis		Multisite	3.0.1	normal	normal	4	Future Release	feature request	new		2010-08-09T09:35:55Z	2012-05-31T19:44:33Z	It's possible to assign themes per site with WordPress Multisite. However it isn't possible to assign plugins per site. Some plugins are only used for the mainsite and I don't want them to be visible in subsites.	ChantalC
Popular	10762	Bulk editing creates invalid URIs		Administration	2.8.4	normal	normal	3	Future Release	defect (bug)	assigned		2009-09-09T16:53:30Z	2013-05-12T10:27:16Z	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
Popular	11515	Admin needs standardized way of handling messages (notices) displayed to the user		Administration	3.0	normal	normal	3	Future Release	enhancement	new		2009-12-19T19:53:03Z	2013-03-15T23:45:50Z	"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
Popular	14485	Taxonomy hierarchy cache isn't properly refreshed		Cache	3.0	high	normal	3	Future Release	defect (bug)	new	needs-unit-tests	2010-07-31T03:11:13Z	2013-04-30T20:46:25Z	"I've developed a plugin that can create parent and children categories at the same time. It works well at 2.8.6 but it doesn't work as what I expect at 3.0.

When I create new parent and children categories at the same time, it only shows parent category in the Categories dashboard, but the children category is actually created. If I create another category or delete one category, the children category shows up. I think it should be a problem of wordpress cache, but I have no idea where to start tracing.

I use wp_create_category at wp-admin/includes/taxonomy.php to create categories. Besides, I have tried clean_term_cache but it didn't help. And I didn't activate other plugins when I tested this plugin.

It happened exactly when creating NEW parent and children categories."	thealien
Popular	11360	Don't nofollow links within the site		Comments	2.9	normal	normal	3	Future Release	enhancement	new	has-patch	2009-12-08T12:24:42Z	2010-04-04T06:48:37Z	"Relative links or links with the site's own domain shouldn't be nofollowed.

This use of nofollow is damaging to the site's search engine rankings."	caesarsgrunt
Popular	9510	Multiple feed fixes and enhancements		Feeds	2.7.1	high	major	3	Future Release	enhancement	new	has-patch	2009-04-11T09:36:47Z	2009-11-17T20:28:06Z	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
Popular	3372	Consolidated JavaScript/CSS Plugin API		JavaScript	2.1	lowest	normal	3	Future Release	feature request	reopened	dev-feedback	2006-11-19T04:39:22Z	2013-02-07T21:56:46Z	"WordPress plugins are great, they really are.  One problem with them is they often include their own styles and scripts.  The problem here is that several plugins with useful features mean a browser needs to download 10+ javascripts and stylesheets.  This isn't good for page load.  It's awful.  See:
http://www.die.net/musings/page_load_time/

My suggestion would be an API that allows all plugin/css to be included in 1 PHP generated CSS and Javascript.  This would drastically consolidate requests.  For performance reasons it should ideally be cached so that it's only regenerated when a plugin is loaded/reloaded.

This is becoming a bigger issue as plugins become more common and useful.  I hope a solution is found that gives plugin authors the freedom they need, and blog owners the performance they want, without having to sacrifice features.  I think channeling all the requests into 1 JS and 1 CSS file would achieve that.  They could use a numerical ranking system to calculate position in the file (to avoid conflicts) similar to how (iirc) filter work."	robertaccettura
Popular	12900	Enhance Nav_Menu to use the older menu functions		Menus		normal	normal	3	Future Release	enhancement	reopened		2010-04-07T16:42:23Z	2011-09-12T20:14:27Z	"Concerning wp_list_pages, wp_page_menu, and/or wp_list_categories functions:

Since these functions exists and developers are comfortable with them, and they'd add much functionality if they were included in the new wp_nav_menu function.

Could the wp_nav_menu utilize these established functions in itself to allow ""dynamic"" listing of pages with the useful options available in those functions?

New ""widgets"" on the left among the ""Add Existing Page"" and ""Add an Existing Category"" (perhaps ""Add Dynamic Page List"" or the like) that would essentially be a UI interface for the args that the wp_list_pages, wp_page_menu, or wp_list_categories functions already accept. The wp_nav_menu would then pass those args to the appropriate function and create items in the appropriate place in the nav menu. (I have no idea how easy/hard that'd be.)

This wouldn't replace the ""Add Existing Page"" or ""Add an Existing Category"" as starting at zero and adding individual items is different and also very useful.

This treatment might be appropriate for any function listed in ""Related"" http://codex.wordpress.org/Template_Tags/wp_list_pages#Related or maybe only wp_page_menu or wp_list_pages. I think it warrants discussion.

P.S. This is well above my ability in PHP. I don't think I can't do a working patch on this :-("	WraithKenny
Popular	13910	Get Menu name with wp_nav_menu()		Menus	3.0	normal	normal	3	Future Release	feature request	new	dev-feedback	2010-06-15T19:17:20Z	2012-04-18T17:11:08Z	"There is no way to get the actual ""Menu name"" in wp_nav_menu()

For example if you want to create a left sidebar menu you want a header to go with it. In previous versions you could do use wp_list_pages() with ""title_li"".

With wp_nav_menu() you have to hard code <h3>Static menu name</h3> into the template before calling the function.

If you could get the ""Menu name"" as defined in backend interface from the wp_nav_menu() it would create the menu title automatically.
"	jowo
Popular	12491	add a pre_template_include filter, so as to allow caching of the template file		Optimization	3.0	normal	normal	3	Future Release	enhancement	new	has-patch	2010-03-03T00:29:22Z	2010-10-28T11:38:14Z	rather than running file exists all over the place in the template loader, we should offer the possibility for a plugin to cache the information for use in subsequent pages.	Denis-de-Bernardy
Popular	6698	Editing a published post causes excessive pings / closing comments on old posts causes trackbacks		Pings/Trackbacks	2.8.1	normal	normal	3	Future Release	defect (bug)	assigned		2008-04-12T15:29:08Z	2009-11-20T15:15:53Z	"I moderate all comments, and I was tired of spam comments on old posts sometimes slipping by Akismet and getting into my moderation queue, so I decided to close comments on a number of old posts. Steps to reproduce: (1) Click the ""Manage"" tab in the admin page for my blog. (2) Click ""Posts"" under ""Manage"". (3) Find a post. (4) Click ""Edit"" for that post. (5) Uncheck ""Allow Comments"" under ""Discussion"". (6) Click ""Save"".

As a result of doing this, I immediately got a number of trackbacks in my moderation queue. The trackbacks were from the posts whose comments I had just closed. The trackbacks were to other posts in my blog that were linked from those posts. Note that when I unchecked ""Allow Comments"", I did not uncheck ""Allow Pings"". I left ""Allow Pings"" checked.

Under ""Options"", ""Discussion"", I currently have ""Attempt to notify any blogs linked to from the article"" checked. However, I believe that at some point in the past, that option was unchecked, so the old posts whose comments I closed may have never attempted to send trackbacks before.

I believe that this is a bug. Simply closing comments for a post should not cause it to send trackbacks.

"	lapcat
Popular	11328	Issue with double click on comment's text when quick edit is used		Quick/Bulk Edit	2.9	normal	major	3	Future Release	enhancement	new		2009-12-04T21:12:35Z	2011-04-22T21:26:47Z	"When you edit comment via quick edit or when you write a reply on ""Edit Comments"" page and double click on text of other comment, used quick editing is turned off and quick editing is turned on other comment, with all text which you wrote lost.

I noticed this when I wrote a reply on one comment and when I wanted to copy a word from that comment by double clicking on it, my whole reply was lost.

So enabling of quick edit via double click on comment's text should be  disabled when quick edit is used."	dimadin
Popular	10596	Error when uploading zip package with parent and child themes		Upgrade/Install	2.8.3	normal	normal	3	Future Release	defect (bug)	assigned		2009-08-12T11:12:29Z	2012-01-06T12:30:14Z	"There's an error when you try to install a package containing parent and couple of child themes using zip package upload from the admin dashboard.

For example i got a 1 big directory called test_template which contains 1 folder test_parent and 3 folders test_child1, test_child2, test_child3. If i upload test_template directory using ftp everything's ok, but when i try to use theme uploader and zip package test_template.zip i get an error caused by not finding a style.css file inside of the test_template directory ... but when i add a style.css file to that directory installation goes fine but templates aren't working till i use ftp and delete that file from that directory. It's troublesome if someone is giving his templates to other users."	newkind
Popular	15406	Add a pending post count indicator to the admin menu		Administration	3.0.1	normal	trivial	2	Awaiting Review	enhancement	new	dev-feedback	2010-11-12T17:28:49Z	2013-01-22T15:21:49Z	"Comments has an indicator bubble on the dashboard with the pending comments count.

Pending posts should have such a feature, since they are quite more important."	iign
Popular	11469	Additional Admin UI hooks / filters		Administration	2.9	normal	normal	2	Future Release	enhancement	new	has-patch	2009-12-17T05:54:04Z	2010-12-13T12:43:33Z	"Some might classify this as overkill, others as making Wordpress as completely extendable as people want it.

I'd like to propose the addition of numerou hooks to the Wordpress core Admin UI which would allow the addition of UI elements outside of the current constraints, such as meta boxes. 

If that doesn't make sense, I have an example to illustrate:

Given the ""Subtitle"" example from http://digwp.com/2009/10/ideas-for-plugins/, there would be a new hook named ""edit_post_form_after_title"" (or something along those lines) which would be placed directly after the post title is displayed on the screen and allow a plugin developer to insert a text field for a subtitle directly below the title field. See the attached patch."	johnl1479
Popular	6286	"Proposed changes to ""E-mail me whenever"" Discussion Options"		Administration	2.5	normal	normal	2	Future Release	enhancement	new	has-patch	2008-03-18T19:14:55Z	2013-01-13T20:40:03Z	"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
Popular	9777	"Usability : add delete button to ""edit category"" menu"		Administration	2.7.1	normal	minor	2	Future Release	enhancement	new	has-patch	2009-05-09T22:56:39Z	2012-05-22T16:56:47Z	"Add ""delete"" button to ""edit category"" menu so i can delete the category and not only edit it. this is a very useful feature that is missing in this menu.

'''LOCATION:'''

Admin -> Posts -> Categories -> Edit Category

'''URL:'''

http://www.site.org/wp-admin/categories.php?action=edit&cat_ID=302
"	ramiy
Popular	12506	admin-color-scheme.css already loaded on wp-login.php. why?		Administration	2.9.2	low	minor	2	Future Release	enhancement	reviewing	has-patch	2010-03-03T21:55:21Z	2012-07-03T20:55:11Z	"On wp-login.php we are already on admin, because wp is loading the whole color-scheme for a user... which is wrong. It is senseless, because the color-scheme the user selected for admin cannot be loaded without his user-data. And that is not possible as long as he/she didn't enter any login-data.

REQUEST: get the ~30kB color scheme out of the wp-login.php and add the following to wp-admin/css/login.css:


{{{
body.login {
    border-top-color:#464646;
}
body, #wpbody, .form-table .pre {
    color:#333333;
}
a, /* All obsolete on wp-login.php - could here simply be h1 a */
#adminmenu a,
#poststuff #edButtonPreview,
#poststuff #edButtonHTML,
#the-comment-list p.comment-author strong a,
#media-upload a.del-link,
#media-items a.delete,
.plugins a.delete,
.ui-tabs-nav a {
    color:#21759B;
}
.submit {
    border-color:#DFDFDF;
}
textarea, /* All obsolete - could be #login #wp-submit */
input[type=""text""],
input[type=""password""],
input[type=""file""],
input[type=""button""],
input[type=""submit""],
input[type=""reset""],
select {
    background-color:#FFFFFF;
    border-color:#DFDFDF; /* Obsolete due to .submit-class above */
}
input.button-primary, button.button-primary, a.button-primary {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:#21759B url(../images/button-grad.png) repeat-x scroll left top;
    border-color:#298CBA;
    color:#FFFFFF;
    font-weight:bold;
    text-shadow:0 -1px 0 rgba(0, 0, 0, 0.3);
}
.submit {
    border-color:#DFDFDF;
}
.login #nav a {
    color:#21759B !important;
}
.login #backtoblog a {
    color:#CCCCCC;
}
}}}
"	F J Kaiser
Popular	10856	Move unesential comment fields to the comment meta table		Comments	2.9	normal	normal	2	Future Release	enhancement	new	dev-feedback	2009-09-26T03:07:47Z	2011-07-28T21:03:24Z	"The wp_comments table has 3 less-used fields that would be better placed in the new commentmeta table. These are:

- comment_author_IP

- comment_agent

- comment_karma"	scribu
Popular	10653	Update comment_author when display_name changes		Comments		normal	normal	2	Future Release	enhancement	reopened	has-patch	2009-08-19T19:43:29Z	2010-12-18T11:08:18Z	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
Popular	10984	If content uses the nextpage tag then only the first page is shown in feeds		Feeds	2.8.4	normal	normal	2	Future Release	defect (bug)	new	dev-feedback	2009-10-20T11:03:11Z	2012-08-27T17:40:40Z	"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
Popular	11697	Keep private posts in the admin area / Was: Make private posts a canonical plugin		General	2.9	normal	normal	2	Future Release	defect (bug)	assigned	has-patch	2010-01-02T21:33:21Z	2011-04-11T23:15:01Z	"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
Popular	12056	"target=""_blank"" being stripped from Profile Bio and Category Description"		General	2.9.2	normal	normal	2	Future Release	defect (bug)	new		2010-01-27T16:50:00Z	2011-05-31T19:32:07Z	"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
Popular	11598	code improvements in wp_:dashboard_plugins_output()		General	2.9	normal	normal	2	Future Release	enhancement	new	has-patch	2009-12-24T14:19:54Z	2010-10-28T11:36:02Z	"Smaller code changes to improve the function. Stumbeled over this while digging into #11597 and #11518.

"	hakre
Popular	12400	Add a wp_loaded hook, an ob_start hook, and an front end ajax hook		General	3.0	normal	normal	2	Future Release	feature request	reopened	dev-feedback	2010-02-27T01:08:08Z	2013-01-22T09:36:26Z	"Requests for some kind of wp_loaded hook have crept up here and there in trac over the years.

Typically, the requester is looking into doing front-end ajax requests and the like. There are other use cases, such as wanting to catch specific URIs -- e.g. a trailing /print/ to the url, which the permalink API is incapable of catching.

They all got rejected on grounds that there is the init hook that can be used just as well for ajax. Or the template_redirect hook in place of an ob_start hook. The list goes on.

When you want WP and plugins to be loaded '''and''' fully initialized, instantiated and ready to go, setting a priority to obscene levels on the init hook works (I typically use 1000000)... but it always feels like you're working around a crippled API.

Starting output buffers on template_redirect with a priority -1000000 feels equally clunky.

Then, there is the front-end ajax. Yes, admin-ajax.php can be used unauthenticated... But the fact of the matter is, you can end up with SSL turned on when it's not useful, and the lack of an wp-ajax.php file makes many a plugin dev wonder where in the bloody hell he should catch his own requests.

It would be sweet if this all got fixed in WP 3.0.

The argument that goes ""a hook already exists"" seems extremely invalid to me. There are many places in WP where two hooks (and oftentimes many more) can be used to achieve the same result. Think wp_headers and send_headers, for instance. What they have in common is some kind of before/after flow, which init and template_redirect are currently lacking.

One could argue that parse_request is nearby init, and that wp is nearby template_redirect, so they'd be good enough. But the first of these parses expensive regular expressions before firing, and both are only known to WP junkies.

Suggested hooks for WP 3.0:

 - a wp-ajax.php file built similarly to admin-ajax.php.
 - an wp_loaded hook at the very end of wp-settings.php, with a commentary that tells plugin authors that init should be used to instantiate, wp_loaded should be used to act once everything is instantiated, and that wp-ajax.php has hooks that are specific to ajax requests.
 - an ob_start (or pre_load_template, or whatever...) hook at the very beginning of template-loader.php, with a commentary that tells plugin authors that the new hook should be used to instantiate such as output buffering once WP is fully loaded, while the second is traditionally used to pick an arbitrary template."	Denis-de-Bernardy
Popular	12885	LiveJournal importer uses GMT date/time as local date/time		Import		normal	normal	2	WordPress.org	defect (bug)	new	has-patch	2010-04-07T02:07:25Z	2011-01-26T10:29:09Z	"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
Popular	6481	Fancy permalinks should be enabled on new sites		Permalinks	2.7	low	minor	2	Future Release	enhancement	new		2008-03-30T19:20:04Z	2012-10-10T14:44:30Z	"Code to do this:

{{{
$permalink_structure = '';
$cat_base = '';
$tag_base = '';

if ( got_mod_rewrite() && is_file(ABSPATH . '.htaccess') && is_writable(ABSPATH . '.htaccess') )
{
	$permalink_structure = '/%year%/%monthnum%/%day%/%postname%/';
}

update_option('permalink_structure', $permalink_structure);
update_option('category_base', $cat_base);
update_option('tag_base', $tag_base);

$wp_rewrite->flush_rules();

}}}

The above has been tested by hundreds of users -- this has been built into my theme for over two years."	Denis-de-Bernardy
Popular	12718	Better structure for admin menu		Plugins		normal	normal	2	Future Release	enhancement	reopened	dev-feedback	2010-03-26T01:05:37Z	2013-05-13T16:17:03Z	"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
Popular	14106	Post-processing of post thumbnails		Post Thumbnails	3.0	normal	normal	2	Future Release	enhancement	assigned	dev-feedback	2010-06-26T20:45:24Z	2010-12-23T19:43:35Z	"I'm not sure if I'm missing something, but it looks like there is no hook to post-process post thumbnails. I want to add rounded corners to all thumbnails for a theme.

It looks to me like an action at the end of image_make_intermediate_size() in media.php with $file as parameter might do the trick. I'm not sure if that's the right place or when that function is called precisely though. So it might be necessary to add additional parameters to the function call to identify where the call came from."	nkuttler
Popular	12567	make post_submit_meta_box more generic		Post Types		normal	normal	2	Future Release	enhancement	new		2010-03-10T00:46:20Z	2013-05-16T11:59:19Z	"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
Popular	14650	"Make ""Press This"" use post-new.php"		Press This		normal	normal	2	Future Release	enhancement	new		2010-08-19T22:37:19Z	2010-10-28T06:09:21Z	"Press This is really neat, but it doesn't take advantage of recent developments, such as auto-drafts or oEmbed.

I think that, with a little ingenuity, we can make PressThis use the post-new.php screen.

I wrote a plugin to prove the viability of the idea: [http://wordpress.org/extend/plugins/press-this-reloaded/ Press This Reloaded]"	scribu
Popular	9683	Inconsistent font for Quick Edit labels		Quick/Bulk Edit		low	minor	2	Future Release	enhancement	new	needs-review	2009-04-29T22:02:15Z	2012-12-19T17:34:49Z	It's always bugged me that the labels for all the Quick Edit fields are a serif font and italic when all the other labels are sans-serif (aside from major headers and a few other elements).  Am I alone in this?	aaron_guitar
Popular	11058	Add unregister_taxonomy()		Taxonomy		normal	normal	2	Future Release	enhancement	assigned	has-patch	2009-11-01T10:39:26Z	2013-01-11T04:11:16Z	There should be a function that unregisters a certain taxonomy after it has been registered.	scribu
Popular	13816	There should be built-in index pages for taxonomies		Taxonomy		normal	normal	2	Future Release	feature request	new		2010-06-10T12:20:29Z	2013-01-11T07:45:26Z	"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
Popular	14310	Make template hierarchy filterable		Themes		normal	normal	2	Future Release	enhancement	reopened	dev-feedback	2010-07-14T22:03:58Z	2013-04-11T10:45:25Z	"Currently, we have filters for each template type: home_template, author_template etc.

The trouble is that these filters are applied on the final template path, after the template hierarchy has been traversed.

It would be useful if there was another filter applied to the actual template hierarchy array, before it was sent to locate_template().

== Example ==

Take the author template hierarchy:

author-{nicename}.php > author-{id}.php > author.php

Say I want to add author-{role}.php before author.php.

Sure, I could use the 'author_template' filter:

{{{
function author_role_template( $old_template ) {
  // get current author's role

  $new_template = locate_template( array( ""author-$role.php"" ) );

  if( $new_template && 'author.php' == $old_template )
    return $new_template;

  return $old_template;
}
add_filter('author_template', 'author_role_template');
}}}

With an 'author_template_candidates' hook, I could manipulate the actual hierarchy:

{{{
function author_role_template( $templates ) {
  // get current author's role

  $new_template = array( ""author-$role.php"" );

  $templates = array_merge( 
    array_slice( $templates, 0, -1 ), // before
    $new_template,                    // inserted
    array_slice( $templates, -1 )     // after
  );

  return $templates;
}
add_filter('author_template_hierarchy', 'author_role_template');
}}}

This would allow me to remove author-{id}.php if I wanted, etc."	scribu
Popular	14664	"add <link rel=""profile"" ... /> to wp_head()"		Themes	3.0.1	normal	normal	2	Future Release	enhancement	new	has-patch	2010-08-21T06:22:56Z	2010-11-19T08:26:44Z	"Old themes use rel=""profile"" in <head>, twentyten use it in <link>.

Both ways are ok (http://microformats.org/wiki/rel-profile), and i think <link> is better (like in twentyten).

Currently, theme authors add the profile rel manually. They usualy use XFN 1.1 profile (http://gmpg.org/xfn/11). To change the profile users need to change the template files. This is problematic.

I think we need to add a profile_rel_link function to wp core and add it to wp_head(). This way, when we want to change the profile, we will use filters.

See the attacment."	ramiy
Popular	11863	Trashed items interfere with page/post slug generation		Trash	2.9	normal	normal	2	Future Release	enhancement	reopened		2010-01-11T12:40:38Z	2012-09-23T19:10:06Z	"Create a static page called test. Trash it. Create a new static page called test. It'll want to use the slug ""test-2"" instead of the expected ""test"".

This is extremely confusing for non-technically oriented users."	Denis-de-Bernardy
Popular	14465	Update Plugins Hangs while displaying 'updating'		Upgrade/Install	3.0.1	normal	normal	2	Future Release	defect (bug)	new		2010-07-30T07:45:17Z	2012-06-28T14:49:09Z	"Hi,

Whenever I try to update a plugin the update plugins screen hangs indefinetly.

Example message while this is happening would be-

""The update process is starting. This process may take awhile on some hosts, so please be patient.

Enabling Maintenance mode…

Updating Plugin Link Library (1/1)""

The plugin ulitmately gets updated if I wait a minute or two but this page never refreshes.

I am running WP 3.0.1 but this happend on 3.0.0 as well.

My host is running 
MySQL 5.0.90-community
PHP 5.2.13

and my browser is IE8."	jamesfed
Popular	9873	enforce a consistent home and siteurl www. pref		Users	2.8	normal	normal	2	Future Release	defect (bug)	new	has-patch	2009-05-19T12:36:11Z	2012-04-20T12:56:02Z	"Seen on a few sites. home and siteurl with inconsistent www prefs prevents the admin user's cookie from getting picked up properly, upon logging in.

code I currently use to prevent the issue is this:


{{{
add_action('login_head', 'fix_www_pref');

function fix_www_pref() {
	$home_url = get_option('home');
	$site_url = get_option('siteurl');
		
	$home_www = strpos($home_url, '://www.') !== false;
	$site_www = strpos($site_url, '://www.') !== false;
		
	if ( $home_www != $site_www ) {
		if ( $home_www )
			$site_url = str_replace('://', '://www.', $site_url);
		else
			$site_url = str_replace('://www.', '://', $site_url);
		update_option('site_url', $site_url);
	}
} # fix_www_pref()
}}}

there's probably a better way and a better location for this."	Denis-de-Bernardy
Popular	8910	Limit the RSS widget from using its own url		Widgets	2.8	high	major	2	Future Release	defect (bug)	reopened		2009-01-21T19:40:59Z	2012-02-06T08:15:20Z	"'''NOTE:''' Copied from [http://trac.mu.wordpress.org/ticket/852] since 'This is really a WP issue, not strictly MU. Can you open a ticket in WP's trac?'

I admit that this is not a well conceived thought but I wanted to throw it out.

There's some discussion on the premium site about individual blogs using their rss widgets to display their own feeds. This of course causes issues with an unnecessary rss feed pull as well as old data since the feeds are cached.

May I suggest a check to see if the inputted RSS feed matches the individual blog's own rss feed, kick it out with an error and suggesting to the user that they use the Latest Posts widget instead?

Marking this as 2.8 as it's not a high priority. "	webmaestro
Popular	5770	Add extra options for default tag-cloud widget		Widgets	2.5	low	minor	2	Future Release	enhancement	reopened	has-patch	2008-02-05T12:03:18Z	2009-10-13T21:59:19Z	"The default tag cloud widget only allows changing the title that appears above the tag cloud in the sidebar.

This patch allows use of more configurable options in wp_tag_cloud(), ie smallest, largest, unit, number, format, orderby, order."	AndrewFrazier
Noteworthy	9445	All Input Tags are not Section 508 Compliance		Accessibility	2.7	normal	normal	1	Future Release	task (blessed)	reopened		2009-04-02T18:58:32Z	2012-10-09T20:14:56Z	"Not all of the input tags within the Wordpress admin console are section 508 compliant (http://www.section508.gov/). We have scanned the application using compliance software and found many instances where input tags (checkbox, text, textarea, file, radio, etc..) are missing the required label or alt text. (There are many instances where it IS compliant.) 

We (developers at a government agency) have the ability to make the changes, but some of the decisions for which exact text to put in the labels and alt text should probably be decided by a more dedicated Wordpress developer. Please contact me if you want our help or input. 

We believe that the software is extremely close to 100% compliance. Bringing it to 100% would be a huge deal for government agencies wh are trying to get approval to install and run Wordpress internally and externally."	dmo7
Noteworthy	13972	Add new category link - capability check needed		Administration	3.0	normal	minor	1	Future Release	defect (bug)	new	has-patch	2010-06-18T09:01:43Z	2012-06-29T18:18:58Z	"/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
Noteworthy	13605	Add filter for admin-ajax get-tagcloud's arguments for wp_generate_tag_cloud		Administration	3.0	low	minor	1	Future Release	enhancement	new	has-patch	2010-05-28T20:30:43Z	2010-10-27T10:13:29Z	Patch attached.	mitchoyoshitaka
Noteworthy	10652	Additional arguments required for page_template_dropdown		Administration	2.8.4	normal	trivial	1	Future Release	enhancement	new	has-patch	2009-08-19T17:29:05Z	2010-08-13T12:23:56Z	"As a plugin/theme developer, it would be really useful to be able to call the page_template_dropdown function with a parameter string similar to [http://codex.wordpress.org/Template_Tags/wp_dropdown_pages wp_dropdown_pages].

For example, the current '$default' argument should accept a string of arguments where:

- 'selected' is the selected template (replaces the current $default)[[BR]]
- 'echo' can be set to 1 to return instead of output[[BR]]
- 'name' will set a name/id for the menu[[BR]]

This would make it easier to create plugin/theme options where you could select which templates you want to use for different content.

At the moment it is possible to do this by replicating and adapting this function but I think it would make more sense to use the same multi-parameter argument as [http://codex.wordpress.org/Template_Tags/wp_dropdown_pages wp_dropdown_pages] and [http://codex.wordpress.org/Template_Tags/wp_dropdown_categories wp_dropdown_categories] and include it in core?"	husobj
Noteworthy	15790	Date column for Scheduled posts should also state the time		Administration	3.0.4	normal	normal	1	Future Release	enhancement	new		2010-12-13T04:37:07Z	2013-01-22T17:33:17Z	"For obvious reasons, for scheduled posts, it's very useful to see not just the date but the time, but the wp-admin posts interface does not show it - only the date.

It'd be very useful to see the time as well.

Thanks."	archon810
Noteworthy	10970	Remove 'siteurl' setting from options-general.php		Administration		normal	normal	1	Future Release	enhancement	new	has-patch	2009-10-17T18:52:10Z	2012-11-16T16:26:34Z	"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
Noteworthy	15384	wp-login.php refactor		Administration		normal	normal	1	Future Release	enhancement	new	early	2010-11-11T12:40:35Z	2012-05-31T21:40:02Z	"wp-login.php needs some serious work. When looking to do some improvements in #5919, I realized I literally needed a goto in order to achieve the goals outlined in this comment:

http://core.trac.wordpress.org/ticket/5919#comment:39

I am thinking a WP_Login class with some methods that can handle various different forms, POST handling, and rerouting."	nacin
Noteworthy	13516	Hide JS-only widgets on dashboard is no JS		Administration	3.0	normal	normal	1	Future Release	feature request	new		2010-05-24T13:16:42Z	2011-12-24T16:16:41Z	"We hide screen options and help; we should also hide these widgets instead of displaying by default with the 'you need JS' message. Affected modules: QuickPress, Incoming Links, Plugins, WordPress Development Blog, Other WordPress News. 

We should display an additional module for no-JS people that lets them know that their WordPress install would be even more awesome with JavaScript, and list out some of the features they would gain access to with JS enabled. "	jane
Noteworthy	15289	Make it easier for a non-standard URL to be used to access wp-admin		Administration	3.1	normal	normal	1	Future Release	feature request	new	dev-feedback	2010-11-02T13:27:05Z	2013-02-07T21:51:15Z	"For some sites it is vital that the admin be accessible via a path other than {{{/wp-admin/}}}. Clients sometimes require this because it is easier for their users. Also, it is useful if replacing another CMS with WordPress for the root of the admin to have the same URL, although this can be partially fixed with a redirect.

Even when not ''required'' per se, some of us prefer to use a different URL to access the admin because it is more intuitive for our users to use something like {{{/admin/}}} instead of {{{/wp-admin/}}}.

To be clear: I am not suggesting renaming the wp-admin directory, nor am I suggesting adding an option in the UI to change the path.

Rather, I am suggesting that small tweaks be ade to make it easier for power-users to enable the use of a different URL to access the admin area.

I suggest making the following changes :

'''1.''' Use relative urls within the admin where possible without affecting standard installations.

'''2.''' Allow power-users to add a constant to wp-config.php to change the path of the admin for those links which have to be absolute.

I don't think there is much work involved and I am happy to do it.

Core devs have in the past stated that the user of alternative urls to access the admin is 'not supported', but it is unclear whether this simply means that it doesn't work at the present time or that the core team is opposed to allowing it to happen.[[BR]]
If the latter is the case, I would appreciate an explanation - I'm sure there is a good reason if that is the case, but I can't for the life of me think what it could be. ;)"	caesarsgrunt
Noteworthy	12004	Select Sidebar when adding Posts/Pages		Administration	3.0	normal	normal	1	Future Release	feature request	new		2010-01-25T13:26:16Z	2010-01-25T23:28:01Z	"Hey all,

I think it would be a cool feature to be able to create sidebars in WP, and then when creating a page you can choose that specific sidebar.

I think that this can be accomplished by using the ''Parent'' page technique of selecting if the Page has a Parent and if so which one.

Can we develop an option to choose a Sidebar created in the Widgets panel?

Cheers,
Aron
ps: if my help is needed ( im good at design, not coding ) please contact me: info@zipyourmix.com ;)!"	lsddesign
Noteworthy	14979	custom background view shows cropped image and not original upload		Appearance	3.0.1	normal	normal	1	3.6	defect (bug)	new	dev-feedback	2010-09-27T19:59:12Z	2013-02-06T11:53:18Z	"trying to upload a very tall image to the custom background area (for example 100*1100px width*height) works but the image that is then shown in the view-pane is the cropped/thumbnail version of the upload and not the original image the user added.

it is possible a site would have a repeat-x on a really tall image."	obvio
Noteworthy	11286	Normal User Input Causes Status 500		Comments	2.8.4	normal	normal	1	Future Release	defect (bug)	new	commit	2009-11-30T21:45:04Z	2012-11-26T22:20:40Z	"To reproduce:  Click the Submit Comment button on any post with no other input.

Expected Result:  Status 200 or 403 with feedback to user.

Actual Result:  Status 500 with feedback to user.

Status 500 means the server is at fault for an unexpected error condition, which is not the case here.  It is the incorrect response to send, and it is alarming to see it show up in a server log without an error message.

Patch should be ready shortly..."	miqrogroove
Noteworthy	10948	wp_list_comments() always assumes walker will echo.		Comments	2.8.6	normal	normal	1	3.6	defect (bug)	new	has-patch	2009-10-13T12:21:33Z	2013-05-04T10:33:03Z	"wp_list_comments() always assumes the walker called will echo it's constructed content (the default Walker does this).

However, if you want to use your own walker which doesn't echo, or you want to post process the output of the default walker in some way, you cannot.

The changes required are to wp_list_comments() which should check for an 'echo' arg and respond appropriately (like wp_list_pages does). The built in comment walker class Walker_Comment needs to write it's output to the passed $output reference. Finally the function edit_comment_link() needs to take an echo parameter.

The attached patch allows this functionality whilst preserving the status quo by adding a default echo => 1 argument to wp_list_comments and edit_comment_link.

"	MikeLittle
Noteworthy	10869	Eliminate moderation on admin comments		Comments		normal	normal	1	Future Release	enhancement	new		2009-09-28T10:18:53Z	2009-11-28T12:34:10Z	"Currently, if comment moderation is enabled, comments left by the admin are also moderated, requiring approval before they're posted.  

Proposed change: If comment moderation is activated, all replies and comments left by the admin are auto-approved."	heather_r
Noteworthy	13450	Filter Comments Link		Comments		normal	normal	1	Future Release	enhancement	new	has-patch	2010-05-19T01:19:50Z	2010-10-28T12:12:51Z	"This filter allows a developer to modify a post's comments link.

Useful for situations where one needs to add or modify components of the URL such as on-click javascript, or changes to the anchor text, etc..."	ikailo
Noteworthy	10931	Verify Comment Email Addresses of Registered Users		Comments	2.8.4	normal	normal	1	Future Release	enhancement	assigned	has-patch	2009-10-08T14:34:44Z	2013-01-13T21:45:07Z	"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
Noteworthy	13942	Logged-out notice in post edit page is easily missed		Editor	3.0	normal	normal	1	Future Release	defect (bug)	new	dev-feedback	2010-06-17T11:25:40Z	2012-09-27T15:42:48Z	"When a user gets logged out during post editing, a small warning appears bellow the post editor, next to the word count. This warning states that changes will not be saved until user logs in again - but it's a small notice and is very easily missed.

Since this can be potentially catastrophic for users writing long posts while relying on auto-save, a bigger and more prominent notice probably makes more sense.

=== Repro ===

ENV: WP 3.0

This bug can be reproduced in WordPress 3.0 by opening two tabs – one tab with a blog’s Dashboard, and another tab with the same blog’s New Post page. In the Dashboard, click Logout, then switch to the New Post tab. Here, enter any text in the post’s title, then hit Tab to switch to the editor. This will trigger the permalink preview, which will in turn trigger the notice about being logged out: “ALERT: You are logged out! Could not save draft. Please log in again.”

=== Additional Details ===

The notice comes from wp-admin/admin-ajax.php, in line 36.

Currently behavior was introduced by #7630, where it was already noted ""maybe something more obvious needed"""	RanYanivHartstein
Noteworthy	14749	Scrollbar position jumping in the Appearance->Editor newcontent textarea		Editor	3.0.1	normal	normal	1	Awaiting Review	defect (bug)	new		2010-09-01T01:32:10Z	2012-11-01T05:14:52Z	"As I am editing code in the Appearance Editor main textarea called newcontent, the scrollbar slider will jump upward to a new position moving the current line being edited down.

On a vista machine using ie8 with wp3.0.1 and the 2010 theme, a single character stroke will move the scrollbar up 3 lines.  

On an xp machine using ie8 with wp3.0.1 and a custom theme, a single character stroke will move the scrollbar up 8 lines.  Ocasionally the scrollbar will only move 1 line and every keystroke will bring the down.  Pasting text can and often does bring the line being edited below the visible area of the textarea.

It is very frustrating when it jumps around like this."	Giant Slayer
Noteworthy	15110	Useless MIME type served for rss feeds		Feeds	3.0	normal	normal	1	Future Release	defect (bug)	new	dev-feedback	2010-10-13T14:16:54Z	2012-06-05T08:37:39Z	"Both /feed/, /feed/rss2/, and /feed/rss/ are served using the very undescriptive and generally useless ""text/xml"" MIME type.  ATOM and RDF feeds are served with their proper MIME types.  It looks like the MIME types for RSS are in feed.php, but for some reason there is a special ""rss-http"" type that returns the useless type?  Changing the first line in feed-rss.php and feed-rss2.php to use the rss and rss2 type instead of rss-http fixed it on my site."	singpolyma
Noteworthy	13867	New filter for comment RSS feed's title		Feeds	3.0	normal	normal	1	Future Release	enhancement	new	has-patch	2010-06-12T21:53:07Z	2010-10-28T12:18:31Z	"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
Noteworthy	15006	Invalid Content Markup		Formatting	3.0	normal	minor	1	Future Release	defect (bug)	new		2010-10-01T13:48:12Z	2011-01-13T06:29:30Z	"I have a page post that starts like this:

{{{
<p style=""text-align: right;"">Text Here</p>
<p style=""text-align: right;""></p>
More Text Here
}}}

The HTML source saves correctly, but the page output omits the closing tag for the second P element, causing the rest of the page to be invalid.

If you have any trouble reproducing this I will be happy to debug it on my server."	miqrogroove
Noteworthy	8775	Numbers in quotation marks get wrong smart quotes		Formatting	2.8	normal	normal	1	Future Release	defect (bug)	reopened	needs-unit-tests	2009-01-01T18:05:14Z	2013-05-01T15:41:31Z	"Have a number in quotation marks, such as {{{""12345""}}} or {{{'12345'}}} and {{{wptexturize}}} converts the right quotation mark to double-prime and prime marks, respectively.

Patch fixes."	filosofo
Noteworthy	10645	auto_p and forms		Formatting		low	normal	1	Future Release	defect (bug)	new		2009-08-18T16:53:40Z	2010-11-13T01:38:14Z	"auto_p will errantly injects paragraph and linebreak tags in certain circumstances within forms:

`<div>
<label for=""select_element"">This is a select box placed <select name=""select_element""><option value=""1"">inline</option</select> with the label.</label>
</div>`

becomes:

`<div>
<label for=""select_element"">This is a select box that is pla­ced<br />
<select name=""select_element""><option value=""1"">inline</option><option value=""2"">inside</option><option value=""3"">within</option></select>

<p>inline with the label.</label>
</div>`

linebreak and paragraph tags should never be inserted inside a label. In this case they are not even properly paired.  It would be nice if the surrounding div was identified and no tags were inserted, although if a paragraph tag wrapped the whole thing, it would not be the end of the world.
"	kingjeffrey
Noteworthy	10041	like_escape() should escape backslashes too		Formatting	2.8	high	normal	1	Future Release	defect (bug)	reopened	has-patch	2009-06-05T11:18:16Z	2013-04-16T17:04:06Z	"The like_escape() function doesn't escape backslashes.

source:trunk/wp-includes/formatting.php@11518#L2260
{{{
	return str_replace(array(""%"", ""_""), array(""\\%"", ""\\_""), $text);
}}}
should be ...
{{{
	return str_replace(array(""\\"", ""%"", ""_""), array(""\\\\"", ""\\%"", ""\\_""), $text);
}}}
or simply ...
{{{
	return addcslashes($text, '%_');
}}}

Considering multi-byte characters ...
{{{
	if (function_exists('mb_ereg_replace')) {
		$text = mb_ereg_replace('\\\\', '\\\\', $text);
		$text = mb_ereg_replace('%', '\\%', $text);
		$text = mb_ereg_replace('_', '\\_', $text);
		return $text;
	} else {
		return addcslashes($text, '%_');
	}
}}}"	miau_jp
Noteworthy	10269	wysiwyg bug with shortcodes		Formatting	2.8	low	minor	1	Future Release	defect (bug)	reopened	close	2009-06-25T11:29:42Z	2012-10-01T17:40:41Z	"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
Noteworthy	14102	Additional CSS class in wp_list_pages when a page has children		Formatting	3.0	normal	normal	1	Future Release	enhancement	new	has-patch	2010-06-26T13:28:23Z	2010-12-06T20:35:17Z	"A great addition to the wp_list_pages function would be to add an extra CSS class of 'page_has_children' (or similar) to a list item for when it has child pages.

This would enable theme authors to style the list items with CSS to differentiate between those pages that have child pages, and those that don't at whatever depth you are viewing in really simple CSS.

Here is how it could be implemented in the WP3.0 codebase. I have simply amended the 'start_el' function as shown below.

'''FILE: wp-includes/classes.php - from line 1173'''

{{{

/**
 * @see Walker::start_el()
 * @since 2.1.0
 *
 * @param string $output Passed by reference. Used to append additional content.
 * @param object $page Page data object.
 * @param int $depth Depth of page. Used for padding.
 * @param int $current_page Page ID.
 * @param array $args
 */
function start_el(&$output, $page, $depth, $args, $current_page) {
	if ( $depth )
		$indent = str_repeat(""\t"", $depth);
	else
		$indent = '';

	extract($args, EXTR_SKIP);
	$css_class = array('page_item', 'page-item-'.$page->ID);
	
	//JA ADDITION START 1 of 2 - DETECT IF PAGE HAS CHILDREN START
	$has_children = wp_list_pages('&child_of='.$page->ID.'&echo=0');
	//JA ADDITION END 1 of 2 - DETECT IF PAGE HAS CHILDREN
	
	if ( !empty($current_page) ) {
		$_current_page = get_page( $current_page );
		if ( isset($_current_page->ancestors) && in_array($page->ID, (array) $_current_page->ancestors) )
			$css_class[] = 'current_page_ancestor';
		if ( $page->ID == $current_page )
			$css_class[] = 'current_page_item';

		//JA ADDITION START 2 of 2 - DETECT IF PAGE HAS CHILDREN START
		if ( !empty($has_children) )
			$css_class[] = 'page_has_children';
		//JA ADDITION START 2 of 2 - DETECT IF PAGE HAS CHILDREN END

		elseif ( $_current_page && $page->ID == $_current_page->post_parent )
			$css_class[] = 'current_page_parent';
	} elseif ( $page->ID == get_option('page_for_posts') ) {
		$css_class[] = 'current_page_parent';
	}

	$css_class = implode(' ', apply_filters('page_css_class', $css_class, $page));

	$output .= $indent . '<li class=""' . $css_class . '""><a href=""' . get_page_link($page->ID) . '"" title=""' . esc_attr( wp_strip_all_tags( apply_filters( 'the_title', $page->post_title, $page->ID ) ) ) . '"">' . $link_before . apply_filters( 'the_title', $page->post_title, $page->ID ) . $link_after . '</a>';

	if ( !empty($show_date) ) {
		if ( 'modified' == $show_date )
			$time = $page->post_modified;
		else
			$time = $page->post_date;

		$output .= "" "" . mysql2date($date_format, $time);
	}
}

}}}
"	Jonnyauk
Noteworthy	10792	ampersands and slashes stripped out of slugs		Formatting		low	trivial	1	Future Release	enhancement	new	has-patch	2009-09-15T22:56:00Z	2012-01-05T06:42:43Z	"In slugs for taxonomies or post permalinks, slashes (/\) and ampersands (&) are stripped out. More useful URLs would be created by turning slashes into hyphens, and ampersands into the word ""and"".

e.g.:

""songs by Lennon/McCartney""[[BR]]
expected slug: ""songs-by-lennon-mccartney""[[BR]]
actual slug: ""songs-by-lennonmccartney""

""Us & Them""[[BR]]
expected slug: ""us-and-them""[[BR]]
actual slug: ""us-them"""	alxndr
Noteworthy	8177	Comments disabled in post but not in media gallery		Gallery	2.7	normal	normal	1	3.6	defect (bug)	new	has-patch	2008-11-12T16:08:33Z	2013-04-22T12:46:10Z	"The options to ""allow comments on this post"" and ""allow trackbacks and pingbacks on this post"" have been deselected.  The post will then return the expected message ""Both comments and pings are currently closed"".  (ie. http://localhost/wordpress/?p=42)  However, when selecting an image from an embedded native Gallery of that post, the image redirects to an attachment_id (ie. http://localhost/wordpress/?attachment_id=38)and still has a comments field.  There is no decipherable means to disable comments on attachments through the native gallery.  

If this is the expected behavior, I would believe that if a post may disable comments, then all of its content should be disabled.

Related: #9839 Enable/Disable comments on a per item bases (some attachments don't have parents)"	canon2k5
Noteworthy	13429	Updating Link URL on image within Admin with Gallery		Gallery	2.9.2	normal	normal	1	Future Release	defect (bug)	new	dev-feedback	2010-05-18T01:43:42Z	2013-01-02T13:11: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
Noteworthy	11101	Gallery column width calculation needs more granularity		Gallery		normal	minor	1	Future Release	enhancement	new	has-patch	2009-11-08T07:36:13Z	2011-02-23T10:12:06Z	"In line 712 of wp-includes/media.php where the column width is calculated for the gallery css snippet:


{{{
$columns = intval($columns);
        $itemwidth = $columns > 0 ? floor(100/$columns) : 100;

        $selector = ""gallery-{$instance}"";

        $output = apply_filters('gallery_style', ""
                <style type='text/css'>
                        #{$selector} {
                                margin: auto;
                        }
                        #{$selector} .gallery-item {
                                float: left;
                                margin-top: 10px;
                                text-align: center;
                                width: {$itemwidth}%;                   }
}}}


itemwidth should be calculated as 

{{{
$itemwidth = $columns > 0 ? round(100/$columns,1) : 100;
}}}

This gives the width better precision. I've read that IE ignores the decimal, but it works on at least Firefox, so there is no reason not to let it have a decimal value. You could even increase the number of decimal points."	akozak
Noteworthy	10489	UI Improvements for the gallery tab (edit post)		Gallery	2.8.1	normal	normal	1	Future Release	enhancement	new		2009-07-26T11:52:10Z	2010-10-28T08:48:06Z	"It would be nice to ever display the ""Gallery Settings"" Section on the gallery tab, even if only one image exists. That would help if you talk via phone and explain someone something. Often from-sections are helpfull to validate wether or not the other is on the same page as you are while explaining something.
"	hakre
Noteworthy	11725	Add start and count attributes to gallery shortcode		Gallery	2.9.1	normal	normal	1	Future Release	feature request	new	has-patch	2010-01-05T15:00:27Z	2012-08-05T22:58:23Z	"Add shotcodes COUNT for views full gallery after click on MORE. Home

Modify files ./wp-includes/media.php
Lines 699 (add COUNT => '-1')
Lines 767-798 (add ForEach ... )

Use in WP:

[gallery] ... show standard gallery

OR

[gallery count=3] ... show images 1-3
- more -
[gallery count=3+] ... show images 4-n"	frymi
Noteworthy	15619	General Settings Tab Not Allowing trailing URL slash to be stored in Site & WordPress address (URL)		General	3.0.1	normal	normal	1	Future Release	defect (bug)	reopened	dev-feedback	2010-12-01T02:35:11Z	2011-01-21T10:15:11Z	"**Thank you for all of the efforts you've made regarding plugins easier to maintain - I deeply appreciate it.** 

When WordPress is installed in a subfolder, attempts to add the trailing slash currently will not save properly. From this URL:
http://www.domain.com/wordpressinstalledinfolder/wp-admin/options-general.php

The General Settings Tab - WordPress address (URL)
The General Settings Tab - Site address (URL)

Want to enter ""http://www.domain.com/wordpressinstalledinfolder/""
***it won't let me enter a trailing slash on the end like it will in other URL fields on the site.***

Request: Please tweak this field to allow storage of folder trailing slash.




"	dsquared
Noteworthy	13078	Make wp_register_style and wp_enqueue_style consistent		General	3.0	normal	minor	1	Future Release	defect (bug)	new	has-patch	2010-04-22T01:08:39Z	2013-03-31T05:06:56Z	"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
Noteworthy	13418	Smaller Bits of Code Improvement		General	3.0	normal	normal	1	Future Release	defect (bug)	new	has-patch	2010-05-17T02:44:52Z	2012-12-07T21:18:42Z	"This ticket is for smaller bits of code-improvements all over trunk whenever something pops into sight.

Descriptions are put in the Description field of the attachment. Feel free to add your own so this won't clutter up tac too much.

Discussion in IRC and/or wp-hackers."	hakre
Noteworthy	10458	lighttpd/1.4.22 does not populate _REQUEST['action'] for wp-login.php		General	2.8	normal	normal	1	Future Release	defect (bug)	reopened	has-patch	2009-07-21T14:10:36Z	2010-05-10T08:50:09Z	"lighttpd/1.4.22 does not populate _REQUEST['action'] for wp-login.php, this in turn disabled any action in the switch statement breaking the ability to logout.

Symtoms of this bug are: clicking logout in wordpress 2.8 and going to the login page but not really logging out.  Clicking logout in wordpress 2.3 and being redirected right back to the /wp-admin page.

adding this code to wp-login.php, fixes the behavior and re-enables all features in wp-login.php.

I don't know the wordpress code but if there is a section which deals with idiosyncrasies of web servers that lighttpd be detected and this code be run to deal with it. 

//
// Main
//


if (strpos($_SERVER['SERVER_SOFTWARE'], 'lighttpd') !== false)
{
$_lighty_url = $base_url.$_SERVER['REQUEST_URI'];
$_lighty_url = @parse_url($_lighty_url);
$_SERVER['QUERY_STRING'] = $_lighty_url['query'];
parse_str($_lighty_url['query'], $_lighty_query);
foreach ($_lighty_query as $key => $val)
$_GET[$key] = $_REQUEST[$key] = $val;
}
"	myrond
Noteworthy	12264	links truncated: link_url column in wp_links table -- datatype too small		General	2.9.2	normal	normal	1	Future Release	defect (bug)	new	dev-feedback	2010-02-17T20:27:25Z	2011-08-03T19:55:37Z	"Here is my original post about the issue:  [http://wordpress.org/support/topic/365540?replies=3]

In short, the link_url column in the wp_links table has a datatype of VARCHAR(255).  As far as I know, there is no pre-defined limit to the length of a URL.  However, browsers typically enforce their own practical limits, the shortest of which is much larger than the 255 character limit that WP is enforcing.  Entering urls longer than 255 characters causes them to be truncated.

I tried altering the table so that link_url has a datatype of VARCHAR(1024).  This allowed me to use much larger links without them being cut off.  Therefore, I believe that the limiting factor is the DB and not some other code within WP.
"	goto10
Noteworthy	11734	trackback_rdf() for IDN (xn--) Domains produces invalid HTML		General	3.1	normal	normal	1	Future Release	defect (bug)	new	close	2010-01-06T01:10:55Z	2012-02-20T12:22:02Z	"Hello

The trackback_rdf() function from wp-includes/comment-template.php wraps the ""<rdf:RDF>...</rdf:RDF>"" 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:

{{{
                     <p class=""post-tags"">

                      </p>
				  <p class=""post-info"">
					  				  </p>
				  <!--
				    <rdf:RDF xmlns:rdf=""http://www.w3.org/1999/02/22-rdf-syntax-ns#""
				xmlns:dc=""http://purl.org/dc/elements/1.1/""
				xmlns:trackback=""http://madskills.com/public/xml/rss/module/trackback/"">
			<rdf:Description rdf:about=""http://xn--bcher-entdecken-zvb.de/wordpress/index.php/wortlieblinge/""
    dc:identifier=""http://xn--bcher-entdecken-zvb.de/wordpress/index.php/wortlieblinge/""
    dc:title=""Wortlieblinge""
    trackback:ping=""http://xn--bcher-entdecken-zvb.de/wordpress/index.php/wortlieblinge/trackback/"" />
</rdf:RDF>				  -->
			  </div>
}}}


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
Noteworthy	11683	update_metadata() passes only the first meta_id		General	2.9	normal	normal	1	Future Release	defect (bug)	new	has-patch	2010-01-01T18:04:39Z	2013-05-14T13:18:38Z	"Code to reproduce:

{{{
function update_metadata_action_test($meta_id) {
	var_dump($meta_id);
}
add_action('update_post_meta', 'update_metadata_action_test');

add_metadata('post', 1, 'mykey', 'value1');
add_metadata('post', 1, 'mykey', 'value2');

update_metadata('post', 1, 'mykey', 'new value');
}}}

Expected result:

{{{
Array ( [0] => 101 [1] => 102 )
}}}

Actual result:

{{{
string(3) ""101""
}}}
"	scribu
Noteworthy	12657	wp_signon() adds one filter per call		General	3.0	normal	normal	1	Future Release	defect (bug)	new		2010-03-20T11:52:10Z	2010-10-02T00:35:56Z	"If wp_signon() is called multiple times, the filter will be added multiple times. Next to this a lot of the function seems to be just typed in in the wish that it does work instead of doing things properly. See quote: ""ugly hack to pass this to wp_authenticate_cookie"" or leftover TODO markings and the like.

Should be put in order prior to next release."	hakre
Noteworthy	11581	Add category description to wp_list_bookmarks()		General	2.9	normal	normal	1	Future Release	enhancement	new	has-patch	2009-12-23T20:09:22Z	2010-07-15T09:02:13Z	Add a parameter to display the link category description under the category title in wp_list_bookmarks() in bookmark-template.php. Setting a link category description is an option in the manager panel but there is not a good way to display it without modifying the core function itself a la http://www.brainshitting.com/index.php/archives/241	nedsferatu
Noteworthy	12721	Allow post_type's _edit_link to be outside of the admin.		General		normal	normal	1	Future Release	enhancement	new	tested	2010-03-26T13:07:49Z	2010-05-15T10:06:36Z	get_edit_post_link runs the post_type's _edit_link through admin_url() always forcing the edit page to be within wp-admin.  There are times where this isn't desired.  I'm submitting a patch to check that the url of the _edit_link doesn't begin with http(s?): before running it through admin_url 	prettyboymp
Noteworthy	11642	Allow to define upload path and url in wp-config.php		General	2.9	normal	normal	1	Future Release	enhancement	new		2009-12-27T11:11:35Z	2012-09-28T11:44:33Z	When someone wants to move default directories elsewhere, he/she must do work in two places: add defines to wp-config.php and change upload path on settings page. I think it will be good to introduce two new defines: UPLOAD_PATH and UPLOAD_URL_PATH. When they will be defined, WordPress should use them and do not allow to change these on settings page - similarly to home and site url options.	sirzooro
Noteworthy	14657	Resync Boolean Type Case		General		normal	trivial	1	Future Release	enhancement	assigned	has-patch	2010-08-20T15:09:54Z	2012-06-28T13:44:30Z	"TRUE to true and FALSE to false.

It seems patches weren't inline with the lowercase usage of the boolean type. Depends on programmer preference."	jacobsantos
Noteworthy	15811	Self-referrent links should be made avoidable in wp_list_pages / wp_page_menu		General		normal	normal	1	Future Release	enhancement	new	has-patch	2010-12-14T14:43:43Z	2011-01-15T04:55:31Z	"Having a page that links to itself is a well-recognized usability and accessibility problem.

Currently, wp_list_pages and wp_page_menu don't offer an option to avoid self-referrent links.

The patch attached to this report adds a ""self_link"" parameter to these two functions (defaulting to the current behaviour); when that parameter is set to false, the markup produced by these functions don't include a link to the current page.

Someone proposed a plugin to that effect:
http://clockinfo.com/posts/168
but it sounds like something that the core Wordpress should support."	lewebmobile
Noteworthy	12267	Upgrade loop objects to provide identical presentational interfaces		General		normal	normal	1	Future Release	enhancement	new		2010-02-18T00:19:24Z	2012-07-19T08:47:14Z	"Usually wpdb returns rows as stdClass objects. We are used to getting properties from these objects, e.g. $post->ID or $comment->comment_ID, but this class has no methods. As used, the stdClass object is only a syntactic alternative to the array.

As long as we're already using objects, let's have some more useful classes. I propose post and comment classes that implement common interfaces, and classes that extend these for special post_types and comment_types, and filters to allow plugins to use their own classes at instantiation time.

Without actually using PHP5 interface syntax, the idea is to have identical methods to get things from objects in the loop. For example, one common method would be ```url()```. The same method would work on every kind of compatible object, be it a post, page, attachment, comment, trackback, or pingback, although the underlying logic for getting the URL may differ for each.

```<a href=""<?php print esc_attr($post->url()); ?>"">```

It would simplify templates while allowing various object types in loops, not just posts, and give us an opportunity to clean up a lot of the underlying template tag logic (e.g. global $authordata), and give plugins and themes new ways to modify output.

This stemmed from my work on search. I wanted a way to keep the template simple while adding support for different object types in the loop. I figured that it wouldn't hurt anything to upgrade the classes because the way of accessing properties would be unchanged."	andy
Noteworthy	13436	Wordpress class_exists() conflicts with __autoload() and php_auto_prepend		General	3.1	normal	minor	1	Future Release	enhancement	reopened		2010-05-18T15:51:26Z	2010-12-14T17:42:54Z	"== Issue ==

Wordpress core (and many plugins) use class_exists().

http://php.net/manual/en/function.class-exists.php

When Wordpress is integrated with custom/third party applications that use php_auto_prepend and autoload() to include/require files based on the $class_name parameter this generates errors as class_exists() triggers the autoload() and the files cannot be found.

== To reproduce ==

Using php_auto_prepend specify a file to include before every page request that contains the following PHP code:

{{{
<?php
function __autoload($class) {
    include($class.'.php');
}
?>
}}}

Visit any front-end or back-end Wordpress page.

== Solution ==

As there is no autoload() function defined in Wordpress core the class_exists() should implement the second class_exists() parameter:

{{{
<?php
if (!class_exists('ExampleClass', false)) {
    ...
}
?>
}}}

This stops calls to __autoload() and would fix the errors seen when integrating Wordpress with apps that implement this.

I have implemented this and tested it and Wordpress works fine, but I can't find out where the SVN repo is for Wordpress 3 Beta 2 (the SVN page on the site takes me to 2.x).

If someone could supply a link for SVN CO of WP3 I can provide the patch."	galbus
Noteworthy	10296	scheduled unpublishing / post expiration		General		low	minor	1	Future Release	enhancement	new		2009-06-29T06:02:33Z	2010-12-21T11:40:21Z	Is there any particular blog-philosophical reason why this isn't yet possible in the core version while scheduled publishing has been a longstanding feature? As usual with such issues, client requested WP, but wants features that aren't easily supported in WP. There's a plugin called post-expirator (http://homeworker-directory.com/blog/how-to-make-your-wordpress-posts-and-wordpress-pages-auto-expire-on-a-chosen-time-or-date-with-post-expirator/) that does this in a way, but given WP's apparent increased use as a CMS I think this should be a core feature.	youngmicroserf
Noteworthy	12955	Add get_post filter		General		normal	normal	1	Future Release	feature request	new	has-patch	2010-04-10T13:50:07Z	2011-12-01T19:18:07Z	This patch filters the return value of the get_post() function. I would find this very helpful for a plugin I'm developing.	JohnLamansky
Noteworthy	12865	Better support for beta/staging		General		normal	normal	1	Future Release	feature request	reopened		2010-04-06T06:40:40Z	2011-08-07T21:17:00Z	Currently it is very difficult to maintain a beta / staging version of your wordpress site. As wordpress grows in popularity and is used on websites that would like to minimize downtime a beta/staging setup in addition to a production or main setup would be ideal. If one tries to do this now, you can attempt to copy the whole database over to the beta or staging setup which will result in links on the beta/staging version going to the production/main url's. This makes it relatively unusable. Ideally there would be some solution where developers can decide for their beta/staging site to download data from their production/main server every day or at will which will allow them to keep things updated and allow for them to test with their most recent content which can be useful. If this synchronization can occur without the previous problems and other problems that occur with simply copying the entire production database that would be wonderful!	mnolin
Noteworthy	10676	current-cat-ancestor in wp_list_categories		General	2.8.5	normal	normal	1	Future Release	feature request	new		2009-08-24T14:37:40Z	2009-11-20T06:36:49Z	The wp_list_categories should apply current-cat-ancestor like wp_list_pages not just current-cat-parent to the closest parent	spathon
Noteworthy	12322	Blog import fails to generate reduced-size images		Import		normal	normal	1	WordPress.org	defect (bug)	new	close	2010-02-21T17:14:59Z	2012-02-14T16:25:41Z	"I just imported from http://daveabrahams.wordpress.com (go ahead, try it yourself if you like) and chose to ""Import Attachments.""  The only images from the original site that show up in the result are those that were originally displayed with size-full.  The others need to be regenerated by inserting them freshly. "	daveabrahams
Noteworthy	15539	wp_mail() should allow using PHPmailer's SMTP feature		Mail	3.1	normal	normal	1	Future Release	defect (bug)	new	has-patch	2010-11-22T16:51:55Z	2011-02-11T05:46:09Z	"{{{wp_mail()}}} is able to use an already existing instance of PHPmailer. Unfortunately, all settings from the existing instance are then reset.


While this makes sense for things like addresses and subject, it is very bad that {{{$phpmailer->IsMail()}}} is called.

This makes it impossible to create and configure an own instance for usage with a remote MTA.

Possible solutions:

1. Simply omit the call to {{{$phpmailer->IsMail()}}}, as {{{'mail'}}} is already the default value.

2. Move the call of {{{$phpmailer->IsMail()}}} into the {{{if}}} statement at the beginning of the {{{wp_mail()}}} function, so it will only be set if the instance is not set.

3. Add a parameter to the signature of {{{wp_mail()}}} which allows to set the desired MTA backend.
"	mastermind
Noteworthy	11325	Image cropping doesn't work for small areas		Media	2.9	normal	normal	1	Future Release	defect (bug)	new	dev-feedback	2009-12-04T19:46:08Z	2011-02-03T14:22:23Z	"Image cropping works for JPEG images, but not for PNGs. The crop button is disabled.

Rev.179738"	caesarsgrunt
Noteworthy	10055	Media filters are very wrong...		Media	2.8	normal	normal	1	Future Release	defect (bug)	new		2009-06-07T01:47:31Z	2009-11-20T07:31:52Z	"e.g.:

{{{
apply_filters($callback, call_user_func($callback));

...

$html = apply_filters('audio_send_to_editor_url', $html, $href, $title);
}}}

so, basically, we get to add fields over on the type_url_form_audio form, but they're not available as filters in the audio_send_to_editor_url filter."	Denis-de-Bernardy
Noteworthy	14110	Expose height and width attributes to 'wp_get_attachment_image_attributes' filter		Media	3.0	normal	minor	1	Future Release	enhancement	new	dev-feedback	2010-06-27T00:54:46Z	2013-02-04T19:51:35Z	"The filter 'wp_get_attachment_image_attributes' allows you to alter the attributes of embedded images. However the height and width attributes aren't passed to this filter. These would be useful to have – I'm making a theme with a fluid layout where I have to remove all height and width attributes to ensure that the browser maintains the attribute of images when they're resized.

I've attached a patch with a fix. In it I've also changed the function 'get_image_tag' so that I could remove the immensely pointless 'hwstring' function."	divinenephron
Noteworthy	10161	Insert button in Media Uploader		Media	2.8	normal	minor	1	Future Release	enhancement	new		2009-06-14T19:33:08Z	2010-01-10T06:17:16Z	"Hi, in the Media Uploader, the third and forth tabs, could we have a link/button to insert media instead of clicking SHOW and then INSERT INTO EDITOR.
The options are saved, so some of us do not really need check the options before inserting media into post, this helps a lot with slow browser.

Thanks"	link2caro
Noteworthy	13235	Simplify and add filtering to call to display author for media		Media	3.0	normal	normal	1	Future Release	enhancement	new	commit	2010-05-03T19:13:35Z	2011-04-25T16:03:53Z	The author displayed on the media page (upload.php) is not filterable in any way currently. This patch adds a filter for the author ('media_author'). Perhaps more filters should be added for other fields, but at the least I would like to add this filter.	sbressler
Noteworthy	10390	attachments should store the WP uploads path that was configured when they were uploaded		Media	2.8.1	normal	normal	1	Future Release	enhancement	new		2009-07-12T10:34:51Z	2010-05-13T08:52:54Z	"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
Noteworthy	11895	Allow more specific image size editing		Media		normal	normal	1	Future Release	feature request	new	has-patch	2010-01-14T15:12:28Z	2013-05-07T11:54:00Z	"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
Noteworthy	13998	Inconsistency in arguments when wp_nav_menu falls back to wp_page_menu		Menus	3.0	normal	normal	1	Future Release	enhancement	new		2010-06-19T15:22:58Z	2010-12-09T14:02:29Z	"[http://codex.wordpress.org/Function_Reference/wp_nav_menu wp_nav_menu]'s 'menu_class' parameter applies the class to the <ul>. 

The default fallback function [http://codex.wordpress.org/Template_Tags/wp_page_menu wp_page_menu] however, applies 'menu_class' to the <div> enclosing the <ul>.

This can cause inconsistent styles if the style is applied to ul.<menu class>"	Utkarsh
Noteworthy	13335	The menu's + tab should be to the right of the menu navigator		Menus	3.0	low	minor	1	Future Release	enhancement	new	dev-feedback	2010-05-11T09:43:53Z	2010-11-15T20:25:27Z	"If you create enough menus to occupy the full width of the screen and beyond, you end up with navigator tools that allow to scroll left/right in order to navigate the menus you've created.

The last menu item is the + tab is the last available item. Would it not make more sense for it to always be visible?"	Denis-de-Bernardy
Noteworthy	14867	HTTPS related issues in ms-blogs.php (with fix)		Multisite		normal	normal	1	Future Release	defect (bug)	reopened	has-patch	2010-09-14T15:09:14Z	2011-10-13T19:18:53Z	"Two functions in ms-blogs.php have issues due to hard-coding ""http://"" versus using the is_ssl() check. I have corrected them below. Just copy and paste these over the ones in your ms-blogs.php.


function get_blogaddress_by_id( $blog_id ) {
        $protocol = is_ssl() ? 'https://' : 'http://';

        $bloginfo = get_blog_details( (int) $blog_id, false ); // only get bare details!
        return esc_url( $protocol . $bloginfo->domain . $bloginfo->path );
}

function get_blogaddress_by_domain( $domain, $path ){

        $protocol = is_ssl() ? 'https://' : 'http://';

        if ( is_subdomain_install() ) {
                $url = $protocol.$domain.$path;
        } else {
                if ( $domain != $_SERVER['HTTP_HOST'] ) {
                        $blogname = substr( $domain, 0, strpos( $domain, '.' ) );

                        $url = $protocol . substr( $domain, strpos( $domain, '.' ) + 1 ) . $path;

                        // we're not installing the main blog
                        if ( $blogname != 'www.' )
                                $url .= $blogname . '/';
                } else { // main blog
                        $url = $protocol . $domain . $path;
                }
        }
        return esc_url( $url );
}"	mareck
Noteworthy	11869	Multisite upgrade notice at wpmu-upgrade-site.php isn't steadily visible.		Multisite	3.0	normal	minor	1	Future Release	enhancement	new		2010-01-11T22:03:14Z	2011-12-15T23:59:25Z	"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
Noteworthy	14511	new function - wp_get_sites($args)		Multisite		normal	normal	1	Future Release	enhancement	new	has-patch	2010-08-02T22:02:54Z	2012-09-18T17:24:15Z	"With the deprication of get_blog_list (and the dire warnings), we had a need for a function to retrieve a list of blogs. At first blush, it appears that one could use get_blogs_of_user. It seems to assume that the same admin (userid 1) is going to create all sites. If you have multiple network_admins, then a search for a single user's sites won't return a full list.

So I have adapted the code from wp-admin/ms-sites.php and with a nod to wp_list_pages - am submitting wp_get_sites for a future release.

This function accepts an argument list to filter the results, modify the order, and limit the range of results. I wrote it with an eye to provide an interface consistent with other wp functions, as well as potentially replacing the sql query in wp-admin/ms-sites.php.

The initial set of arguments include:
{{{
			'include_id' 		,				// includes only these sites in the results, comma-delimited
			'exclude_id' 		,				// excludes these sites from the results, comma-delimted
			'blogname_like' 	,				// domain or path is like this value
			'ip_like'			,				// Match IP address
			'reg_date_since'	,				// sites registered since (accepts pretty much any valid date like tomorrow, today, 5/12/2009, etc.)
			'reg_date_before'	,				// sites registered before
			'include_user_id'	,				// only sites owned by these users, comma-delimited
			'exclude_user_id'	,				// don't include sites owned by these users, comma-delimited
			'include_spam'		=> false,		// Include sites marked as ""spam""
			'include_deleted'	=> false,		// Include deleted sites
			'include_archived'	=> false,		// Include archived sites
			'include_mature'	=> false,		// Included blogs marked as mature
			'public_only'		=> true,		// Include only blogs marked as public
			'sort_column'		=> 'registered',// or registered, last_updated, blogname, site_id
			'order'				=> 'asc',		// or desc
			'limit_results'		,				// return this many results
			'start'				,				// return results starting with this item
}}}
The usual warning are provided. It works for me but I haven't tested it completely yet. But I am assuming this could be helpful to others and I have no doubt about getting comments back <grin>"	transom
Noteworthy	14215	MultiSite: Add new > different username from blog title		Multisite	3.0	normal	normal	1	Future Release	feature request	new		2010-07-06T18:09:37Z	2010-10-28T06:38:44Z	"I would like to request that the current system for adding a new blog site be expanded so that as admins, we can specify a different username that's unrelated to the blog title. That is, in '''Site Admin -> Add New''', at the bottom of the page, add a new field specifically for the username. For that matter, it would be useful to also have a field to be able to specify the password, and perhaps a little checkbox that allows you to optionally prevent an email from being sent. These features are really useful when you're manually adding sites for employees, students, and the such.

I had provided a fix for wpmu 2.8.4 at one point (with a better explanation and details), you can see the thread here: http://mu.wordpress.org/forums/topic/12945

An example of the final result: http://img696.imageshack.us/img696/2551/addblogwordpress.png"	Person
Noteworthy	14983	Get cache object by field		Performance		normal	normal	1	Future Release	enhancement	new		2010-09-28T08:12:24Z	2011-02-24T00:20:44Z	"Functions such as `get_term_by()` don't check the object cache before performing their query. We should introduce a function for getting a cache object by its field/value pair to make these more efficient.

I've written a simple function, `get_cache_object_by()`, which accepts `$field` and `$value` parameters in the same way `get_term_by()` does, and an optional `$group` parameter for the cache group.

`get_term_by()` and other `get_*_by()` functions could check the cache with this function before performing their query.

The function is compatible with external object cache plugins that use the `cache` member variable of the `$wp_object_cache` object, as they should.
"	johnbillion
Noteworthy	11585	WordPress should cache failed feed fetches so as to avoid overloading feed sources		Performance	2.9	normal	normal	1	Future Release	enhancement	new		2009-12-24T02:25:17Z	2010-03-01T16:41:13Z	"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
Noteworthy	15805	get_page_by_title() lacks caching		Performance	3.1	normal	normal	1	Future Release	enhancement	new	has-patch	2010-12-13T21:25:18Z	2011-01-13T07:25:17Z	`get_page_by_title()` always does a database query. It should use the object cache.	Viper007Bond
Noteworthy	9825	Enforce permalink history, outright		Permalinks	2.8	normal	normal	1	Future Release	enhancement	assigned	dev-feedback	2009-05-15T01:06:37Z	2011-02-16T12:02:57Z	"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
Noteworthy	15249	Filtering get_search_sql for advanced queries		Plugins	3.1	normal	normal	1	Future Release	enhancement	assigned	dev-feedback	2010-10-29T07:00:35Z	2012-09-13T18:06:56Z	"Currently in the code for 3.1 (trunk) there are no filters running on the new function get_search_sql which would be useful for plugins to perform more complex MySQL functionality on specific columns.

I suggest adding a filter ;)"	sc0ttkclark
Noteworthy	15250	Filtering get_tax_sql for advanced queries		Plugins	3.1	normal	normal	1	Future Release	enhancement	assigned	dev-feedback	2010-10-29T07:00:40Z	2012-09-13T18:13:54Z	"Currently in the code for 3.1 (trunk) there are no filters running on the new function get_tax_sql which would be useful for plugins to perform more complex MySQL functionality on specific columns.

I suggest adding a filter ;)"	sc0ttkclark
Noteworthy	14994	Introduce a way to identify a hook in progress		Plugins		normal	normal	1	Future Release	enhancement	new	has-patch	2010-09-30T11:22:32Z	2012-08-29T23:36:06Z	"We have did_action() and current_filter() but I've come across a use case for a hybrid of sorts, doing_action().

Problem is, did_action() returns true the moment the hook is fired. Thus if you need to wait until after the hook is done executing, you need to also check current_filter(). The problem arises when there was another hook called since thne, because current_filter() does not traverse back up the stack.

I considered adding an argument to either of the two other functions mentioned, but I think a new function makes the most sense. did_action() only works for actions. While current_filter() works for all hooks, it does one thing and that is to return the current hook. A new function makes the most sense here.

doing_action() might not be the best name because did_action() only works for actions, but this would work for filters as well. At that point, I might recommend doing_hook().

{{{
function doing_action( $action ) {
   global $wp_current_filter;
   return in_array( $action, $'wp_current_filter );
}
}}}

The use case was that a plugin was applying the_content on wp_head. That was messing with my footnotes plugin. So I needed to make sure I had completely processed wp_head first, but there was no way to do that. Now I would be able to check `if ( did_action('wp_head') && ! doing_action('wp_head') )`."	nacin
Noteworthy	13522	Add 'description' setting for thumbnails/featured image and show that text in metabox		Post Thumbnails		normal	normal	1	Future Release	enhancement	new		2010-05-24T17:45:36Z	2010-10-28T09:33:14Z	"== Problem: Featured Image Metabox is Confusing ==

Currently the featured image metabox is very sparse and does not explain what will happen with the image at all. This can be confusing for users who didn't create their own theme, especially if multiple image sizes will be used and created, since they only see one size and might not check all parts of the theme after publishing. 

This is relevant both to simple sites where the admin is installing 3rd party themes they are unfamiliar with and enterprise sites with lots of users who haven't necessarily been trained to know exactly what the featured images will be used for.

== Solution: Let themers display a description ==

[[Image(http://simianuprising.com/wp-content/uploads/2010/05/wp-trac-featured-image-description.png)]]

Somewhere in the images/thumbnails API themers need the ability to add a description of how featured images are used in the theme so that this text can be shown in the Featured Image metabox. That way they could explain complex situations (or simple ones). 

Examples:

 * The featured image will be shown on archives next to the optional excerpt of posts.

 * 3 different sizes of featured image will be used: 50px - shown next to the post title in sidebar headlines. 150px - shown next to post excerpts on the homepage and archives. 500px - shown in the slider on the homepage.

And of course, for our favorite new theme, twentyten:
  
 * This image will be used in the header of the site behind the site title when viewing this article.

Allowing these labels will give themers as much flexibility as they need for explaining the system within the UI and will sidestep a lot of other issues with the thumbnails system and its lack of communication about thumbnail sizes and uses. I think almost any scenario could be summarized here and in almost any non-standard scenario having this text available will have a positive effect on thumbnail quality.

This situation is very similar to #11157 which added descriptions to sidebars. When these APIs are used on complex sites the developers need a chance to communicate directly with users to explain how the data entered will behave.

== Technical solution ==

I'm not sure what they best way to do this technically would be. The featured images system isn't well set up to handle metadata like this unfortunately. Ideally it would accept sets of parameters the way register_sidebar() does, but add_image_size() instead uses straight up arguments. 

If nothing else the simplest solution might be to add a new function that applies globally to the post thumbnail system, something like 

{{{
set_post_thumbnail_description($text);
}}}

Alternately we could add another argument to set_post_thumbnail_size:

{{{
set_post_thumbnail_size( $width, $height, $description );
}}}

Ideally the label and all other metadata should be set using the main call that turns on the feature, add_theme_support(), but that function is pretty basic and has no intelligence about the features themselves. Not sure why the thumbnails system is set up this way at all rather than having the on/off switch be the same as the function used to define how the feature will actually work. 

The naming for this solution is frustrated by the more general situation of naming for 'Featured Images', who's label was changed without any changes to the function names, as discussed in #12554. IMHO an overhaul of the entire API is in order that would incorporate this ticket and solve other problems in the process.

== Interim Solution Until this is implemented ==

If you want this effect without waiting for the api to change it can be done very easily with a couple lines of jQuery to insert the text in the metabox. This solution is or course '''not futureproof'''. Add the following in the admin somewhere (like admin_footer action hook:
{{{
jQuery(document).ready(function($) {
	$('#postimagediv .inside').prepend('<p>DESCRIPTION TEXT</p>');
});
}}}

"	jeremyclarke
Noteworthy	11993	Add post thumbnail from url		Post Thumbnails	2.9.1	normal	normal	1	Future Release	enhancement	new		2010-01-24T22:32:59Z	2012-05-12T21:13:18Z	"If you got add a post thumbnail in 2.9, and use the ""From URL"" option, there is no link to set the image specified as the thumbnail. You can only put it in the post."	paradox460
Noteworthy	11692	"Add post-tumbnail to the main ""Posts Edit SubPanel"""		Post Thumbnails	2.9	normal	major	1	Future Release	enhancement	new		2010-01-02T16:58:29Z	2010-10-03T21:04:17Z	"In '''[http://codex.wordpress.org/Media_Library_SubPanel Media Library SubPanel]''' we can see the image/media tumbnail. i want to see the tumbnail from '''[http://codex.wordpress.org/Posts_Edit_SubPanel Posts Edit SubPanel]''' too (or from ""Quick Edit"").

This way, if no tumbnail attached to post, blog owners will see it from the main subpannel rather them from the single post edit.


(bad english, i know. sorry.)"	ramiy
Noteworthy	11571	Provide easy way to return url of thumbnail image		Post Thumbnails	2.9	normal	normal	1	Future Release	enhancement	new	has-patch	2009-12-23T06:01:07Z	2012-03-28T20:56:27Z	I'm sure that there is probably a hack for doing this, but for those who aren't interested in custom functions, etc., I would like a simple built-in function for referencing the thumbnail image url (or a size version of it) without bringing in the predefined image tag. I tried applying a workaround, but it collided with a plug-in I was trying to use, and hacking a pre-2.9 plug-in to use the post plugin has not gone so well because of the image tag that the get_post_thumbnail function returns. 	braindrain
Noteworthy	12235	Display caption with the_post_thumbnail		Post Thumbnails	2.9	normal	normal	1	Future Release	feature request	new		2010-02-15T10:01:13Z	2012-01-16T23:39:44Z	"It seems to me that there could be room for improvement with the_post_thumbnail function. So far, I did not find any way to display the caption below the thumbnail, like we do today with ""normal"" images.

What do you think of the idea of adding an argument for displaying caption text with the thumbnail?

"	hd-J
Noteworthy	12976	Add get_post_content()/get_post_excerpt() and save_postdata()/restore_postdata() for support.		Post Types	3.0	normal	normal	1	Future Release	enhancement	new		2010-04-12T16:05:25Z	2012-09-05T01:54:19Z	"Currently the {{{get_the_content()}}} and {{{get_the_excerpt()}}} functions return the values from the loop but do not allow a Post object to be passed.  These functions in the patch ({{{get_post_content()}}} and {{{get_post_excerpt()}}}) save and then restore the global variables assigned by {{{setup_postdata()}}} so that {{{get_the_content()}}} can be called for a specific post.

The functions to save and restore the postdata are {{{save_postdata()}}} and {{{restore_postdata()}}} respectively, and they simply capture the values of the global variables set in {{{setup_postdata()}}} into an array and then restore them back from the array.

This is the first of a broader patch I hope to supply with functions for {{{get_post_*()}}} and {{{the_post_*()}}} that would each receive as their first parameter a Post object/post ID/post array and as a second an array of {{{$args}}} so that robust code can be written related to posts and so that there will be a set of functions for this with a ''consistent'' set of parameters."	mikeschinkel
Noteworthy	12539	Add hook to create_initial_post_types()		Post Types	3.0	normal	normal	1	Future Release	enhancement	new		2010-03-07T02:51:42Z	2011-12-30T02:29:14Z	"I'd like to propose that create_initial_post_types() in wp-includes/post.php have a filter called 'initial_post_types' (or something else) that will allow a hook to remove default post types and/or modify the attributes of post types before they are registered. I've included a patch to illustrate. The same could be done with the post statues but doing so is a bit more complicated so I didn't implement that in case the core devs hate the idea.

As suggested by dd32 from #9674 I created this new ticket.
"	mikeschinkel
Noteworthy	11330	Empty search takes you to homepage instead of empty search page		Query	2.8.5	low	minor	1	Future Release	defect (bug)	new	has-patch	2009-12-04T21:57:23Z	2013-03-05T19:55:11Z	"1. In the admin tool, if you go to ""Settings->Reading"" then choose ""A static page (select below)"" and choose a page for your ""Front page"" and a different page for your ""Posts page"". 
2. Visit your blog (http://localhost/ in my case) and you will see your static page. 
3. Navigate to your blog (http://localhost/blog/ in my case). 
4. Enter a search string (e.g. ""test"") and click ""Search"". This will take you to the search results page (http://localhost/?s=test in my case). Notice that it is located at the base of your site.
5. Return to your blog, leave the search textbox blank and click ""Search"". This _should_ take you to the search results page but takes you to the _Homepage_ instead (http://localhost/?s= in may case).

IMHO, a blank search string _should_ take you to the search page and state ""No posts found. Try a different search?"" as it does when you enter an invalid search. At the very least, it should take you to the blog page.

The reason it takes you to the homepage is due to how the get_search_form() function in the /wp-includes/general-template.php file creates the Action url for the search form:

{{{
$form = '<form role=""search"" method=""get"" id=""searchform"" action=""' . get_option('home') . '"" >'
}}}



I propose a change in the code that will do the following:
{{{
if(get_option('show_on_front') == 'page'){//if the blog is not the front page
	$searchAction = get_page_link(get_option('page_for_posts'));//get the link to the blog
}else{//if it is the front page
	$searchAction = get_option('home').""/"";//get the link to the home
}

$form = '<form role=""search"" method=""get"" id=""searchform"" action=""' . $searchAction . '"" >
}}}

That way, at the very least, you know the search is landing where it belongs.

This, however, does not _fix_ the issue where a blank search does not land you on the search page. My guess is, wherever it is determined what page is displayed, there is a check for something like:
{{{
if($_REQUEST['s']!=''){
  //if the request var 's' is not blank, this is a search
}
}}}

If that is indeed the case, a simple change of the code to something like this should do the trick:
{{{
if(isset($_REQUEST['s'])){
  //if the request var 's' isset, this is a search
}
}}}"	jacobfogg
Noteworthy	14477	get_pages with child_of only works with uninterrupted hierarchies		Query	3.0	normal	normal	1	Future Release	enhancement	new		2010-07-30T19:00:50Z	2010-11-23T01:36:16Z	"I have a page X with several children and grandchildren. Some of the grandchildren have a certain meta key and value. I now want to fetch all pages under page X that have this meta key. After reading the documentation of ''get_pages'', I expected this to work with a single call of ''get_pages''.

But if I use get_pages like this:
{{{
get_pages('child_of=X&meta_key=A&meta_value=B');
}}}
it returns no pages at all (hierarchical=0 has no effect). It seems that's because ''child_of'' triggers a call of ''get_page_children'' which only returns uninterrupted hierarchies. Since the query returns only some grandchildren and no direct descendants, the function fails. IMHO, that's a bug.
"	vividvisions
Noteworthy	10834	schedule a revision to publish without unpublishing existing content		Revisions		normal	normal	1	Future Release	feature request	new		2009-09-23T20:49:27Z	2010-03-25T04:28:23Z	"Boy, it sure would be swell if I could take an existing post/page, edit the content or add tags/custom terms, and then schedule that revision to be published later, without unpublishing the previous revision.

Other people think it would be cool too... [[BR]]
http://wordpress.org/support/topic/216545 [[BR]]
http://wordpress.org/support/topic/226600 [[BR]]
http://wordpress.org/support/topic/273701 [[BR]]
http://wordpress.org/support/topic/273730 [[BR]]
http://wordpress.org/support/topic/275932 [[BR]]
"	alxndr
Noteworthy	14502	Enable /post-type/taxonomy/term/ permalinks		Rewrite Rules		normal	normal	1	Future Release	enhancement	new		2010-08-01T22:57:29Z	2013-02-07T21:52:30Z	After we get /post-type/ handled (see #13818), it would be nice if we also had /post-type/taxonomy/term/ mapped to ?post_type=post-type&taxonomy=term	scribu
Noteworthy	15694	"Caption Shortcode I/O Intolerant of ""]"" Char"		Shortcodes	3.0.1	normal	normal	1	Future Release	defect (bug)	new		2010-12-05T20:54:31Z	2012-02-27T01:08:01Z	"I've discovered that the ""]"" character can only be used in the media library itself.  If I try to insert an image into a post using a caption like ""[Test Caption]"" then the post editor inserts three double quotes into the HTML attribute, invalidating the page markup.  D:

{{{
[caption id=""attachment_3"" align=""alignnone"" width=""300"" caption=""[Test Caption""]""]
}}}

In testing the output end of things, if I remove the extra double quote directly in MySQL, then the caption is not rendered at all on the post.  This suggests there is more than one error in the code that is causing this problem.  I was able to reproduce these symptoms on both versions I tested, 2.9.2 and 3.0.1."	miqrogroove
Noteworthy	12982	Shortcodes don't allow shortcodes in attributes		Shortcodes	3.0	normal	normal	1	Future Release	feature request	new	needs-unit-tests	2010-04-12T22:31:17Z	2010-04-15T22:16:02Z	"I think that shortcodes should work when used inside attributes of other shortcodes, just like they can work inside the ""$content"" of a shortcode.

Some people says that that isn't supposed to work, but theoretically it is supposed to work when using the ""do_shortcode"" function. It don't work because:

1) ""do_shortcode"" is context free, which it's actually fine by its fastness, although it don't allow stuff like inserting a shortcode inside the content of itself

2) The shortcode regex stops with the first occurrence of a ] in a shortcode, so in this:

{{{[foo bar=""[baz /]""]content[/foo]}}}


it ""outputs"":


{{{[foo bar=""[baz /]}}}


and {{{""]content[/foo]}}} is ignored.

I'm not programmer but I tried to fix it by changing the shortcode regex so it allow anything between quotes or brackets inside the first group of brackets. It sort of works, but also mess the handling of quotes in the rest of the shortcode, so I think something more advanced have to be done to make it work. 

This is somewhat related to another shortcode tickets, but none of them addresses nor solves this specifically."	Atoon
Noteworthy	14399	get_term_children doesn't call clean_term_cache() if necessary		Taxonomy	3.0	normal	normal	1	Future Release	defect (bug)	reopened		2010-07-23T13:32:11Z	2011-01-15T02:01:34Z	"1. Create a taxonomy on something 'non standard'[[BR]]

2. Create a (parent) term.[[BR]]

3. Create a child term. [[BR]]

4. Retrieve child terms of the parent term using, amongst others, get_term_children().

Roughly:

{{{
register_taxonomy( 'where-you-live', 'user', array('hierarchical' => true,  'show_ui' => true, 'query_var' => true, 'label' => __('Where they live')) );

$country = 'USA';
$state   = 'New York';

$tax_country = wp_insert_term($country,  'where-you-live');
$country_term_id = $tax_country['term_id'];
wp_insert_term($state, 'where-you-live', array('parent'=>$country_term_id));

$state_terms = get_child_terms($country_term_id, 'where-you-live');
error_log(print_r($state_terms,1));
}}}

I am expecting an array containing the 'New York' child term, but I get nothing.[[BR]]
Have also tried get_terms() with child_of or parent args, which also fail (presumably for the same reason?)."	miradev
Noteworthy	14343	user_can_access_admin_page not recognising taxonomies		Taxonomy	3.0	normal	normal	1	Future Release	defect (bug)	new	dev-feedback	2010-07-18T08:37:30Z	2010-12-07T23:29:51Z	"Hello,

I have a custom taxonomy with custom capabilities.
The ""edit_customtaxonomy"" cap is removed from all roles.

The problem is that the user is still able to click on each term (in the taxonomy page). 
When each term is clicked, the user goes to the ""Update term"" page and  he is able to click the ""Update"" submit button.

After all, he can't update and get a ""cheatin huh?"" message.

The problem is they should't have access to the update page from the first place.

 "	ClementN
Noteworthy	14691	Allow commas in tag names		Taxonomy	3.0.1	normal	normal	1	Future Release	enhancement	new	needs-unit-tests	2010-08-25T09:51:09Z	2012-06-07T03:56:55Z	"Adding tags to posts via the web interface involves a lot of what boils down to
{{{
explode( ',', join( ',', array( $tag_name, ... ) ) );
}}}
both in PHP and JS.

We settled on commas so we could have tags with spaces in them (see #10320, for example).

It'd be nice if tags (and other taxonomies) could have commas in them, though.  Example use case: normalized locations (""Portland, OR"").  Admittedly, commas in tag names is an edge case.

The attached treats tag inputs as ""real"" CSV strings instead of just exploding by commas.

That way, you can enter:
{{{
hello, ""hello, world""
}}}
in the tags input field and the following tags would be added to the post.
 * hello
 * hello, world

This addresses commas in tag names but makes entering double quotes in tag names more annoying.  If you wanted a tag named {{{double""quote}}}, you'd have to enter the following.
{{{
""double""""quote""
}}}

This may also help with #7897."	mdawaffe
Noteworthy	11576	The future of the 'uncategorized' category		Taxonomy	2.9	normal	normal	1	Future Release	enhancement	assigned		2009-12-23T14:32:42Z	2011-04-15T08:44:01Z	"Is there any plan for removing the 'Uncategorized' category, or at least removing its requirement?  Some users want the ability to only show the_category() when the post is part of a real category. Also, with the introduction of custom taxonomies in 2.9, not all hierarchical taxonomies will have a default term, so this flexibility needs to be introduced anyway.  

I'm curious why the default category was introduced in the first place?  Was it solely for permalink handling?

If attachment:ticket:10122:hierarchical_metaboxes-2.patch is accepted (specifically handling hierarchical taxonomies as int) the following just needs to be added above the checkbox list to allow deselecting of all terms from the taxonomy:

{{{
<input type=""hidden"" name=""tax_input[<?php echo $taxonomy?>]"" value="""" /> 
}}}
"	prettyboymp
Noteworthy	14717	Add option to wp_list_categories (and underlying get_terms or whatever) to restrict by post_type.		Taxonomy	3.0.1	normal	normal	1	Future Release	feature request	new		2010-08-27T22:16:56Z	2010-10-28T10:27:53Z	This is so that when someone uses wp_list_categories they can stop categories from showing up that only have elements from custom post types, and thereby creates links to a category archive that contains no posts because everything in the category has a post_type other than post.	Finster
Noteworthy	4711	get_pages and get_posts do not work well with private posts		Template	2.9.1	normal	normal	1	Future Release	defect (bug)	new		2007-08-07T17:41:32Z	2011-02-24T17:15:26Z	"The get_pages function has no way to retrieve private pages.
The get_posts function uses a post_status parameter, meaning that it can retrieve (and potentially display) private posts regardless of the user.

While get_pages() simply lacks a feature, I would argue that get_posts() is defective in that it can display things that it should not be able to display.

Both of these functions need to be updated to use the get_private_posts_cap_sql() function for building the correct post_status query segment.
"	Otto42
Noteworthy	10968	Add container_element arg to wp_page_menu()		Template		normal	normal	1	Future Release	enhancement	new	has-patch	2009-10-17T10:34:58Z	2009-11-20T20:50:58Z	"I have added a new argument to the wp_page_menu template tag so it replaces the container div with another HTML element.

This is useful when migrating to HTML 5 and you want to use the <nav> element."	stebbiv
Noteworthy	10432	Dynamic classes for current blog post item, current term item		Template	3.0.1	low	minor	1	Future Release	enhancement	new		2009-07-17T14:35:33Z	2010-09-03T08:41:50Z	"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
Noteworthy	13691	Make get_template_part() accept multiple template names		Template		normal	normal	1	Future Release	enhancement	new		2010-06-02T03:19:34Z	2010-10-10T21:59:14Z	"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
Noteworthy	14440	Override filter for adjacent_post_link()		Template	3.0	normal	normal	1	Future Release	enhancement	new	reporter-feedback	2010-07-28T04:27:05Z	2010-11-18T10:02:26Z	"I'm working on a plugin that needs to integrate with as many themes as possible. It's basically a plugin for creating portfolios of images. It uses a custom post_type ""piece"" and allows for each piece to have multiple images attached to it. I've created a widget that lists thumbnails for all attached images that link to the attachment page for each one. On the attachment page, I am querying for the parent piece to display the title, content, excerpt, edit link, etc. 

I'm also trying to replace the previous and next links with the values that would be generated for the parent. I've gotten pretty far along when I noticed that adjacent_post_link() is set to display only a previous link when an attachment has been queried. I was wondering if a filter could put put in place somewhere before this conditional is defined. Please see attached file.

Thanks for reading!"	mfields
Noteworthy	12033	Parent  template tags		Template	3.0	normal	normal	1	Future Release	enhancement	new		2010-01-26T01:25:49Z	2010-02-18T10:56:04Z	"Can you add to core template tags as:

Title and link of parent page

parent-page-title
parent-page-permalink

Maybe will be good to add also an attributes of titles ""the_title()""to display title by ID
"	Angeloverona
Noteworthy	9232	introduce include_tree parameter to wp_list_pages		Template	2.7.1	normal	normal	1	Future Release	enhancement	new		2009-02-25T16:50:22Z	2010-07-23T15:53:16Z	"to match the excellent exclude_tree parameter, it would be invaluable to have the ability to list one page and have all it's children display as well. At present, there is no way to do this.

We should add a include_tree parameter to the wp_list_pages function. 

This addition would be helpful while creating drop down menus and side bar menus for sub sections of large websites. "	dwenaus
Noteworthy	6939	wp_list_pages() should also lists private pages if the user has capability 'read_private_pages'		Template	2.5.1	normal	normal	1	Future Release	enhancement	new	has-patch	2008-05-08T18:19:29Z	2011-02-24T17:15:57Z	"If the user has the capability ""read_private_pages"" wp_list_pages() don't lists private pages in no way. I've noticed this problem by some comments on my ""Role Manager"" Plugin page.

Two patches are attached to this ticket.

wp_list_pages() gets a new option ""include_private_pages"". The default value is 1 for lists private pages too if the user has the capability ""read_private_pages"".
If private pages should not be listed also if the user has the cap ""read_private_pages"" the syntax is as an example:
wp_list_pages('title_li=<h2>Pages</h2>&include_private_pages=0');

The second patch is for get_pages() - with the same option and default value.

And of course: if a user don't has the cap ""read_private_pages"" private pages are listed in no case :)"	imwebgefunden
Noteworthy	14824	WordPress is not updating Theme option after making a theme a child theme by adding the line 'Template' to the child`s css without refreshing Theem activation		Themes	3.1	normal	normal	1	Future Release	defect (bug)	new		2010-09-09T23:27:35Z	2011-01-13T08:51:36Z	"Situation:

If you have 2 Themes on a 2 sites MultiSite install (each site is using one theme) and want to make one of them a child Theme of the other, you will go to one of them and add the line 'Template: NAME OF THE PARENT THEME' and save it.

After doing so the Child Theme will not inherit any Template Files from the parent until you deactivate/activate the Child Theme again.

Although it says in the ""Themes/Appereance"" section of the Child Themes backend 'CHILD THEME NAME uses templates from PARENT THEME NAME. Changes made to the templates will affect both themes.' even before deactivating/activating the Child Theme.

Looks like the template page might be checking the style.css and not update the option."	drale2k
Noteworthy	10154	"floatting {{feed_image}} in ""wp_list_categories()"""		Themes	2.8	normal	minor	1	Future Release	enhancement	new	has-patch	2009-06-14T08:43:09Z	2010-09-27T19:06:28Z	"Using {{{wp_list_categories('feed_image=rss.gif')}}}  or {{{wp_list_categories('feed=RSS')}}} displayes a list of categories with links to feed.

The problem is, that we can't define who will come first ""cat feed"" or ""feed cat""?

Adding ""feed_location"" parameter may solve this problem.
"	ramiy
Noteworthy	14721	set_theme_mod() needs a filter		Themes	3.0.1	normal	normal	1	Future Release	enhancement	new	has-patch	2010-08-28T17:56:12Z	2013-01-16T20:59:49Z	"'''`set_theme_mod()`''' '''needs a filter'''!!!

'''Background:''' I was answering [http://wordpress.stackexchange.com/questions/972/ this question on WordPress Answers] about how to create a second background option in the admin.  I was able to do so relatively easily except for the fact that the only hook available for swapping the value to save for `set_theme_mod()` is within `get_option()` and `get_option()` has no context for the name of the theme mod so I had to resort to the highly brittle technique of determining what was being saved based on the order it was called. One small change to `/wp-admin/custom-background.php` and it all breaks.

'''Prospective Update:'''
Here's what the filters might look like:

{{{
function set_theme_mod($name, $value) {
	$theme = get_current_theme();

	$mods = get_option(""mods_$theme"");

	$value = apply_filters( ""set_theme_mod"", $value, $name );
	$value = apply_filters( ""set_theme_mod_$name"", $value );
	$mods[$name] = $value;

	update_option(""mods_$theme"", $mods);
	wp_cache_delete(""mods_$theme"", 'options');
}

}}}


I would submit a patch but I always struggle with that. I even asked others to [http://wordpress.stackexchange.com/questions/990/ help me streamline and understand the patching process a bit better]."	mikeschinkel
Noteworthy	11674	Caption Short Codes Don't Work		TinyMCE		normal	critical	1	Future Release	defect (bug)	reopened		2009-12-30T19:07:55Z	2010-08-02T05:44:42Z	"I'm testing 2.9.1-RC1 now.  If I create a post, add a gallery plus a captioned image beneath it, this is what shows up in the HTML editing view:

{{{
<div class=""mceTemp"">

[gallery]

<dl id=""attachment_80"" class=""wp-caption alignnone"" style=""width: 160px;""><dt class=""wp-caption-dt""><a rel=""attachment wp-att-80"" href=""mytestsite/2009/12/test-post-3/wp-exif-bug/""><img class=""size-thumbnail wp-image-80"" title=""This is a supercool test"" src=""mytestsite/wp-content/uploads/2009/12/wp-exif-bug-150x136.jpg"" alt="""" width=""150"" height=""136"" /></a></dt><dd class=""wp-caption-dd"">Caption goes here</dd></dl></div>
}}}"	miqrogroove
Noteworthy	13983	Add Update Network action link after updating		Upgrade/Install	3.0	normal	normal	1	Future Release	enhancement	new		2010-06-18T20:49:58Z	2010-10-28T09:39:56Z	"After updating an installation with MultiSite enabled, one of the following should happen :

(a) There should be an action link to '''Update Network''' as well as or instead of the one to '''Go to Dashboard'''.

(b) The Update Network process should be part of the Update process"	caesarsgrunt
Noteworthy	15738	Automate Security Releases		Upgrade/Install		normal	trivial	1	Future Release	feature request	new	dev-feedback	2010-12-08T21:11:49Z	2012-12-03T23:27:46Z	"When security releases are published, several less tech-savvy users might neglect to update in fear of breaking their site.  In reality, security/maintenance releases don't change the core API and shouldn't break anything*.

We should have an option (disabled by default) that allows these X.X.1-style security updates to happen in the background.  This will keep sites updated and secure and (hopefully) prevent the inevitable ""I wanted to wait to install 3.0.2 and someone hacked my site while I was waiting"" support requests.

The option should be disabled by default, but when users are on the update screen they should see an option to ""install security releases automatically.""

Major releases should always require an explicit action from the user to update the site as they can break themes and plug-ins and could potentially update database schema.

* Except in the rare occasion where a developer hacks core."	ericmann
Noteworthy	8754	Uploading images whose dimensions are greater than the maximum size allowed fail to generate thumbnails and no error/failure message is displayed.		Upload	2.7	normal	normal	1	Future Release	defect (bug)	reopened		2008-12-30T02:50:09Z	2011-08-05T08:31:26Z	"The process of uploading images that have dimensions (physical size) greater than the maximum size allowed by the global setting will fail part way through the process without an error or failure message being displayed.

Example: Uploading a JPEG image with a width of 625 pixels and height of 938 pixels.  This physical size is greater than the maximum size allowed by the default WordPress configuration.

When uploading such an image using the ""Add an Image"" panel the the Flash uploader will stop with the upload progress bar at 100% and displaying ""Crunching…"".  The Browser uploader will return a blank ""Add an Image"" panel display.

In both cases the images are uploaded to the appropriate directory on the server and appear when the post's media gallery is refreshed.  Thumbnail images are not generated for these uploads.  It appears the failure is before or during thumbnail generation.

Note: The maximum image dimension allowed for upload is not the same as the Administration > Setting > Media > Large Size: Max Width and Max Height settings.  In my case these settings are both set at 1024 pixels (above the size of the image I am working with).  It appears this control panel setting only impacts the HTML image tag attributes for posts, so as not to break the visual design with images that are wider than a layout allows.

Now you may ask what is the default maximum dimension for uploaded images.  Unfortunately I cannot find my notes on where exactly the setting is in the WordPress code (it has no Web GUI access that I am aware of).  I had changed this setting once to work around this problem and hoped 2.7 would have fixed the issue.  It is a pain to track down as the location of this setting has changed over time as it moved to different files and functions with each new version of WordPress.

My understanding is that this maximum image dimension setting was set to prevent images over 3 megapixels from being uploaded since those are really big and readers shouldn't have to deal with such images.  This is old thinking from before broadband and photo blogs took off.

See: http://lorelle.wordpress.com/2007/03/28/wordpress-thumbnail-size-limit-hack/

I think the default limit should be raised, but that would be a feature request.  This ticket is to have error messages displayed.

"	DRGDC
Noteworthy	14137	EXIF tag DateTimeDigitized not always present		Upload	3.0	normal	minor	1	Future Release	enhancement	new	has-patch	2010-06-29T00:47:59Z	2011-01-16T03:48:07Z	"Shooting images with my Nokia N900 will only fill in EXIF data for ""DateTimeOriginal"", not the tag ""DateTimeDigitized"" which Wordpress solely uses.

Grabbing data from DateTime and/or DateTimeOriginal would increase the amounts of correct EXIF date data collected when uploading images.

Attaching sample original image from my camera. CLI tool 'exif' when grep:ed with 'Date' outputs the following for the attached image:
{{{
Date and Time       |2010:06:25 15:47:14
Date and Time (origi|2010:06:25 15:47:14
}}}
'exif --list-tags *jpg|grep Date' results in the following (* meaning data exists):
{{{
  0x0132 Date and Time                   *      -      -      -      -   
  0x9003 Date and Time (original)        -      -      *      -      -   
  0x9004 Date and Time (digitized)       -      -      -      -      -  
}}}
wp-admin/includes/image.php has the function which retrieves this metadata."	MMN-o
Noteworthy	12393	Hooks to enable custom login without editing core files		Users	2.9.2	low	normal	1	Future Release	enhancement	new		2010-02-26T21:01:06Z	2010-04-23T18:32:10Z	"One of the basic features of wordpress is to avoid having users edit core files.
It is impossible to properly customise wp-login without manually editing the file directly - not good for upgrades!

Need to make login_header function pluggable or add a do_action hook before the <html....> tag
Need to add a login_footer.

In fact what is required was highlighted in #4478 complete with diff file. This was marked as resolved BUT IT WAS NOT! I agree it might be a duplicate of issue #9682 BUT the underlying issue of being able to overwrite the login-header function WAS **NOT** solved.

(see recent support forum requests #252094  and #333994)

The solution MUST allow a replacement of login header (and even better also a replacement of the </body></html> tags from the switch statement with a login_footer function which could also be overrided - pluggable).

Thanks.

In an ideal world need to re-open #4478 to ensure accurate resolution.

Thanks"	sleepuser
Noteworthy	14644	Administrator should be able to change usernames		Users		normal	normal	1	Awaiting Review	feature request	reopened	dev-feedback	2010-08-19T13:57:38Z	2013-04-14T19:26:57Z	"I can't think of any reason why administrators shouldn't be able to change usernames.

I do this occasionally (via SQL) and find that it causes no problems whatsoever (that I've noticed)."	holizz
Noteworthy	14460	New Permission for no_user_edit so users with edit_users can't edit it		Users	3.0	normal	major	1	Future Release	feature request	new	has-patch	2010-07-29T23:28:18Z	2011-12-24T20:23:31Z	"I recently experienced a problem where I have an administrator role with full access and a site administrator role with most access including the ability add, edit, and delete users. However, I don't want the Site Administrator to be able to delete users of the role Administrator.

The change I'm proposing is a new permission or marker which states that if enabled, this user can't be changed by another user who isn't the same role. If possible, I might try to add the patch myself.

This is a fairly important issue which would is interfering with WordPress' use as a content management system, and the only work around I've found is to edit core file."	brandon.wamboldt
Noteworthy	14376	"admin post.php fails html validation due to use of  ""["" in name/id/for of hidden custom fields"		Validation	3.0	lowest	normal	1	Future Release	defect (bug)	new		2010-07-21T07:37:54Z	2012-12-25T16:11:48Z	"Post.php is causing many many html validation errors due to hidden screen reader text for post meta fields mainly. Not a major problem, but annoying when attempting to validate admin plugin code.

eg:
{{{
<label class='screen-reader-text' for='meta[1957][key]'>Key</label><input name='meta[1957][key]' id='meta[1957][key]' tabindex='6' type='text' size='20' value='_wp_geo_latitude' />

character ""["" is not allowed in the value of attribute ""id""
character ""["" is not allowed in the value of attribute ""for""
}}}
""["" are allowed in the name attribute.  So perhaps one could simply strip them out them for the 'id' and the 'for'?

Other failed validation messages that occur a lot and appear to be wp generated code:
-   ID ""_ajax_nonce"" already defined
-   reference to non-existent ID ""metakeyselect""

"	anmari
Noteworthy	15550	WP_Nav_Menu_Widget needs a filter for args		Widgets	3.1	normal	normal	1	Future Release	enhancement	new		2010-11-23T21:48:57Z	2011-01-13T08:34:07Z	"I have a very common need to change the walker of a menu printed by WP_Nav_Menu_Widget. The only way to do this is by injecting a new walker on the args array.

By so, I propose changing '''default-widgets.php''':

{{{
function widget($args, $instance) {

	// Get menu
	$nav_menu = wp_get_nav_menu_object( $instance['nav_menu'] );

	if ( !$nav_menu )
		return;

	$instance['title'] = apply_filters('widget_title', $instance['title'], $instance, $this->id_base);

	echo $args['before_widget'];

	if ( !empty($instance['title']) )
		echo $args['before_title'] . $instance['title'] . $args['after_title'];

	wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) );

	echo $args['after_widget'];
}
}}}

To:
	
{{{
function widget($args, $instance) {

	// Filter for args
	$args = apply_filters('nav_manu_widget_args', $args);

	// Get menu
	$nav_menu = wp_get_nav_menu_object( $instance['nav_menu'] );

	if ( !$nav_menu )
		return;

	$instance['title'] = apply_filters('widget_title', $instance['title'], $instance, $this->id_base);

	echo $args['before_widget'];

	if ( !empty($instance['title']) )
		echo $args['before_title'] . $instance['title'] . $args['after_title'];

	wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) );

	echo $args['after_widget'];
}
}}}
"	brodock
Noteworthy	15645	Refactor widgets.dev.css		Widgets	3.1	normal	normal	1	Future Release	task (blessed)	new	has-patch	2010-12-02T12:21:33Z	2012-12-24T07:05:58Z	Standard refactor of widgets.dev.css to be much more awesome. See #14770	JohnONolan
Popular	13237	Absense of alots lowers community morale	Alot	Optimization		normal	normal	2	Future Release	enhancement	reviewing	has-patch	2010-05-03T19:27:26Z	2012-09-01T10:53:21Z	We all like WordPress alot.	johnjamesjacoby
Noteworthy	3833	Extra </p> inside blockquote	Archibald Leaurees	Formatting	2.7	normal	normal	1	Future Release	defect (bug)	new	needs-unit-tests	2007-02-21T19:01:26Z	2012-09-10T22:08:20Z	"When using blockquote </p> is inserted directly in front of </blockquote>, making the code invalid XHTML.

Example:
{{{
<blockquote>This is a blockquote</blockquote>
}}}

Gives the following result:
{{{
<blockquote>This is a blockquote</p></blockquote>
}}}

Seems like [http://wordpress.org/support/topic/106474 this forum thread] adresses the same issue in the support forum."	audwan
Very Popular	10976	Add before_content and after_content to widget options	azaozz	Widgets		normal	normal	7	Future Release	enhancement	reopened	dev-feedback	2009-10-19T08:17:10Z	2012-10-01T11:26:58Z	"Hi,

I'd like to request adding a two new parameters to the widget array for easier customization when creating themes.

Parameters are : before_content and after_content (naming can be different)

Basicaly we have now before_widget, after_widget, before_title and after_title and it's working great, but if while creating a theme you'd like to add more complexity to the graphics surrounding widget you have to add more divs etc. to make it work and look great, and if you got some divs or anything else between title and content you got a problem. Sure you can put the code in the after_title and it will work, but what in case if someone will decide to leave the title empty ? Your widget lacks code and your theme messes up.

Please consider it! :)"	newkind
Popular	9841	TinyMCE's kitchen sink button should also hide lines 3 and 4 when present	azaozz	TinyMCE	2.8	normal	minor	2	Future Release	enhancement	new	has-patch	2009-05-16T17:02:55Z	2011-11-14T13:11:17Z	"Currently, adding a button to line 3 or 4 of TinyMCE results in their always being present.

Would it be possible/desirable to make the hide as well?"	Denis-de-Bernardy
Popular	11378	"Add ""Remove"" link to Widget instances which moves them to ""Inactive"" area"	azaozz	Widgets	2.9	low	minor	2	Future Release	defect (bug)	new		2009-12-10T08:53:43Z	2010-03-22T23:21:04Z	"Per comments on #10379, we should have a ""Remove"" link on Widget instances that moves them to the inactive area."	markjaquith
Noteworthy	12009	"Add support for HTML 5 ""async"" and ""defer"" attributes"	azaozz	JavaScript		normal	normal	1	Future Release	enhancement	new	has-patch	2010-01-25T16:40:29Z	2012-10-24T18:55:25Z	"HTML5 supports async and defer attributes on script tags: http://www.w3.org/TR/html5/semantics.html#attr-script-async

Basic usage of these:

- ""async"" scripts get executed asyncronously, as soon as they're loaded. This lets them run without slowing down the page parsing (normally, all page processing stops while the javascript code is executing).

- ""defer"" scripts get deferred from running until page processing is complete. Sorta like jQuery(document).ready() does, except without pre-definitions. Faster, in other words, since it's built into the browser.

Correct usage would dictate that ""libraries"" like jQuery and such would get the async attribute, while bits of code that use the current DOM would get deferred. The defer bit is basically optional though, since most all code that exists uses something like jQuery(document).ready() already, when it's necessary, and so there's not a lot of benefit there.

The just released Firefox 3.6 supports the async attributes, so you can do testing with these immediately. I've noticed a speedup on the wp-admin side of things by using it, but I have not measured this and cannot be sure I'm not imagining it. Still, it does seem like it makes the page appear faster.
"	Otto42
Noteworthy	14459	Rotate Full Size Images on Upload	azaozz	Upload	3.0	normal	normal	1	Future Release	enhancement	reviewing		2010-07-29T23:16:17Z	2013-01-06T08:52:07Z	"It may be worth a revisit to #7042.  Some mobile devices that use WordPress for Android are not capturing images in the correct orientation, instead they are writing the EXIF orientation to the image instead (which is a standard method these days).  In wp-android and other external clients that offer full size image upload, these images will not be rotated correctly upon upload.

Since most mobile users are on the go with no access to the wp-admin area to rotate the images themselves, it would work best if the image was rotated for them automatically.  

Hopefully there's a solution that wouldn't strip the EXIF data, some way to copy the EXIF data before rotating, then save it back again?"	mrroundhill
Noteworthy	11160	Inconsistancies in Naming and Using Sidebar Names and IDs.	azaozz	Widgets	2.9	normal	normal	1	Future Release	defect (bug)	new	needs-unit-tests	2009-11-17T12:58:55Z	2012-11-22T03:18:21Z	"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
Popular	14132	Login widget using wp_login_form(); function	azizur	Widgets	3.1	normal	normal	2	Future Release	enhancement	assigned	has-patch	2010-06-28T18:51:07Z	2011-01-08T22:52:03Z	"In wordpress 3.0 we added the [http://codex.wordpress.org/Function_Reference/wp_login_form wp_login_form();] function.

But if a blog owners don't know PHP he can't  add a login form to his blog.

Adding a widget (that uses this function) will make it easyer for users to do this.
"	ramiy
Popular	7665	Add jQuery UI's datepicker() where applicable	chsxf	Editor	2.7	lowest	minor	4	Future Release	enhancement	assigned	has-patch	2008-09-01T09:32:03Z	2013-05-14T07:48:59Z	"Obviously it'll need some skinning, but it's handy dandy:

http://jqueryui.com/demos/datepicker/

It'd be slick to have that for choosing dates (for example publish dates). We should still allow manual entry though."	Viper007Bond
Popular	9679	Move Plugin/Theme deletion to new WP_Upgrader class	DD32	Upgrade/Install	2.8	normal	normal	2	Future Release	enhancement	new		2009-04-29T08:51:55Z	2009-05-10T21:16:43Z	Expansion off #7875, The plugin/Theme deletions should be also handled by the Upgrader class.	DD32
Noteworthy	10787	Email administrators that an update is available for core|plugins|themes	dd32	Upgrade/Install	2.9	normal	normal	1	Future Release	task (blessed)	reopened	early	2009-09-15T08:44:47Z	2012-12-03T23:50:09Z	"Inspired by the recent 'email notifications for updates' plugins discussion on wp-hackers/other forums, I'd like to propose the functionality actually be included in core.

I'm thinking of a daily email (Or perhaps, even when WordPress does the update checks) that says along the lines of:

{{{
WordPress would like to notify you that you have 3 updates available:
WordPress 2.9.1
Plugin: Super Plugin 4
Theme: My Theme
}}}

Only email when the updates havn't changed since last email.

Core potential? Or leave it for plugin material?"	dd32
Noteworthy	11694	WP should do sanity checks for paginated posts, pages and comments	dd32*	Template	2.9	normal	major	1	Future Release	defect (bug)	accepted	has-patch	2010-01-02T19:45:15Z	2012-09-14T22:30:15Z	"Create a post with two pages using the <!--nextpage--> tag. Publish, and browse the post's *third* page.

WP should return a 404 here, rather than the last page of the post.

Along the same lines, it should return the correct canonical urls for paginated posts. Currently, rel=canonical will only ever return the post's first page."	Denis-de-Bernardy
Popular	9902	"Adding an ""exclude"" parameter to ""wp_list_authors()"""	ericmann*	Template	2.7.1	normal	normal	3	Future Release	enhancement	accepted	has-patch	2009-05-22T00:23:12Z	2010-08-13T11:19:28Z	"'''wp_list_categories()''' has an ""exclude"" parameter.

'''wp_list_pages()''' has an ""exclude"" and ""exclude_tree"" parameters.

'''wp_list_bookmarks()''' has an ""exclude"" and ""exclude_category"" parameters.

And only '''wp_list_authors()''' has no ""exclude"" parameter. Although it allows template developers to ""exclude_admin"", but this is a Boolean parameter, so we can't use it to exclude other authors.

This enhancement is not a critical one, but adding this feature will give theme developers more tools to control over the presented content."	ramiy
Noteworthy	14134	Menus item are limited to 16 item and will not save more than that	filosofo	Menus	3.0	high	major	1	Future Release	defect (bug)	reviewing	has-patch	2010-06-28T22:50:55Z	2013-04-20T04:36:54Z	"I've installed a fresh copy of the WP 3.0 about 4 days ago. Using default twentyten theme. I modified the menus from the admin panel with new pages and some custom links and hierchy... now everytime I modify the menu and click ""Save Menu"" it only saves the first 16 items listed on the menus. 

The problem is.. I have about 8 main menu with some of them have about 5 or 6 items below it, it cuts off at the 16th item and does not save anything beyond that.

I deleted the first item and added two more at the end, same thing, it only saves the first 16 items on the menus.

I been sturggling on my own to figure this out, did search here and google yet to find a solution..

I am shocked no one else is having this problem. I tried in IE7, IE8, Firefox, Chrome, Safari and Opera - I have the same problem no matter which browser I use.

in function.php I am using
{{{
register_nav_menus( array(
		'primary' => __( 'Primary Navigation', 'MainNav' ),
	) );//-------------------
}}}
and the page I want the nav on has thise code:
{{{
wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) );
}}}

Any help is appriciated..."	jaanfx
Noteworthy	15633	Add class to custom menu item when menu url is found in current page	filosofo	Menus	3.0.2	normal	normal	1	Future Release	enhancement	reviewing		2010-12-01T21:06:41Z	2011-01-15T04:42:44Z	"I found the need to identify custom nav menu items when the page is at a certain URL. For example,

Menu URL: http://mysite.com/wiki/
Page URL: http://mysite.com/wiki/Moose_Attacks

Anything below http://mysite.com/wiki/ is considered to be ""within"" http://mysite.com/wiki/ so I want to add a class to the menu item whenever that happens.

I made a rough patch with the following code, added just below line 381 of wp-includes/nav-menu-template.php in wordpress 3.0.2:


{{{
     if ( strpos($current_url, untrailingslashit($item_url)) == 0 )
          $classes[] = 'current_url_parent';
}}}

This probably brings up other problems, such as other custom menu items having that class, but I hope this can be considered. Thanks

Bradford"	elBradford
Noteworthy	11847	wp_tag_cloud counts terms attached to future posts when used with custom taxonomies	filosofo	Taxonomy	2.9.1	normal	normal	1	Future Release	defect (bug)	reopened		2010-01-09T20:47:18Z	2010-10-29T00:27:24Z	"If you create a custom taxonomy, then attach some terms from that taxonomy to a future scheduled post, attachments attached to a future post, or unattached attachments, they will get counted toward the totals used to draw the tag cloud produced by wp_tag_cloud.

As a result, the sizes of the items in the tag cloud will be wrong, and the tooltips will show the wrong count. In some cases, if a particular term is only attached to future posts, clicking on the link in the tag cloud will result in a 404 because the main $wp_query correctly filters out future posts and unattached attachments when looking at the term's archive.

Correct behavior would be for get_terms to provide an option to filter out future posts and unattached attachments from its results the same as is done when looking at the term's archive."	fwiffo
Popular	12821	Merge get_posts() and get_pages()	garyc40	Post Types	3.0	normal	normal	2	Future Release	enhancement	assigned	has-patch	2010-04-02T21:10:54Z	2012-07-10T01:32:11Z	"get_pages() should wrap get_posts() the same way get_page() wraps get_post(). Arguments of different names need to be retained for back compat.

Reasoning for this includes #14823. Querying a nonhierarchical post type should still be allowed with child_of for example, to allow for cross-type relationships."	mikeschinkel
Noteworthy	15761	Bulk editing on posts without Javascript enabled results in the post being set to draft	garyc40	Administration	2.9	normal	normal	1	Future Release	defect (bug)	assigned		2010-12-10T09:03:35Z	2011-06-09T19:49:56Z	"Currently, Bulk editing is available without JavaScript being enabled.

The result of attempting to edit a post, is a redirect back to the posts page with the post being marked as a draft. No UI is offered for bulk editing.

This behaviour exists in trunk, 3.0, and 2.9 from my testing (havn't tested earlier versions).

The Bulk editing screen appears to work without Javascript for modification submittal, so it's possible that a non-js version would be possible."	dd32
Noteworthy	14578	Default User Role isn't checked against defined roles, causing unexpected resets to Administrator	garyc40	Role/Capability	3.0.1	normal	major	1	3.6	defect (bug)	assigned	has-patch	2010-08-10T10:00:29Z	2013-01-13T23:00:20Z	"Take these steps:

1. Activate a plugin that creates role on activation. For example, it calls ""add_role( 'photo_uploader', 'Photo Uploader', array( 'read') );""[[BR]]
2. In General Settings, set the Default User Role to this new role, 'Photo Uploader'.[[BR]]
3. Deactivate the plugin, removing the roles: ""remove_role( 'photo_uploader');""[[BR]]
4. In General Settings, the Default User Role now displays 'Administrator'. (In the database, it still says 'photo_uploader'.)[[BR]]
5. When creating a new user (as admin), the role dropdown-box now displays 'Administrator' as role for this new user. This new user _will_ have role 'Administrator' if an unsuspecting admin does not explicitly alter the role in the dropdown-box.[[BR]]

This way, an unsuspecting adminstrator might accidentally create new admins for his blog.

I have also tested this for new users registering themselves. Fortunately, they are assigned the role 'None', not 'Administrator'.

Greetings,

Ivo van der Linden[[BR]]
(employee of LaQuSo @ Eindhoven University of Technology)"	Ivolution
Popular	14414	Add an action hook to add fields to nav_menu items form	Gecka*	Menus	3.1	normal	normal	3	Future Release	feature request	accepted	has-patch	2010-07-25T07:25:37Z	2012-03-28T20:45:05Z	"Hello,

In order to add a custom field to a nav menu item form, I have to setup a custom walker whereas a simple action hook could do the trick. Everything else is ok to handle and save the custom field. (http://loxdev.knc.nc/blog/wordpress/auto-populate-nav-menu-with-sub-pages/)

Here is how the asked action hook could be added:
http://github.com/loxK/Wordpress_Gecka_Submenu/blob/master/models/NavMenuHacks.php#L310-312"	DreadLox
Noteworthy	11175	wp_check_invalid_utf8() should drop invalid utf-8 chars only instead of truncating string	hakre	Charset	2.9	normal	normal	1	Future Release	defect (bug)	new	needs-unit-tests	2009-11-18T19:18:43Z	2011-07-13T09:46:51Z	"When you call wp_check_invalid_utf8() with 2nd param set to true, it tries to strip invalid utf-8. Now it removes 1st invalid utf-8 char and all chars after it, no matter if they are correct or not. Additionally it can print following notice:

Notice: iconv() [function.iconv]: Detected an illegal character in input string in .../wp-includes/formatting.php on line 437

Attached patch changes this, so function removes invalid chars only. Additionally it is less configuration-dependent, because it can use either mb_convert_encoding() or iconv()."	sirzooro
Popular	12370	We need a smarter version of wp_title() and a few other template tags	hallsofmontezuma*	Template	3.0	normal	major	3	Future Release	feature request	accepted		2010-02-25T08:47:06Z	2011-09-06T16:22:50Z	"Look at Twenty Ten's `header.php` and the code that is needed to output the `<title>`. That's a bit silly.

I suggest we should have a helper function of some type to replace all of that. A smarter and more sophisticated version of `wp_title()`."	Viper007Bond
Popular	12254	Move show_message() into WP_Error class and add support for various WP_Error features that are missing	jeremyclarke	General		normal	normal	2	Future Release	enhancement	new		2010-02-16T19:31:05Z	2010-11-29T17:38:59Z	"Revisiting an old ticket about the mass upgrader (#11232) after working on my ticket for the Settings API (#11474) makes me think both cases are running into a wider problem related to the way WP_Error messages are handled system-wide. There just isn't a way to show them that fits with the detailed system that exists around logging errors with WP_Error. In both cases having a built-in way to display all messages logged in a WP_Error object would simplify their code and make their use of WP_Error much more logical and less haphazard.

== WP_Error is intense ==
WP_Error objects can have an infinite number of messages logged inside them into $code groups which themselves can even have multiple message values/ 

{{{
 WP_Error::add($code, $message, $data = '')
}}}

You can then retrieve error messages for a specific code using WP_Error::get_error_messages()

== show_message() is weak ==
In contrast to this useful maleability is the show_message() function used by various updater scripts to access WP_Error messages:

{{{
/**
 * {@internal Missing Short Description}}
 *
 * @since unknown
 *
 * @param unknown_type $message
 */
function show_message($message) {
	if( is_wp_error($message) ){
		if( $message->get_error_data() )
			$message = $message->get_error_message() . ': ' . $message->get_error_data();
		else
			$message = $message->get_error_message();
	}
	echo ""<p>$message</p>\n"";
}
}}}

Living in misc.php, this is clearly not the most loved function in WordPress, but beyond its lack of documentation and arguments it also actually doesn't make sense when combined with the nature of WP_Error, and I'd argue that it should be a first-class citizen of the WP_Error API. 

=== Deal with the input as WP_Error class by default === 
For one thing its argument is named $message, which is a misnomer since it also supports complex WP_Error objects. I think it should be called $error and it should attempt to handle the error object in as much detail as possible. If this function is given a string instead of an error_object it should just show the text with the default formatting. 

=== Move it into the class defintion ===
The function logic should also be moved to be inside WP_Error as ::show_message() as well as maybe adding a ::show_messages() to differentiate between forcing the first message in the object and showing any relevant messages. The original function can be kept as a shell for the class method. 

=== Support $code and $data better ===
The updated function should allow $code values to be specified to show only messages related to a specific error $code (from WP_Error::add()) as well as some kind of option specifying whether the contents of the $data value for the results should be displayed.

=== Add support for 'types' of errors for display purposes ===
To really have valuable visual cues linked with error display the system needs to be adapted to handle error types like 'error', 'updated' and something green like 'success'. Having this be part of hte API would increase the likelihood of people using the system because it will make it easier to quickly add visual errors to a plugin. IMHO the easiest way to achieve this would be to link 'types' with CSS classes expected to exist in wp-admin. 'updated' and 'error' classes already exist, yellow and red respectively, and can be a starting point. This way marking an error as 'error' or 'updated' automatically controls the color it will be when show_messages() is run. 

This would probably require modifying the WP_Error::wp_error() and WP_Error::add() methods to accept a 4th argument, but would be a great step forward. 

=== Use nice formatting ===
I think the formatting should be the same as the 'settings updated' message from after you save a settings page. It is malleable and stands out in the admin:
{{{
<div class=""updated fade""><p><strong> MESSAGE </strong></p></div>
}}}


== Lets make showing errors easy ==
Even though these functionalities aren't needed for the current uses of show_message() in the upgrader process I think they will inform and improve those systems when the changes are taken into account. WP_Error is fairly powerful but not used enough because it is incomplete and awkward. Improving show_message() to fill this hole will mature the API and hopefully get plugin authors using it in more detail. It would definitely make integrating WP_Error into the Settings API much easier. 

== Thoughts on this before I make a patch? ==

I'll try to work on this soon but am interested in feedback. Anyone had this idea before and ran into a wall? Something else you think should be included?"	jeremyclarke
Popular	8911	Use $WP_User as the standard unit of user information	jeremyclarke	Users		normal	normal	2	Future Release	feature request	new		2009-01-21T19:51:14Z	2011-08-04T23:15:43Z	"Right now much of the core code and most plugins use the old get_userdata() function to fetch information about users. This works okay for most cases but fails to take advantage of the new $WP_User object type. Using the objects makes the user information much more powerful because you can immediately call methods like $user->has_cap('edit_posts') without messing around. It also just makes sense, and not using the pretty object is silly.

In some places, like edit-user.php, where more functionality is needed there are functions like get_user_to_edit() that make use of the $WP_User object. I think that WP should clearly move towards always using the modeled object version rather than the straight db version in all places, and encourage plugin authors to do the same. 

Luckily the $WP_User wrapper uses get_userinfo to fetch its data and rewrites all the elements into its first level, so effectively the resulting object from $WP_User has all the same data as get_userinfo() and thus deprecates perfectly in all situations. 

My proposal would be to create a new wrapper function to be used instead of get_userinfo():


{{{
get_user($id, $name = '')
}}}


This would just initiate the object and return it, similar to get_post. It's also fits much better in the overall naming conventions of wp with friends like get_term. 

If possible, it might also be good to move the actual database sql from the get_userdata() function into the $WP_User object definition somewhere, that way its all in one place. Looking at it now it also seems like the whole _fill_user() function thing could be done more elegantly to explain itself and the cache better. [problem: pluggable.php has get_userdata(), which complicates things]

Finally, since get_userdata() currently calls _fill_user() every time then fetches all meta_value/key's for the user, wouldn't it be faster to make just one db call that fetches the row from wp_users AND the values from the usermeta table? If you are checking 30 users on your page for some reason (say, a twitter style list of your authors in the sidebar) that would save 30 database connections, which makes a difference no matter what! 

[probably should be in another ticket, but it would also be great to have access to a global function get_users() that fetched a set of users (say, active ones or a specific role) all at once based on criteria like get_terms() or get_posts(), it would save time if you are getting many users and if it added them all to the cache after fetching it would probably be a lot faster than checking each user individually]

I'm very interested in feedback. I'll try to work on a patch at some point soon (mental note: before 2.8 feature freeze)"	jeremyclarke
Noteworthy	9296	Settings API & Permalink Settings Page Bug	jfarthing84	Administration	2.7.1	normal	major	1	Future Release	defect (bug)	reopened	has-patch	2009-03-07T05:33:55Z	2013-04-22T20:58:19Z	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
Noteworthy	4539	Abbreviated year followed by punctuation or markup doesn't texturize	jmstacey	Formatting	2.5	low	normal	1	Future Release	defect (bug)	reopened	has-patch	2007-06-26T03:36:36Z	2012-12-17T14:49:10Z	"An abbreviated year followed by punctuation or markup doesn't texturize properly.

e.g. (Bruce Sterling, '97) is texturized as (Bruce Sterling, &#8216;97) when the apostrophe should be texturized as &#8217;

e.g. <li>Casino Royale '06</li> is texturized as <li>Casino Royale, &#8216;06</li> when the apostrophe should be texturized as &#8217;"	pah2
Noteworthy	12738	Notice Helper	john316media*	Plugins		lowest	minor	1	Future Release	feature request	accepted	has-patch	2010-03-28T00:07:58Z	2011-09-09T16:40:52Z	"It would be useful if the next WP release will contain notice helper function in plugins API or somewhere in WP utils.

All plugin developers are often using standard WP admin notices which is simply a line of HTML: 


{{{
<div class=""updated fade""><p>Some message.</p></div>
}}}


I didn't find any function to produce this HTML code so I'm using my own but it's boring to move same function from one plugin to another.

My notice helper code:

{{{
    function html_notice_helper($message, $type = 'updated', $echo = true) {

        $text = '<div class=""' . $type . ' fade""><p>' . $message . '</p></div>';

        if($echo) echo $text;

        return $text;
    }
}}}

"	andddd
Noteworthy	12563	New action on body open	joostdevalk	Themes	3.1	normal	normal	1	Future Release	enhancement	new	close	2010-03-09T08:33:46Z	2012-08-30T12:27:15Z	More and more asynchronous javascripts need a part of their javascript printed right after the opening <body> tag, the Google Analytics asynchronous tracking being my most obvious example. To allow for this themes should come with a new function in the same fashion as wp_head and wp_footer, to be called 'body_open'.	joostdevalk
Popular	14966	QuickPress should be a function with alot of hooks	jorbin*	General		normal	normal	2	Future Release	feature request	accepted	early	2010-09-26T18:12:17Z	2013-02-09T04:20:38Z	"As discussed in IRC, quickpress should be a function that is usable by:

1) Custom Post Types
2) Themes for front end posting ala p2
"	jorbin
Popular	8599	Multiple custom image sizes with retroactive image reprocessing	leogermani	Media	2.8.4	normal	normal	5	Future Release	feature request	reviewing	dev-feedback	2008-12-13T09:16:39Z	2013-03-28T11:17:45Z	You should be able to add multiple custom image sizes. And whenever you change or add a size, WordPress should offer to retroactively create images of that size for all your old uploads.	markjaquith
Noteworthy	10690	WordPress does not support  non-ascii characters in URLs	markjaquith	Canonical	2.8.4	normal	normal	1	Awaiting Review	defect (bug)	reopened		2009-08-26T18:26:13Z	2013-03-08T20:31:45Z	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
Noteworthy	4298	wpautop bugs	markjaquith*	Formatting	2.7	low	minor	1	Future Release	defect (bug)	accepted	dev-feedback	2007-05-19T22:14:10Z	2010-04-04T06:42:21Z	"wpautop should at least ignore multiline html tags, and possibly ignore any area enclosed within html.

{{{
<table
 style=""width: 120px; height: 92px; text-align: left; margin-left: auto; margin-right: auto;""
 border=""1"" cellpadding=""7"" cellspacing=""2"">
  <tbody>
    <tr>
      <td><small><small style=""font-family: Arial;"">Once
I saw it here, I instantly knew what I wanted. I love my new woven wood
shades.</small></small><br>
      <small><small>- Ginny Good</small></small></td>
    </tr>
  </tbody>
</table>
}}}

gets formatted as:

{{{
<table<br />
 style=""width: 120px; height: 92px; text-align: left; margin-left: auto; margin-right: auto;""<br />
 border=""1"" cellpadding=""7"" cellspacing=""2""><br />
<tbody>
<tr>
<td><small><small style=""font-family: Arial;"">Once<br />
I saw it here, I instantly knew what I wanted. I love my new woven wood<br />
shades.</small></small><br /><br />
      <small><small>- Ginny Good</small></small></td>

</tr>
</tbody>
</table>
}}}

"	Denis-de-Bernardy
Noteworthy	6820	Post image / attachment reparenting	matt	Gallery		low	minor	1	Future Release	enhancement	new	has-patch	2008-04-23T01:24:09Z	2012-12-02T00:00:17Z	You should be able to change the parent of an attachment to attach it to a different post.	matt
Popular	8592	Private Pages not listed in the Parent dropdown	nacin	Administration	2.7	normal	major	5	Future Release	enhancement	reopened	commit	2008-12-12T16:22:24Z	2013-02-28T12:51:59Z	"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
Noteworthy	14305	Display file for localized versions as Drop-in	nacin	General		normal	normal	1	Future Release	enhancement	reviewing	has-patch	2010-07-14T09:08:03Z	2011-03-26T08:37:42Z	Localization teams can use special files (for example cs_CZ.php) to handle special problems. This file should be shown on Plugins page, probably as Drop-in, I guess...	pavelevap
Noteworthy	14877	Ability to create exclusive custom taxonomies	nacin	Taxonomy		normal	minor	1	Future Release	feature request	reviewing	dev-feedback	2010-09-15T14:08:25Z	2012-11-24T20:00:54Z	"Custom taxonomies should have the option of toggling exclusivity, meaning the user should only be able to select one term at a time.

Currently, developers wishing to implement an exclusive custom taxonomy (and thus would prefer radio buttons rather than check boxes on the add/edit post pages) must remove the existing taxonomy meta box completely and build their own, simply to change the input type. This not only duplicates code and development effort, but has the potential to create security vulnerabilities when plugin developers stray from best practices, for example, when recreating the AJAX add term functionality.

Exclusive taxonomies are not uncommon in every day life and are even more common when one thinks about typical custom post type implementations (e.g., students->school year, employee->department, car->color, ice cream->flavor).

While the best implementation is uncertain, I propose the function register_taxonomy accept an optional 'exclusive' argument (similar to 'hierarchical') that would change the check boxes within the taxonomy meta box to radio buttons and would handle the POST accordingly."	benbalter
Noteworthy	14851	Add ¨searchform-{name}.php¨ support	nacin	Template	3.1	normal	normal	1	Future Release	enhancement	reviewing	dev-feedback	2010-09-11T23:54:10Z	2013-03-23T21:10:25Z	"some [http://codex.wordpress.org/Include_Tags include tags] like '''get_header()''', '''get_footer()''' and '''get_sidebar()''' accept ''$name'' parametter to include header-{name}.php,footer-{name}.php and sidebar-{name}.php.

but the search form include tag - '''get_search_form()''' - does not accept ''$name'' parametter. currently it includes only searchform.php.

if this function will accept ''$name'' parametter, it would be easier to include other type search forms. this thecnic is very useful to sites that have several search form formats - for example one in the header, one in sidebar and one for footer. or an advense search form with categry select and post type select boxes to specific pages.
"	ramiy
Noteworthy	10441	Show warning when deprecated hook is registered	nacin*	Plugins		normal	normal	1	Future Release	feature request	accepted	dev-feedback	2009-07-18T14:48:47Z	2013-05-07T14:27:17Z	At this moment WP shows warning when someone tries to use deprecated function or file. It will be good to do the same for deprecated hooks. My suggestion is to do this check in add_action()/add_filter() functions. They should compare hook name against list of deprecated ones and show warning if necessary.	sirzooro
Popular	6425	Support for RTL in feeds	nbachiyski	I18N		normal	normal	2	Awaiting Review	enhancement	assigned	close	2008-03-27T20:56:51Z	2012-02-08T06:07:07Z	"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 {{<div dir=""rtl"">}}} tags inside CDATA or with Unicode directionality characters (for e.g., RLE and PDF, or &#8235; and &#8236;, 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
Noteworthy	11740	Sorting tags and towns does not work well for utf-8	nbachiyski	I18N	2.9	normal	normal	1	Future Release	defect (bug)	new	dev-feedback	2010-01-06T12:42:24Z	2012-09-02T14:25:29Z	"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
Noteworthy	13493	Make the_date() and is_new_day work properly	Otto	Template		normal	normal	1	Future Release	feature request	new	reporter-feedback	2010-05-22T09:14:46Z	2011-10-10T14:16:57Z	"Make the_date() always echo the date, in preference the the historic behavior of only echo'ing once per ""day""


----


Otto's recommendations.

a) fix is_new_day() to actually work.
b) change the_date and such to always display the date.

With that patch, somebody could do this for the ""only on new days"" logic:

if (is_new_day()) the_date();

Anybody who actually needed that new day functionality (rare) could then fix their theme up quite simply with only a minor adjustment.

"	banago
Noteworthy	5235	Add Pre-flight checks to install	pishmishy*	Upgrade/Install		normal	normal	1	Future Release	enhancement	accepted	dev-feedback	2007-10-19T17:37:56Z	2010-01-05T21:10:24Z	"It would be nice for the installer to do some pre-flight checks and warn the users of things that will stop WordPress working (either completely or partially)

Candidates for the pre-flight checks:
 * Functions which may be disabled - See #3014
 * Memory limit #5235
"	westi
Very Popular	12706	Custom post status bugs in the admin	ptahdunbar	Post Types	3.0	normal	normal	6	Future Release	task (blessed)	new	needs-unit-tests	2010-03-25T14:41:39Z	2013-05-10T12:47:01Z	"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
Popular	10141	URL Functions for: login, logout, lostpasword and the new register	ramiy	Plugins	2.8	normal	normal	2	Future Release	feature request	reviewing	has-patch	2009-06-13T16:41:28Z	2010-10-10T00:01:18Z	"I want to finish the work i started on #9932.

First i complited the set of ""wp_*_url()"" functions:

'''wp_login_url($redirect)''' - exists

'''wp_logout_url($redirect)''' - exists

'''wp_lostpassword_url($redirect)''' - exists

'''wp_registration_url($redirect)''' - NEW !!!

Then i examind the '''wp_loginout($redirect)''' function and the '''wp_register( $before = '<li>', $after = '</li>' )''' function.

The old '''wp_register( $before = '<li>', $after = '</li>' )''' was depricated in favor of the new '''wp_registration($redirect)''', and moved to <wp-includes/deprecated.php>.

The new '''wp_registration()''' function uses '''wp_registration_url()''', and like all the functions in this set it accepts only the $redirect parameter.

At the end i fixed <wp-includes/default-widgets.php> and <wp-content/themes/default/sidebar.php> to use the new '''wp_registration()''' function.

(Sorry for the bad english)"	ramiy
Popular	12257	wpdb Scales Badly Due to Unnecessary Copies of All Query Results	ryan	Database		normal	critical	3	Future Release	defect (bug)	reopened	early	2010-02-17T03:08:06Z	2013-03-19T05:19:44Z	"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
Popular	13941	WP_CONTENT_URL should use site_url() to support HTTPS / SSL	ryan	General		normal	normal	3	Future Release	enhancement	new	has-patch	2010-06-17T09:21:15Z	2011-11-11T18:54:44Z	"On HTTPS pages, users sometimes get 'insecure content' warnings from their browser.  This is commonly caused by plugins which use the ''WP_PLUGIN_URL'' constant to get the full plugin directory URL for the sake of loading static content.

The problem is that ''WP_PLUGIN_URL'' will always return the ''siteurl'' (as specified in Settings > General) and thus does not adjust from http:... to https:... when needed.

''WP_PLUGIN_URL'' is dependent on ''WP_CONTENT_URL'', and ''WP_CONTENT_URL'' is derived from ''get_option('siteurl')'', which only returns the ''siteurl'' and does not adjust for HTTPS pages. However, the ''site_url()'' function '''does''' adjust for HTTPS pages.

So, to fully support HTTPS and directives such as ''FORCE_SSL_LOGIN'' and ''FORCE_SSL_ADMIN'', ''WP_CONTENT_URL'' needs to use the ''site_url()'' function as proposed in my riveting one-liner patch.

Related #10198 #9008"	micropat
Popular	11717	Access to automatic database repair/optimize with admin rights	ryan	Database	2.9.1	normal	normal	2	Future Release	enhancement	new	dev-feedback	2010-01-05T07:35:10Z	2012-08-08T08:52:02Z	"Hi,

I read somewhere that the reason for using a constant as enabler for the automatic repairing/optimizing database functionality was, that some people are not able to access their back-end in case certain tables are broken.

Anyway, as db optimization (and not only repairing) is also included in ''/wp-admin/maint/repair.php'', it would be helpful, if we could avoid setting the constant and in addition grant users with the admin role the right to access the functionality.

I've added the necessary two lines and attached a patch to this ticket. - Hopefully this will make it into core, because it would really ease access and increase usability.

My Best,
Berny"	neoxx
Popular	7559	strip_tags() breaks category names with left angle brackets	ryan	Taxonomy	2.6	normal	minor	2	Future Release	defect (bug)	reopened		2008-08-20T22:17:19Z	2010-07-01T17:44:25Z	"If you create a category named ""<something"", the category name doesn't show up on any of the category listings.  If you create a category named ""some<thing"" the category name shows up as ""some""."	squirreling
Popular	5034	Impossible to have duplicate category slugs with different parents	ryan	Taxonomy	2.3	high	normal	2	Future Release	feature request	new	dev-feedback	2007-09-21T19:29:20Z	2013-02-05T04:23:01Z	"I'm using Wordpress as a CMS tool where categories are used as macro level grouping.

Windows XP -> Utilities
Windows Vista -> Utilities

This is no longer possible with WP 2.3, which ignores parent category when testing whether a slug is unique."	snakefoot
Noteworthy	10935	WP_Query and is_day() bug	ryan	Canonical	2.8.4	normal	normal	1	Future Release	defect (bug)	new	commit	2009-10-09T05:05:24Z	2013-05-07T20:31:05Z	"When you configure Wordpress with permalinks such as /%year%/%month% and even /%year%/%month%/%day/ there is
a failure when you request URLs like /2009/10/58, because it's still generating the query to the database
(AND YEAR(wp_posts.post_date)='2009' AND MONTH(wp_posts.post_date)='10' AND DAYOFMONTH(wp_posts.post_date)='58').
Also, is_day() returns true, when it should be returning false.

As adding a post with that date is nearly impossible trough the wordpress admin or the database, no posts will be found, so
Wordpress will show ""No page found"", but with HTTP status 200 OK, not 404 Not Found.

I think it's important to validate the day on the applicacion side, so for some ideas to work correctly under WP
(like take advantage of sticky posts and show all post for the month in day requests), and most importantly to save
those wasted mysql queries.

Of course I could validate the day using a filter, but that is not the general idea!"	raliste
Noteworthy	13310	Extend option_name to varchar(255)	ryan	Database	3.4.2	normal	normal	1	Future Release	enhancement	new	dev-feedback	2010-05-09T13:34:25Z	2012-10-19T09:39:28Z	"option_name is currently set to varchar(64). This raises problems when one tries to use transients with slightly longer names and a timeout:

{{{_transient_timeout_feed_mod_23a137101df6920fbf6047...}}} has 60 chars already."	scribu
Noteworthy	10597	More classes in menu generated using wp_list_pages and wp_page_menu	ryan	Menus		normal	normal	1	Future Release	enhancement	new		2009-08-12T11:17:41Z	2010-03-01T20:46:38Z	"I think that dev team should think about adding more classes to positions generated by wp_list_pages and wp_page_menu as it's very hard to style those menus. I'm thinking about class ""parent"" for every li that contains another ul etc. We got current_page_ancestor and others but they only work if you're on the child ..."	newkind
Noteworthy	8905	Category pagination broken with certain permalink structures	ryan	Permalinks	2.7	normal	normal	1	Future Release	defect (bug)	reopened		2009-01-21T07:26:31Z	2013-01-03T21:37:18Z	"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
Noteworthy	5305	permalinks broken when article name is numeric	ryan	Permalinks	2.3.1	normal	major	1	Future Release	defect (bug)	new		2007-11-01T21:27:54Z	2013-05-09T15:51:24Z	"if you create numeric-only post name, the generated slug is this number - this conflicts with article ID, so it returns different article or 404 page, never the article. It can be then solved by generating manual slug with some char in it, but i think it would be better to include some char in that case, e.g. underscore, like _123

Also if someone will try to solve this, it would be nice to solve other problem - if post slug is begining with the slug of the category, than the category page returns that post, not the category"	thomask
Noteworthy	10483	Change post_name's length from 200 to 400	ryan	Permalinks		low	minor	1	Future Release	enhancement	reopened	dev-feedback	2009-07-25T06:31:52Z	2012-06-18T17:43:31Z	"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
Noteworthy	14825	'Sticky' Posts from excluded category still included in WP_Query results	ryan	Query	3.0.1	normal	major	1	Awaiting Review	defect (bug)	reviewing	dev-feedback	2010-09-10T00:05:55Z	2011-04-20T22:54:20Z	"Hi,

I want to have a list of articles that exclude posts in a category I have called ""Stories."" Some articles in the Stories category are marked as ""sticky"".

{{{
$cat_id = get_cat_id(""Stories"");
$query = new WP_Query(""cat=-{$cat_id}&posts_per_page=10&caller_get_posts=0"");
}}}

However, this still returns articles from the Stories category, but only those that are marked as ""sticky"".

I've taken a look at the source code of wp-includes/query.php, and it seems that what's happening is that it prepends all ""sticky"" posts that were not in the initial query results, regardless of category. (There is only logic implemented that honours the {{{post_type}}}.)

I would appreciate it this bug be addressed and released in an upcoming WordPress release.

Thanks."	newmediarts
Noteworthy	10980	DoS in wp-trackbacks	ryan	Security		normal	normal	1	Future Release	defect (bug)	reopened		2009-10-19T19:25:17Z	2009-10-21T15:42:30Z	"The exploit: http://codes.zerial.org/php/wp-trackbacks_dos.phps

Execution:

$ while /bin/true; do php test.php http://target.bom/wordpress; done
hit!
hit!
hit!
hit!
hit!
hit!
hit!
hit!
hit!
hit!

Notice: fputs(): send of 8192 bytes failed with errno=11 Resource
temporarily unavailable

down!!

Load average: 22.07, 15.18, 8.58 (on target server)

"	gomex
Noteworthy	10230	get_pages function: number and child_of parameters conflict	ryan	Template	2.8	normal	normal	1	Future Release	defect (bug)	new	has-patch	2009-06-21T19:26:29Z	2012-09-11T10:54:52Z	"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
Noteworthy	11387	Walker Widget System	ShaneF*	Widgets		normal	normal	1	Future Release	enhancement	accepted	needs-docs	2009-12-10T16:56:00Z	2011-01-08T19:34:01Z	"This is a new system for Widgets. The design for this system is based on the fact that every theme is different.

Currently the widget system does not care about one theme. It will still output it's own formating structure based on it's design and then bassed on a messy 'register_sidebar' arguments wrap that data inside one another.

The idea behind a Walker Widget system is that instead of the Widget outputing the data, it send it to a Walker where it assigns the relevant information and the theme's ""Widget Design"" class holds how Widget boxes are created based on the values pushed through the walker.

For example in my theme functions.php file:

{{{
class Walker_Widget_Rabbit extends Walker_Widget {

	function start_widget($args, &$output) {
		
		// @todo Updated with the correct vars.
		$output .= do_action('sidebar_before_module', $id);
		$output .= do_action('sidebar_before_module_' . $id);
		
		$output .= sprintf( ""<div id='%s' class='module widget %s'>"", $args['widget_id'], $args['classname'] );
	}
	
	function title_widget($args, &$output) {
		$output .= ""<div class='head'><h3>"" . $args['title'] . ""</h3></div>"";
		/*
		if ((bool) $this->get_option('scrolling') && $scroll['enabled']) { 
			printf(__(""navi: <a id=\""prev_%s\"">prev</a>&nbsp;/&nbsp;<a id=\""next_%s\"">next</a>""), $scroll['key'], $scroll['key']);
		} 
		*/
	}

	function content_widget($args, &$output) {
		$output .= ""<div class='wrap'>"" . $this->content_style($args, $args['output']) . ""</div>"";
	}

	function content_style($args, $output) {
		
		/*
		 * Here I am going to figure out how we are going to wrap most content
		 * and detirme if the information is scrolled information.
		 */

		$style = $args['style'];
		switch ($style) {
			case 'none': 
				$style = $output; 
				break;
			default: 
				$style = ""<ul class='dash-strip'>"" . $output . ""</ul>"";
		}
		return $style;
	}
	
	function content_scroll($args, $area = 'top') {
		//	@todo <div class=""content-scroll-large""> and <div class=""content-scroll"">
	}
	
	function end_widget($args, &$output) {
		$output .= ""</div>"";
		// @todo Updated with the correct vars.
		$output .= do_action('sidebar_after_module', $id);
		$output .= do_action('sidebar_after_module_' . $id);
	}
	
}
}}}

This also allows users to manipulate the data/design even further once they get it from the widget.

I have tested this on the default theme of WordPress with the all 12 of the built in WordPress widgets and they act/look just like if it was hardcoded into the system itself.
"	ShaneF
Popular	12726	Add get_post_by_*() functions	sorich87*	Post Types	3.0	normal	normal	2	Future Release	enhancement	accepted	has-patch	2010-03-27T05:57:13Z	2012-11-28T23:52:48Z	"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
Noteworthy	12945	Constrain wp_page_menu()	technosailor*	General		normal	normal	1	Future Release	defect (bug)	accepted		2010-04-09T19:39:51Z	2010-05-02T18:49:39Z	"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
Popular	7392	Don't create new autosave revision if nothing has changed yet	westi	Autosave	2.6	normal	minor	4	3.6	defect (bug)	reopened	has-patch	2008-07-23T22:03:39Z	2013-05-09T15:22:06Z	"I noticed that simply loading and saving a post creates a new revision. This seems rather dumb to me. Could we not load the post up, compare it with the revision, and not create a whole new revision if nothing changed (ignoring post save time, of course)?

Discuss."	Otto42
Popular	11800	doubled execution of cron jobs	westi	Cron	2.9.1	normal	normal	2	Future Release	defect (bug)	new		2010-01-07T11:17:53Z	2011-06-02T07:18:50Z	"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
Noteworthy	11826	Endless Cron Spawn	westi	Cron	2.9	normal	normal	1	Future Release	defect (bug)	new		2010-01-08T19:09:02Z	2010-12-14T10:00:23Z	"I somehow get it managed to keep such request in memory while they consume CPU all the time. I noticed that first a week ago or so and now I was able to find out some specifics:

{{{
REQUEST_URI /wordpress-trunk/wp-cron.php?doing_wp_cron
REQUEST_METHOD post
}}}

Maybe there is a condition for an endless loop in there?"	hakre
Noteworthy	12333	"Get ""message"" and ""error"" params in wp-login.php"	westi	General	2.9.2	normal	minor	1	Future Release	enhancement	new	reporter-feedback	2010-02-22T14:48:41Z	2012-01-11T11:24:26Z	"It might be useful a parameter like ""redirect_to"" to set $message and $error of login_headers() from the url of wp-login.php."	FiloSottile
Noteworthy	15381	Rework WP_Scripts to support named groups	westi	JavaScript		normal	normal	1	Future Release	enhancement	new		2010-11-10T21:59:49Z	2011-03-22T09:26:12Z	"Currently WP_Scripts has some ""special"" code for splitting things across header and footer and concatenating core scripts.

I would like to change it to support the following:

 * Named Groups - so we can have header, footer, ...
 * L10N awareness - so we can auto output the l10n.js file first if we need it - XRef #15124
 * Concatenation opt-out
 * Concatentaion opt-in for plugins.

I was working on this for #15124 until it became apparent that it wasn't right to do it for 3.1 - not enough time to fully test."	westi
Noteworthy	13548	Settings API to include user options	westi	Plugins	2.7	normal	normal	1	Future Release	enhancement	new		2010-05-26T07:42:52Z	2013-01-03T19:25:19Z	"Hi,

I've reworked all of my plugins to build upon the [http://codex.wordpress.org/Settings_API new Settings API]. The handling and security are great.

As far as I understand, the Settings API can't be used for user options. - What do you think about an extension of {{{ register_setting }}} & Co. to reflect user options?

Greetz,
Berny"	neoxx
Noteworthy	11210	Split wp_new_user_notification() into two functions	westi	Plugins	2.9	normal	normal	1	Future Release	enhancement	new		2009-11-20T22:05:31Z	2010-09-07T19:02:37Z	"`wp_new_user_notification()` sends emails to newly registered user and to admin. One of my plugins ([http://wordpress.org/extend/plugins/wypiekacz/ WyPiekacz]) redefines it in order to to disable emails sent to admin. Now I want to extend my other plugin ([http://wordpress.org/extend/plugins/user-locker/ User Locker]) so newly registered users will have to activate theirs accounts by clicking on link sent in email. In order to do this, I have to redefine the same function. I how to do this so both plugins could work at the same time - this is not a problem for me. 

However it will be better to allow to redefine only part of `wp_new_user_notification()` function - either one which sends email to new user, or to admin. Therefore I ask to split this function into two new ones. Attached patch does this."	sirzooro
Noteworthy	11282	Bizarre Behavior When wp-content Missing	westi	Themes	2.8.4	normal	normal	1	Awaiting Review	defect (bug)	reopened	has-patch	2009-11-29T02:19:13Z	2012-10-23T00:15:18Z	"Steps to reproduce:

1.  Begin and complete a normal installation, but skip or remove the wp-content directory.

2.  Try to view the Dashboard and the Visit Site link.

Expected Result:  WP did not install, wp-content is missing.

Actual Result:  Dashboard is visible, site's front page is not.  In /wp-admin/error_log

PHP Warning:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in /wp-includes/theme.php on line 481"	miqrogroove
Popular	10249	Page slug in cyrillic = Error 404 - Not Found!	westi*	Permalinks	2.7	normal	major	4	Future Release	defect (bug)	accepted	needs-unit-tests	2009-06-23T19:44:34Z	2012-04-27T19:04:18Z	"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
Popular	10543	Incorrect (non-UTF-8) character handling in tag's name and slug	westi*	Charset	2.8.2	normal	normal	2	Future Release	defect (bug)	accepted	needs-unit-tests	2009-08-04T05:26:11Z	2010-11-13T01:15:40Z	"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
Noteworthy	11903	insert_with_markers is not threadsafe	westi*	Permalinks	2.9	normal	major	1	Future Release	defect (bug)	accepted		2010-01-15T06:27:45Z	2013-02-07T21:53:27Z	"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
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
s

}}}

Notice the dangling 's' at the last line"	strings28
Noteworthy	15086	get_template_part() should let you specify a directory	westi*	Themes	3.0	normal	normal	1	Future Release	enhancement	accepted	needs-unit-tests	2010-10-10T21:36:45Z	2013-02-07T21:51:35Z	"IT would be nice for `get_template_part()` to allow you to specify a directory to look for a file in.  Right now you actually *can* do this, but it requires passing a 'slug' to the function like `directory/slug`.  Since everywhere else in the code slugs are sanitized, this seems like an unexpected way to allow this functionality (I didn't realize this worked until @nacin pointed it out).  Since this slug isn't actually sanitized at all, you can currently do `get_template_part( '../../../test' );` which seems rather unsafe (`get_template_part` should be able to include from outside the themes directory).

I suggest sanitizing $slug and adding a third [optional] parameter that allows you to specify the directory to look in.  The directory parameter should be sanitized enough to not allow it to start with a . or a / (although this more likely belongs in `locate_template()` as something done to $template_name inside the foreach).

What does everyone think about this approach?

How many themes do we think are currently using the $slug parameter to specify a directory?

Right now the optional $name parameter is set up as a fall through, so if $slug-$name.php doesn't exist $slug.php is used.  Should $directory be set up similarly ($directory/$slug-$name.php -> $directory/$slug.php -> $slug-$name.php -> $slug.php)?"	aaroncampbell
