__group__,ticket,summary,owner,component,_version,priority,severity,milestone,type,_status,workflow,_created,modified,_description,_reporter
Next Release,39128,"ERROR MESSAGE ""non existing changeset UUID""",,Customize,4.7,normal,normal,4.7.1,defect (bug),new,reporter-feedback,2016-12-07T00:12:58Z,2016-12-08T19:08:12Z,,RomainVB
Future Releases,30279,"""Notification Confirmation"" window when saving a post",,Administration,4.0,normal,normal,Awaiting Review,defect (bug),new,close,2014-11-06T21:35:38Z,2016-01-17T11:22:23Z,"Recently, I found an issue at WP 4.0
In a project there was many Custom Post Types, each one of them for a specific area of the site. The user should publish his posts in respective CPTs, as WP always worked.
But, after the user click at ""Publish/Update"" button, gets as result a ""Notification Confirmation"" browser alert, asking if the user desires to leave or stand at that page. Well, if user press ""leave this page"" button the post all post is going to be saved.
I found what makes that non-sense window runs.
The ""Publish/Update"" button has 3 classes, one of them is ""primary-button"".
In that case, there was a Welcome Panel with a anchor tag, with ""primary-button"" class. When i removed that class, everything worked fine. If i return it, the message will come back.
That's seriously weird!
If a developer wants to use the same styles as ""Publish/Update"" button, he only would need to use the same class, that's a ""principle of html"". However, he will get that problem. For some reason, the publication/update process has something related with the class ""primary-button"", when it already has an id called ""publish"".
This could be changed.
The publication/update process should be related with an unique element of the page, in this case, the id=""publish"". So, developers could use the same style for their buttons in dashboard page, and, wouldn't receive those ""Notification Confirmation"" alerts.
For a dev, that's not a problem. But guess when a normal user, our customers, for example see that message in action. They think their sites aren't working well.",ricardobraz
Future Releases,29161,$pagenow variable not set in admin pages on Windows systems,,Administration,3.9.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2014-08-09T10:59:05Z,2015-06-25T14:27:39Z,"In the most recent version of WordPress:
`vars.php`, starting line 25:
{{{#!php
if ( is_network_admin() )
preg_match('#/wp-admin/network/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches);
elseif ( is_user_admin() )
preg_match('#/wp-admin/user/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches);
else
preg_match('#/wp-admin/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches);
}}}
The ""/"" character does not match the ""\"" character found as the directory separator on Windows systems. This causes various issues throughout the entirety of the administration pages, notably that ""add_meta_box"" ceases to function correctly.
Would recommend it be changed to something like this:
{{{#!php
$ds = preg_quote(DIRECTORY_SEPARATOR);
if ( is_network_admin() )
preg_match('#'.$ds.'wp-admin'.$ds.'network'.$ds.'?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches);
elseif ( is_user_admin() )
preg_match('#'.$ds.'wp-admin'.$ds.'user'.$ds.'?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches);
else
preg_match('#'.$ds.'wp-admin'.$ds.'?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches);
}}}
Thanks for the wonderful software!",Craxic
Future Releases,33531,Admin Dashboard Does Not Remember Layout Preferences,,Administration,4.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-08-24T18:11:55Z,2015-08-24T18:43:57Z,"This is a follow-up to #13424. Since all discussions I found on this were 5 years old, I thought I'd ask afresh. My admin dashboard does not remember my layout preferences. What can I do to remedy this?
My blog: CornerstoneConfessions.com",CornerstoneKat
Future Releases,37148,Links in notification emails appearing as https,,Administration,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-06-22T08:38:31Z,2016-09-09T16:40:18Z,"I have received several notification emails as an Administrator instructing me that Wordpress has been updated to the latest version.
However, all of the links contained within all of the emails output the URL as https://, and not whatever is stated within the Wordpress Site URL setting in General.
This leads to any link that is visited displaying a 'Connection not secure' message, as there is no SSL certificate for that domain name.",leec87
Future Releases,38216,Plugin details modal tabs,,Administration,4.7,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-10-03T09:16:55Z,2016-10-10T10:48:34Z,"The tabs inside the plugin details modal window are 18px high, which conflicts with the previous padding declaration. See the issue in the attached screenshot.
[[Image(https://i.gyazo.com/6d5f4bf5374021657c090465e0ed8a2f.png)]]",butterflymedia
Future Releases,31199,Potential reference to unset variable in get_bulk_actions (WP_Posts_List_Table),,Administration,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-02-01T16:44:14Z,2015-04-06T05:15:00Z,"get_post_type_object can return null in some cases, which causes a notice when current_user_can is called later in the function.
Attached a patch to check if delete_posts is set, and to only add actions if it is. Thanks!",sgrant
Future Releases,34710,Preview for pages and Posts stop with error using SSL,,Administration,4.3.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-11-17T08:43:27Z,2015-12-12T01:26:24Z,"Hi,
I have a new WordPress-Installation, (German language-Pack),
WP-Version: 4.3.1
Theme: TwentyTwelve
If I use the ""preview the changes"" function during Editing an published page or post I receive the message ""Du hast nicht die erforderlichen Rechte, um die Entwurfsvorschau zu sehen."" (insufficient rights to see the Draft-Preview)
User: I tested it with 2 different users, both admins
Plugins: The error occurs even I have deactivated all plugins
The error only occures after the page/post is published,
for a new page (Button ""Preview"" works, Button ""Preview the Changes"" shows the Error)
Installed Plugins:
All in one SEO
Antispam Bee
Backwpup
Digimember
Formbuilder
Limit Attemps
OVM Picture Organizer
Rename wp-login.php
Shareaholic
TinyMCE Advanced
The Apache-Server ist configured, that only SSL-Access is possible
php-Version: 5.4.36
Server API: CGI/FastCGI
Linux/Debian
Tests on current firefox, IE 11, chrome on Windows 7
If you need access to the web pleas let me know.
",RudolfFiedler
Future Releases,38754,"Screen Options in post listing, image checkbox option is trigger in comments checkbox option",,Administration,4.6.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-11-11T10:19:22Z,2016-11-11T10:22:33Z,"In post list, when I check the image option in ""Screen Options"" nothing happen, just if comment is checheck. The imagem and comment is working with the same checkbox!",pesseba
Future Releases,35793,Something Wrong with UI in Administration,,Administration,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-02-10T02:26:04Z,2016-08-10T11:55:47Z,"I'm using 4.4.2 now. And I think that there's something wrong with the UI in administration page.
Look at the sidebar in the image.
I have tried to remove the cache, it works. But it looks as the image shows working after viewing some pages.
",zjhzxhz
Future Releases,30183,Why doesn't WP_List_Table implement column_cb() and column_default() ?,,Administration,4.0,normal,normal,Awaiting Review,defect (bug),new,close,2014-10-29T19:12:30Z,2015-11-27T17:52:01Z,"I know that WP_List_Table is reserved for WordPress core, so I took a copy as suggested. Then I starting writing my own code to use the new class.
I sort of followed the step by step guide in http://wpengineer.com/2426/wp_list_table-a-step-by-step-guide/ but got ahead of it and defined some columns without implementing any logic to display them.
When executed all I got was ""No data received"" (in chrome ).
I was hoping that I might have at least found a ""Fatal error: call to undefined method class::method"" somewhere in my error logs.
Am I doing something terribly wrong?
My workaround is to implement die()ing methods in the parent class.
Is there any reason why the same solution should not be applied to the core code?
",bobbingwide
Future Releases,36663,"Wordpress 4.5 Query Strings Replacing ""."" with ""_""",,Administration,4.5,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-04-25T17:07:37Z,2016-05-07T09:38:40Z,"As of Wordpress 4.5, any query strings using a ""."" will get converted to a ""_"". While i understand that PHP doesn't support a period in a query string value, there are instances where query strings with periods are used by JavaScript and need to be retained. For example, the Webtrends analytics platform uses periods in most of their analytics query string values. For example, they use ""wt.mc_id"", ""wt.z_mce"", and ""wt.dl"".
It appears that changes to 'wp-includes/canonical.php' in 4.5 cause these periods to be visually and functionally converted to underscores when the pages loads. Interestingly, this only happens on pages and not posts.
Can we get the functionality put back the way it was so that the periods are retained, as this update will break Webtrends functionality, as well as any site using JavaScript that expects a period in a query string value?",michael.bucklin
Future Releases,35561,function wp_admin_canonical_url() not using configured site url when constructing canonical url link tag,,Administration,4.4.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-01-21T16:00:36Z,2016-10-24T20:59:15Z,"I was having an issue with the wp_admin_canonical_url() function in wp-admin/includes/misc.php and I have a suggested fix
I am running word press behind a reverse nginx proxy on a different box so my main site is at http://www.rammount.com and the blog is at http://www.rammount.com/blog
The blog url is set in the WordPress configuration. But when you log into the admin section the wp_admin_canonical_url() function does not pick up the configured url instead it constructs the url without the /blog. This of course breaks links in the admin section, constantly redirecting things to http://www.rammount.com without the /blog
by changing the following line:
`$current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );`
to:
`$current_url = set_url_scheme(home_url(add_query_arg(array(),$wp->request)) . $_SERVER['REQUEST_URI']);`
the problem is solved. the proper url is created and as such the links in the admin section that use the canonical url link function correctly.
Hoping to have this change evaluated for inclusion, so that I don't have to remake this edit every time one of my designers updates the WordPress installation?",ilude
Future Releases,28324,Add primary and secondary color definitions to admin color schemes and add function to retrieve color scheme info,,Administration,3.8,normal,normal,Awaiting Review,feature request,new,reporter-feedback,2014-05-21T14:31:36Z,2015-12-03T16:23:14Z,"I'd like to be able to implement a user's selected admin color scheme into my plugin admin UI design but, at this point in time, using wp_admin_css_color() to register a color scheme only asks for an array of colors and then depends on a stylesheet to use said colors so there's no way for me to, at the very least, detect a primary and secondary color to use in my design.
From what I can tell, most color schemes have what they consider to be the primary and secondary color, and they use those colors for primary buttons and admin menu links and such, but there's no way for someone else to detect those color values.
It would also be nice if there was a function to retrieve the color scheme info. Perhaps something like this:
{{{
function get_user_admin_color() {
global $_wp_admin_css_colors;
if ( ( $user_admin_color = get_user_option( 'admin_color' ) )
&& isset( $_wp_admin_css_colors[ $user_admin_color ] ) ) {
return $_wp_admin_css_colors[ $user_admin_color ];
}
return false;
}
}}}
But the big request is changes to the wp_admin_css_color() function so, at the very least, a primary and secondary color can be defined and stored in $_wp_admin_css_colors. Perhaps something like this?
{{{
function wp_admin_css_color( $key, $name, $url, $colors = array(), $icons = array(), $primary_color = NULL, $secondary_color = NULL ) {
global $_wp_admin_css_colors;
// If a primary color is not defined, use first color from $colors array
if ( ! isset( $primary_color ) && count( $colors ) >= 1 )
$primary_color = $colors[0];
// If a secondary color is not defined, use second color from $colors array
if ( ! isset( $secondary_color ) && count( $colors ) >= 2 )
$secondary_color = $colors[1];
if ( ! isset( $_wp_admin_css_colors ) )
$_wp_admin_css_colors = array();
$_wp_admin_css_colors[$key] = (object) array(
'name' => $name,
'url' => $url,
'primary_color' => $primary_color,
'secondary_color => $secondary_color,
'colors' => $colors,
'icon_colors' => $icons,
);
}
}}}
",bamadesigner
Future Releases,26806,Add support for custom SHORTINIT handlers,,Bootstrap/Load,3.8,normal,normal,Awaiting Review,enhancement,new,dev-feedback,2014-01-10T14:30:43Z,2016-08-25T21:19:24Z,"I'm building ajax caching for a plugin and need a handler to '''conditionally''' determine whether to continue loading WP (based on whether a cached version exists).
Example handler file: https://gist.github.com/mgibbs189/8345521
The `SHORTINIT` constant along with `wp-load.php` isn't an option because it forces WP to exit early.
Drop-ins like advanced-cache.php, object-cache.php, or db.php won't work because only 1 plugin at a time can use them. I need for my caching to work in combination with these other plugins (e.g. W3 Total Cache)",mgibbs189
Future Releases,33740,Create a new API to standardize application tracing,,Bootstrap/Load,4.4,normal,normal,Awaiting Review,feature request,new,reporter-feedback,2015-09-05T13:10:31Z,2016-10-21T18:57:08Z,"Having read #30934 and #28319, I think it's best if I raise a new requirement.
My proposal isn't about logging, it's related to problem determination tracing; the ability to dynamically activate trace logic to help someone to track down a problem.
I have been using my own solution ( a plugin called oik-bwtrace ) for a while now.
There are two dormant APIs that I need to make available at all times, even when tracing is not activated.
Since these functions are currently not available by default I've had to be careful where I use them. To circumvent the problem of trying to use an API which doesn't exist, many of my plugins have dependencies on a base plugin which supplies the dormant APIs.
Life would be a lot simpler if WordPress came with a set of dormant functions which I can rely on to exist.
This proposal is for two trace APIs. It could easily be extended to support logging.
The dormant APIs have the same basic structure
{{{
function dormant_api( easy to use parameters ) {
global $api_set_active;
if ( $api_set_active ) {
lazy_api( easy to use parameters );
}
}
}}}
In this example $api_set_active is just a boolean.
It's set to true when the API logic is activated, false otherwise.
To cater for different levels of tracing ( or logging ) we can either implement the test in the dormant API, or pass it to the lazy_api().
This solution is different from 'pluggable'.
The dormant APIs need to exist, from very early on.
The lazy APIs are provided by implementing plugins and should be implemented as pluggable.
The two APIs I really do need are currently called bw_trace2() and bw_backtrace().
I've attached the latest version of my shared library file that defines these APIs and the constants they use.
Assuming that these APIs will be required to trace WordPress core logic I feel that they need to have been defined early on in wp-settings.php
I therefore propose a new file called dormant.php which can, if the developer so wishes, be included in wp-config.php but would otherwise be loaded in wp-settings.php before load.php.
Note: It's the implementing plugin's responsibility to know when it's safe to do things.
In my implementation of a hook for the 'all' action I've used multiple strategies which involve loading my APIs in wp-config.php before wp-settings.php, using a Must-Use plugin to be able to record most hooks, but requiring a custom db.php to be able to capture everything. I can't do it before db.php since add_action()'s not available until then.
",bobbingwide
Future Releases,33580,Having xdebug enabled causes wordpress tests to hang because bootstrap.php calls php directly using system(),,Build/Test Tools,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-08-28T02:07:47Z,2016-03-06T22:22:18Z,"In wp-tests/tests/phpunit/includes/bootstrap.php there is this line:
{{{
system( WP_PHP_BINARY . ' ' . escapeshellarg( dirname( __FILE__ ) . '/install.php' ) . ' ' . escapeshellarg( $config_file_path ) . ' ' . $multisite);
}}}
To reproduce the bug, make sure `xdebug.remote_enable=1` and that xdebug is configured to connect back to your ide (`xdebug.remote_connect_back=1` `xdebug.remote_host=x.x.x.x`).
When this system line is called from phpunit and you have xdebug listening in your IDE (I use PHPStorm), phpunit will hang.
I'm not sure what happens internally with xdebug to cause this, its possible that the php process spawned by system() conflicts with the previous one. You only get the error if the IDE is listening.
To fix this issue, I've made a simple change locally, updating the system call to:
{{{
system( WP_PHP_BINARY . ' -d xdebug.remote_enable=0' . escapeshellarg( dirname( __FILE__ ) . '/install.php' ) . ' ' . escapeshellarg( $config_file_path ) . ' ' . $multisite);
}}}
This disables xdebug in the process spawned by system(). I can have xdebug enabled and I get no errors and set breakpoints in my tests.
Should I make a patch with my fix or does someone have a better way?",aussieguy123
Future Releases,36646,"Tests failing with MySQL versions greater than 5.6.17, possibility to do with transactions?",,Build/Test Tools,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-04-23T00:04:52Z,2016-06-14T12:10:26Z,"It appears that our test-suite leveraging WP_UnitTest cases are failing when MySQL is upgraded to a version greater than 5.6.17.
It's known to be failing on 5.7.11, as well as 5.6.2X. After some debugging it seems that this has to do with transactions not properly being handled, so if we interface with the database using WPDB manually, data remains from a previous test, thus breaking our test-suite.
I'm not sure how exactly to debug this, but will to help reproduce and resolve this issue.
All of the WP_UnitTest libraries are fully up to date from trunk.",cookiesowns
Future Releases,38745,Site Branding not shown in theme Twenty Seventen in ubuntu mate / ff 49.0.2 / WordPress 4.7-beta1,,Bundled Theme,4.7,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-11-10T12:41:49Z,2016-11-22T16:31:34Z,"The site branding is missing.
Solution in style.css 3243 add left: 0;
{{{
.has-header-image.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding {
bottom: 0;
padding-top: 0;
left:0;
position: absolute;
width: 100%;
}
}}}
",nanuc
Future Releases,37536,Twenty Fifteen: Improve sticky sidebar logic.,,Bundled Theme,4.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-08-01T10:46:50Z,2016-10-09T15:02:32Z,"The current logic in TwentyFifteen (#30366) for making the sidebar sticky while still allowing to scroll through it when the sidebar height is larger than the viewport height is flawed and massively overcomplicated.
This results in buggy behaviour when third-party code (in plugins) add body padding, for example.
'''Steps to reproduce buggy behavior:'''
{{{#!php
document.body.style.paddingTop = '50px';"";
});
}}}
Basically any plugin that implements admin bar like behavior will cause problems, with the sidebar thinking it has to apply a top offset where it actually doesn't have to do anything.
This can be mitigated by removing the admin bar specific logic and leaving most of the heavy lifting up to the browser. ",DvanKooten
Future Releases,30430,WP_Object_Cache does not properly cache objects nested in arrays,,Cache API,2.0,normal,normal,Awaiting Review,defect (bug),new,needs-unit-tests,2014-11-21T00:17:31Z,2015-03-07T12:55:59Z,"I noticed on a plugin that cached data wasn't coming out the way it was inserted. What was happening is that it was an array of objects. The code would then go and change the original data and the data in the cache is changed. I would expect data retrieved from the cache to be exactly the same as what was inserted.
To make sure there was minimal performance impact I did some tests and the test script is attached. Initially I thought unserialize(serialize($data)) would be a good route, but it was twice as slow as rolling your own solution. I tried numerous methods and the function I initially build was always the fastest.
The transient/option table doesn't have this problem because it calls maybe_serialize.
Another way to fix this would be to call maybe_serialize on the set, and maybe_unserialize on a get but that would spread the cost to both functions and I think it is better to have the set be slightly more expensive than having every set and get take slightly longer.
",jamesgol
Future Releases,31520,wp_cache_get generates fatal error,,Cache API,4.1.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-03-04T08:47:40Z,2016-10-05T13:33:18Z," There are timing issues in WP where some code in plugins, specifically wp super cache, make called to wp_cache_get before $wp_object_cache is initiated.
This generates a fatal error in php and can often send apache crashing.
This only occurs n wp_cache_get() and it seems as if the easiest solution is to check to see if $wp_object_cache is actually initaited and/or an object before calling its get() function.
… at /var/sentora/hostdata/zadmin/public_html/freemaal_in/wp-includes/
cache.php (113)
…at /var/sentora/hostdata/zadmin/public_html/freemaal_in/wp-includes/
option.php (54)
…/public_html/freemaal_in/wp-content/plugins/wp-super-cache/
wp-cache-phase2.php (255)",jatingupta2k
Future Releases,34800,Canonical 301 redirects go to request origin instead of site_url,,Canonical,4.3.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-11-27T11:48:52Z,2015-11-29T12:22:43Z,"I have a problem with canonical redirect using a CDN setup.
Let's say we have an origin server at `origin.example.com`, and the CDN at `www.example.com`.
When I request `https://www.example.com/page-x`, it redirects me to `https://origin.example.com/page-x/` instead of `https://www.example.com/page-x/`, altough both `site_url` and `home_url` are set to `https://www.example.com`.
I suspect that Wordpress doesn't use `site_url` when composing the redirect URL, it's just using the request URL with a trailing slash added (which is in fact `https://origin.example.com/page-x` as the CDN translates the request).
The expected behaviour would be to either:
* use the correct absolute URL in the header, like `Location: + `
* use a relative URL, like `Location: `
I also checked the Redirection plugin, which returns relative URLs in the 301 redirects, and those work fine with my setup.
Thanks for looking into this!
Sevcsik
",sevcsik
Future Releases,36885,"When one uses custom callback function for comment list, ""Reply"" link would not show",,Comments,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-05-19T00:59:34Z,2016-06-14T11:37:20Z,"It took too much time, but found the issue here in wp-includes/comments-template.php in
get_comment_reply_link function. The OR conditions are likely to be true I imagine in many combination of situations although I am not too sure what combination causes bad things to happen.
{{{
if ( 0 == $args['depth'] || $args['max_depth'] <= $args['depth'] ) {
return;
}
}}}
Well and good to check this, but why would the reply as well as login link disappear if any of it is true? Sorry if I am not getting this as I should. ",remedy17
Future Releases,34475,get_comment_link incorrect page number in returned url.,,Comments,4.3.1,normal,normal,Awaiting Review,defect (bug),new,needs-unit-tests,2015-10-28T16:36:42Z,2016-09-27T09:06:44Z,Since 4.3 core update the get_comment_link function returns incorrect page numbers for paginated comments. Have tried using default twentyfifteen theme with no plugins enabled and issue still persists.,Property118
Future Releases,35503,"Dashboard page: comment status in ""Activity"" group box shows incorrect",,Comments,4.4.1,normal,trivial,Awaiting Review,feature request,new,reporter-feedback,2016-01-17T21:54:34Z,2016-01-18T14:33:08Z,"'''STEPS TO REPRODUCE''':
log in (subscriber user), create new comment for post, log in (administrator user), approve comment on Dashboard page using ""Activity"" group box, click ""Approved (1)"", click ""Go back one page"" in browser.
'''EXPECTED RESULT''': comment status - Approved
'''ACTUAL RESULT''': comment status - Unapproved
This problem was found in browsers Firefox 44.0b9, Chrome 47.0.2526.111 m",antonrinas
Future Releases,36770,Enabling FORCE_SSL_ADMIN and FULL SITE breaks wp-cron.php,,Cron API,4.5.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-05-05T21:24:57Z,2016-10-05T21:06:26Z,"Hello,
As in #12609 ages ago, in 4.5.1 I have enabled SSL for whole my website by default including SSL for admin. Noticed that none of the jobs that shall be run through CRON not running, like UpdraftPlus backup, Google Feed for Product refresh etc.",idarek
Future Releases,32306,wp-cron throws 500 errors for SSL enabled sites,,Cron API,4.2.1,normal,critical,Awaiting Review,defect (bug),reopened,reporter-feedback,2015-05-08T07:49:05Z,2016-10-09T11:09:44Z,"I have several WP installs that are throwing 500 error codes when calling wp-cron.php after a pageview. The error is not consistent - it will sometimes return 200, and sometimes 500. All the installs I see this on use SSL with properly signed certs with SNI in use on the server under Apache. Instances on the same server where do not use SSL have not shown this issue at all.
I have managed to reproduce this on a clean WP install running twentyfifteen with no plugins installed so it doesn't appear to be plugin related.
Oddly, I don't get any PHP warnings when it happens (though I've tested that if I force a php script in the same pool to throw an error, it does get captured) - I do get the following recorded in the Apache Virtualhost error log (redacted):
[Fri May 08 08:29:34.479946 2015] [core:error] [pid 13870:tid 140644332824320] [client xxxx:xxxx:x:xx:xxxx:xx:x:x:57492] AH00524: Handler for fastcgi-script returned invalid result code 32
Apache access log (redacted):
xxxx:xxxx:x:xx:xxxx:xx:x:x - - [08/May/2015:08:29:26 +0100] ""POST /wp-cron.php?doing_wp_cron=1431070166.8151741027832031250000 HTTP/1.0"" 500 4066 ""-"" ""WordPress/4.2.2; https://www.domain.com""
System config is as follows:
* Fully patched Debian Jessie running on amd64 arch with kernel 3.16.0
* Webserver: Apache/2.4.10 (Debian), mod_fastcgi/mod_fastcgi-SNAP-0910052141, mod_fcgid/2.3.9, mod_python/3.3.1, Python/2.7.9, OpenSSL/1.0.1k
* MySQL 5.5.43-0+deb7u1
* PHP 5.6.7+dfsg-1 running under PHP-FPM (seen with and without opcache in place)
* Wordpress 4.2.2 fresh install (also seen on 4.2.1) with all plugins removed.
The server listens both on IPv4 and IPv6 - I've tried forcing wp-cron to use IPv4 by setting the hostname in /etc/hosts but that makes no difference.
Refer also to :
https://wordpress.org/support/topic/wp-cron-throwing-500-errors-on-ssl-sites?replies=9",coatesg
Future Releases,36877,Custom Logo default sizing inconsistencies,,Customize,4.5,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-05-18T13:38:04Z,2016-06-14T11:40:53Z,"Per a discussion on #docs with @parsmizban , it appears that default use of
{{{
add_theme_support('custom_logo');
}}}
without extra arguments should pass null values for height and width, and true values for flex width and flex height given wp-includes/theme.php
{{{#!php
case 'custom-logo':
if ( ! is_array( $args ) ) {
$args = array( 0 => array() );
}
$defaults = array(
'width' => null,
'height' => null,
'flex-width' => false,
'flex-height' => false,
'header-text' => '',
);
$args[0] = wp_parse_args( array_intersect_key( $args[0], $defaults ), $defaults );
// Allow full flexibility if no size is specified.
if ( is_null( $args[0]['width'] ) && is_null( $args[0]['height'] ) ) {
$args[0]['flex-width'] = true;
$args[0]['flex-height'] = true;
}
break;
}}}
however, given
/wp-includes/customize/class-wp-customize-cropped-image-control.php
{{{#!php
add_setting('title_align', array(
'default' => 0,
'sanitize_callback' => 'absint'
));
$wp_customize->add_control('title_align', array(
'label' => 'Title alignment',
'settings'=> 'title_align',
'section' => 'content_sidebar_title',
'type' => 'radio',
'choices' => array(
0 => 'Left',
1 => 'Center',
2 => 'Right',
)
));
}}}
I attached an image, how it lookes like.
With javascript I'm changing the settings (values):
{{{
#!javascript
(function($)
{
$(document).ready(function ()
{
var rTSelect = $('input[name=""ready_templates""]');
var api = wp.customize;
rTSelect.click(function()
{
var template = $(this).val();
switch(template)
{
case ""orange"": template_orange(); break;
case ""green"": template_green(); break;
default: template_default(); break;
}
});
var template_default = function() {
api.instance('title_align').set(1); //center
};
var template_orange = function() {
api.instance('title_align').set(0); //left
};
var template_green = function() {
api.instance('title_align').set(2); //right
};
}
});
}}}
Now I select the orange template after the green template was selected and saved, and I see, that the ""Left"" labeled checkbox is not selected. Instead the ""Right"" labeled checkbox what is selected (checked).
It is only visually incorrect, because if I click on the save button, the data is saved correctly.
But, it will be visually correct, only if I reload the customizer page.",katazina
Future Releases,36688,Exit button in customiser only lower third active,,Customize,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-04-27T14:48:58Z,2016-09-19T17:48:41Z,"Once selected from top toolbar or from in appearance menu, Customizer refuses to close. Using the browse back button will close customizer but take you out of admin mode because top admin toolbar is no longer visible. After deactivating all plugins and changing theme to Twenty Thirteen,Fourteen or Fifteen with still the same issue. I reverted back to my Tesseract 2 Theme (updated two days ago) and found. I tried the customiser again. This time i tried swapping view between mobile,tablet and PC to see if that made any change. No change. I tried again but when closing the customise noticed i miss keyed with the mouse only barely into the bottom of the exit box but customiser closed. I then checked it a number more times and found that box was only active in the lower third- below the ""x"".I am only a newby so in depth technical description is not my strong point with wordpress. Is it describes as a mapping problem for that screen location? I an using Windows 7 Ultimate in a Chrome Browser. [[Image([[Image()]])]]",outlaw11wa
Future Releases,39184,Fatal error in child-theme customizer partials,,Customize,4.7,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-12-08T14:34:36Z,2016-12-08T17:58:06Z,"When calling wp_customize::selective_refresh::add_partial without '''render_callback''' attribute, like this:
{{{#!php
selective_refresh->add_partial( 'setting_name', array(
'selector' => '#object-id',
) );
}}}
No error is return, everything works well.
But, when a child theme is created, the customizer crashes with error:
{{{
Fatal error: Cannot unset string offsets in [...]/wp-includes/class-wp-customize-widgets.php on line 1077
}}}
Simply adding a dummy renderer as:
{{{#!php
selective_refresh->add_partial( 'setting_name', array(
'selector' => '#object-id',
'render_callback' => 'return_true',
) );
}}}
make it working every where.
Suggestions:
1. Making the '''render_callback''' attribute mandatory
2. Dealing with a default callback in child themes",bastho
Future Releases,30638,Missing dataType in Customizer Widgets,,Customize,4.0.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2014-12-09T07:32:50Z,2015-02-11T22:45:01Z,"In wp-admin/js/customize-widgets.js line 980 the dataType parameter is missing for jQuery post method.
This results in return value getting read as a string instead of json object.
Scenario: User edits widget via Customize panel, an error gets shown.
'''Suggestion:'''
change
{{{
jqxhr = $.post( wp.ajax.settings.url, data );
}}}
into
{{{
jqxhr = $.post( wp.ajax.settings.url, data, function(){}, 'json' );
}}}",iseqqavoq
Future Releases,31286,Unable to add or use new header images in themes in 4.1,,Customize,4.1,normal,major,Awaiting Review,defect (bug),new,reporter-feedback,2015-02-10T20:39:30Z,2016-04-16T19:57:44Z,"Now that the header image menu has been moved to the customize screen, I am unable to add new header images to any of my sites.
After uploading an image through the Header menu, then pressing ""Select and crop"", there is no way to select or crop the image. If one clicks to go forward without cropping, it does not seem that the image information is set and retrievable through
{{{
get_theme_mod('header_image_data')
}}}
At least, the image is not appearing as the header in my theme. All images uploaded before the upgrade are showing up fine. I have tried this in several themes.
Here are the errors from my logs. They seem to be errors in WP Core:
My site information replaced with [...]
{{{
[Tue Feb 10 11:13:34 2015] [error] PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /home/www/html/library/wp-includes/media.php on line 2043, referer: [...]/wp-admin/customize.php?theme=[..]
[Tue Feb 10 11:13:34 2015] [error] PHP Warning: imageantialias() expects parameter 1 to be resource, boolean given in /home/www/html/library/wp-includes/class-wp-image-editor-gd.php on line 283, referer: [...]/wp-admin/customize.php?theme=[...]
[Tue Feb 10 11:13:34 2015] [error] PHP Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home/www/html/library/wp-includes/class-wp-image-editor-gd.php on line 285, referer: [...]/wp-admin/customize.php?theme=[...]
[Tue Feb 10 11:20:28 2015] [error] PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /home/www/html/library/wp-includes/media.php on line 2043, referer: [...]/wp-admin/customize.php?theme=[...]
[Tue Feb 10 11:20:28 2015] [error] PHP Warning: imageantialias() expects parameter 1 to be resource, boolean given in /home/www/html/library/wp-includes/class-wp-image-editor-gd.php on line 283, referer: [...]/wp-admin/customize.php?theme=[...]
[Tue Feb 10 11:20:28 2015] [error] PHP Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home/www/html/library/wp-includes/class-wp-image-editor-gd.php on line 285, referer: [...]/wp-admin/customize.php?theme=[...]
[Tue Feb 10 14:20:34 2015] [error] PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /home/www/html/library/wp-includes/media.php on line 2043, referer: [...]/wp-admin/customize.php?return=%2Fdisc%2Fwp-admin%2Fthemes.php&autofocus[control]=header_image
[Tue Feb 10 14:20:34 2015] [error] PHP Warning: imageantialias() expects parameter 1 to be resource, boolean given in /home/www/html/library/wp-includes/class-wp-image-editor-gd.php on line 283, referer: [...]/wp-admin/customize.php?return=%2Fdisc%2Fwp-admin%2Fthemes.php&autofocus[control]=header_image
[Tue Feb 10 14:20:34 2015] [error] PHP Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home/www/html/library/wp-includes/class-wp-image-editor-gd.php on line 285, referer: [...]/wp-admin/customize.php?return=%2Fdisc%2Fwp-admin%2Fthemes.php&autofocus[control]=header_image
[Tue Feb 10 14:32:58 2015] [error] PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /home/www/html/library/wp-includes/media.php on line 2043, referer: [...]/wp-admin/customize.php?return=%2Fdisc%2Fwp-admin%2F&autofocus[control]=header_image
[Tue Feb 10 14:32:58 2015] [error] PHP Warning: imageantialias() expects parameter 1 to be resource, boolean given in /home/www/html/library/wp-includes/class-wp-image-editor-gd.php on line 283, referer: [...]/wp-admin/customize.php?return=%2Fdisc%2Fwp-admin%2F&autofocus[control]=header_image
[Tue Feb 10 14:32:58 2015] [error] PHP Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in [..]/wp-includes/class-wp-image-editor-gd.php on line 285, referer: [..]/wp-admin/customize.php?return=%2Fdisc%2Fwp-admin%2F&autofocus[control]=header_image
}}}",ahamelers
Future Releases,37174,class-wp-customize-color-control.php fails when data.defaultValue is empty,,Customize,4.5.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-06-26T09:28:57Z,2016-07-01T13:10:32Z,"When using the visual composer (wp-admin/customize.php) sometimes it simply does not work and throws the error:
{{{
data.defaultValue.substring( 0, 1 ) it's not a function
}}}
I fixed it by replacing:
{{{
public function content_template() {
?>
0)
{
}}}
",andreagobetti
Future Releases,37874,"on my Appearance screen when i click on Customize, Header, Background there was nothing coming",,Customize,4.5.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-08-30T03:09:08Z,2016-09-03T17:59:19Z,"on my Appearance screen when i click on Customize, Header, Background there was nothing coming, for that any solution to solve the problem?",amatakeo
Future Releases,29932,There is no error reporting in the Customizer (for upload failures),,Customize,3.4,normal,normal,Awaiting Review,enhancement,assigned,reporter-feedback,2014-10-11T20:04:15Z,2016-10-09T21:40:53Z,"As far as I know, there is no way to display an error to the user when he/she is using the theme customizer.
An error that I'm facing some time to time when I test WordPress locally is when `wp-content/uploads` is not writable. Then, uploading a new image to use as a background in the customizer does not work, but this fails silently.
This error reporting should be built-in inside `WP_Customize_Control` class so that any control that extends this class can throws a custom error and displays it to the user.
Depends on #35210.",Fab1en
Future Releases,37619,Feature to Insert Child Property In Parent Theme Customizer,,Customize,4.5.3,normal,normal,Awaiting Review,feature request,new,close,2016-08-10T07:37:13Z,2016-08-13T16:41:27Z,"Please Allow possiblity to insert extra properties from child theme to parent theme existing customizer options.
For Ex:
Suppose there is Color Section Created in parent theme
If I want to add extra color options from child theme to same Existing Color section Of parent theme its Not possible at the moment.",footballnasha
Future Releases,38829,Message error posting the username and database name of the WP installation,,Database,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-11-16T16:48:34Z,2016-11-17T08:23:01Z,"Under severe load, MySQL is not responsive and WordPress shows a message ""Can’t select database” showing the username and database name from the wp-config file.
This vulnerability could be leveraged by an attacker to assist in performing a brute force or dictionary attack against the database.
",mailcatala
Future Releases,35560,Use of undefined constant DB_USER - assumed 'DB_USER',,Database,,normal,normal,Awaiting Review,defect (bug),reopened,reporter-feedback,2016-01-21T14:12:40Z,2016-08-03T23:38:41Z,"At my work we work in strict mode where every error needs to be solved.
Even undefined errors will fail the test platform.
In wp-includes/load.php at line 369 it is assumed that DB_USER, DB_PASSWORD, DB_NAME and DB_HOST are defined as constants.
When you don't have a config yet this is not the case.
The solution would be muting the error or defining the constants as null.
# Solution 1, prepend above the ""new wpdb()"":
{{{
if (!defined('DB_USER')) {
define('DB_USER', null);
}
if (!defined('DB_PASSWORD')) {
define('DB_PASSWORD', null);
}
if (!defined('DB_NAME')) {
define('DB_NAME', null);
}
if (!defined('DB_HOST')) {
define('DB_HOST', null);
}
}}}
# Solution 2, modify the ""new wpdb()"" line:
{{{$wpdb = new wpdb( @DB_USER, @DB_PASSWORD, @DB_NAME, @DB_HOST );}}}
Where I would prefer to use solution 1.",mariusvw
Future Releases,35458,current_date returns incorrect timestamp,,Date/Time,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-01-14T15:32:23Z,2016-01-14T16:15:01Z,"'timestamp' functionality appears to be wrong.
current_time('timestamp') should always return the timestamp according to UTC. That's because a timestamp is defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970.
Therefore, producing this offset by x number of hours for local time is incorrect logic. If it's 1,452,598,896 seconds since the start of Unix time, this does not change depending on timezone - the number of seconds is the same (but may instead be displayed differently depending on timezone).
John mentioned this was so it could be used in date functions but when an incorrect timestamp is fed to a date function, it will display the date wrong (as the timestamp has been artificially manipulated).",Turn On Social
Future Releases,35764,#wpfooter position is absolute should be relative,,Editor,,normal,minor,Awaiting Review,defect (bug),new,reporter-feedback,2016-02-06T18:03:27Z,2016-03-23T20:16:05Z,"Hello,
The #wpfooter on the Add New Post and Edit Post page is not staying at the bottom when scrolling. I noticed that it's position set to absolute and when I change it to relative in chrome dev tools it returns to the appropriate place. ",burnsbj
Future Releases,35159,Email addresses with periods in bulleted text truncated upon copy/paste,,Editor,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-12-18T20:08:24Z,2015-12-19T21:04:52Z,"A colleague of mine had recently tried to copy/paste a large Word document into a post using the Visual editor but noticed that many of the email addresses were truncating.
With some testing, I have been able to replicate this with email addresses that are in a list (ul in this case) and with one or more periods in the first half of the email address (i.e. firstname.lastname@). The truncation only appears in the display text, not the underlying html and is cut at the first period, leaving just the lastname@ portion (see screenshots for example).
To test, type a test paragraph or just an email with a period in the mailbox, then a second email with a period in the mailbox name but this time in a bulleted list into a Word document. Copy/paste this into a new post to see the bug.
Unfortunately, I am not an admin on this particular site and so cannot tell you at this time what plugins we have installed but I have asked the admin to get me a list (as well as have his blessing for posting this year, no toes getting stepped on). I will post the plugins as soon as I hear back but I do not believe that we have many installed beyond the defaults. I have asked that the admin update the system and I can test again with the newer version. I will continue to update this note as I find more information.",jiveconsulting
Future Releases,26881,Multiple wp_editor() on one page and link button broken,,Editor,3.8,normal,normal,Awaiting Review,defect (bug),reopened,reporter-feedback,2014-01-20T10:55:17Z,2015-04-26T08:48:38Z,"Hopefully this is enough information. It doesn't appear that anyone else has reported this bug. I've also extensively Googled to see if there a fix but with no luck.
We typically use multiple wp_editor() functions for custom post types as this provides an easier interface for our users.
Unfortunately, it appears with the most recent version of WordPress (3.8) some of the functionality is now broken. This is reported for at least 2 of our websites and we're holding off on updating Wordpress on our other websites until this is resolved.
1. Firstly, I highlight text that I want to make into a link
2. Pressing the 'link' button (in Text mode only) opens the dialogue as usual
3. After entering the URL, I press 'Add link' and nothing happens.
If I close the dialogue box I get the following error in console:
""TypeError: wpLink.textarea is undefined""
If I click the 'link' button again the dialogue does not appear but the lightbox overlay covers the screen.
I could be wrong but I think the issue is to do with the id 'wp-link-submit'. I believe this is the case since the functionality for the default editor works fine and the wp_editor()'s underneath do not.
Please let me know if you need any further information.",machinedean
Future Releases,31564,Page won't update on Mac,,Editor,4.1.1,normal,normal,Awaiting Review,defect (bug),new,close,2015-03-08T15:33:30Z,2015-12-09T21:52:33Z,"I'm running the latest update to Wordpress, and using Mac OS 10.10.2
When I create a page or post, and hit the post or update button, a new tab is opened in the browser, but the contents of that web page are never displayed. I have to hit the back button and try again. But it never seems to update the page. This is real annoying.
I've attached a screen shot video of this at: http://customersecrets.com/wp-content/uploads/2015/03/Wordpress-bug.mov",Tim Van Milligan
Future Releases,33266,Text paragraphs containing links keep disappearing from posts since upgrade to 4.2.4,,Editor,4.2.4,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-08-04T20:01:52Z,2015-08-24T03:52:12Z,"Since upgrading to Wordpress 4.2.4, entire text paragraphs containing inline links keep disappearing from posts without a trace, after having initially created/edited the post and then posting it.
The problem is also possibly accelerated/provoked by switching between visual mode and text mode in the editor, but it has happened at least once (I think) even though visual mode was not accessed at all.
Very serious bug anyway it seems?
I found a possibly related ticket here: #28937
It did not contain any solution though and seems closed due to ""lack of evidence"", and since it was also for an older version I'm not sure it's the same problem after all, so I created this new ticket instead. Might be related though.
PS.
Why isn't version 4.2.4 selectable in the version dropdown for this bug report? (I thus selected the ""trunk"" option instead.)",SimpleBugReporter
Future Releases,32548,Unecessary White Space Above Table,,Editor,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-06-01T13:49:51Z,2015-07-20T13:00:10Z,"This may be a known problem but this is the first time I've discovered it. I have found that if I put a table on a page in this format:

xx

yy

11

22

WordPress will generate a number of unnecessary lines of white space prior to the table. If I remove the white space between the HTML elements so that it looks like this the problem of the unnecessary white space prior to the table goes away but the code looks like cr**p, of course:

xx

yy

11

22

Here's a link that led me to the solution to this problem::
https://en.forums.wordpress.com/topic/extra-spaces-on-top-of-tables
The above post was from 2007 yet this problem still exists. Is everyone aware of this problem? Is there a solution?
Thanks,",ChuckC3
Future Releases,32921,WordPress mangles text inside
}}}
Interestingly, reversing the quotation marks results in the same output:
{{{#!php
""Aujourd""hui"";
}}}
Either way, valid JavaScript is passed in, and invalid scripts are spit out. Anyone know what is going on?",dboulet
Future Releases,37196,Notice: Undefined offset: 0 in wp-admin/menu-header.php,,General,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-06-27T08:48:09Z,2016-07-18T22:49:35Z,"Sometimes when deactivating a plugin, this notice appears.
Notice Undefined offset: 0
wp-admin/menu-header.php:218
_wp_menu_output()
wp-admin/menu-header.php:255",argonius
Future Releases,36454,Post Status Transition hook error if title contains quotes or special chars,,General,4.4.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-04-09T07:04:18Z,2016-05-13T21:00:08Z,"Hi,
this is my fist bug report, so I hope doing it well :D
I think i found a bug.
I wrote a plugin which uses the 'draft_to_publish' hook. It usually works well, but I have some problems if the post title contains quotes or special chars.
Going more specific, I access the post with ""$post = get_post($id)"" inside my function, but if I try to access the post title with ""$post->post_title"" it gives me an empty string.
Moreover, this is very strange, if I use $wpdb->insert(), $wpdb->insert_id results null even if the insert is correctly executed.
If the title does not contains quotes or special chars all works well",mikylucky
Future Releases,35154,The admin_url filter might break ajaxurl usage,,General,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-12-18T12:46:04Z,2016-03-23T20:10:48Z,"`ajaxurl` is a javascript global generated basically as
{{{
var ajaxurl = '';
}}}
`admin_url()` results get filtered by `admin_url`, which might add query arguments into `ajaxurl`, or at least modify it on a substantial way.
We have several instances where we assume that `ajaxurl` will be an URL without query arguments, like this one:
{{{
// wp-admin\js\tags-box.js 179
ajaxurl + '?action=ajax-tag-search&tax=' + tax,
}}}
That assumption might be completely wrong.
I am attaching a list of places where we define `ajax_url` and a list of places where we assume it is a clean, query-arguments-free URL. Note that those lists might not be complete, although I greped against WordPress trunk.
As a solution idea, we might want to create a javascript version of `add_query_arg()` and use it extensively.",jadpm
Future Releases,36499,"featured image, image upload",,General,4.5,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-04-13T01:35:59Z,2016-05-03T01:25:42Z,"Using Avada theme with WP4.5, many elements have broken since WP4.5 update.
Including:
Slidedeck Slider shows ini_set errors and load.php errors
Fusion Slider - stuck at spinning wheel trying to load slides
Featured Images for blog posts not showing
Add Media into post or page (images wont load to select from)
Surprised this update has affected just about all my sites (about 200) which updated automatically. Now I am trying to revert them all to 4.4x
How did you guys drop the ball this time?",diskmandotnet
Future Releases,22530,garbage query strings on URLs are not sanitized or removed,,General,3.4.2,normal,normal,Awaiting Review,defect (bug),reopened,reporter-feedback,2012-11-21T15:52:50Z,2015-08-22T14:09:43Z,"Here is an interesting problem I ran into, a bug / feature that appears to be used by malicious people to cause Google to see your site as full of duplicate content.
If you visit a wordpress site, and add a garbage query string to the end of the URL, that garbage gets carried forward. Example:
yourblog.here/page/2?ssdlfkjsdlkfjsdfs
When you scroll down, the ""previous"" and ""next"" links will automatically carry that query string forward.
Normally, this would not be a big issue. However, some people appear intent on specifically creating these sorts of links to wordpress sites, and Googlebot is finding those links on remote sites. Those links are followed, and then the ""previous - next"" situation perpetuates the problem through every page on the site. If you have 1000 posts, at 10 per page, Google just indexed 100 duplicate content pages.
So the bug is the following:
Passed query strings need to be sanitized, and junk removed - there is no reason to pass it on. In the case of a junk passed string, there should be an http 301 or 302 reply and the user / bot redirected to the proper page without the query string.
Further, query strings should not be perpetuated forward through the ""previous - next"" links on the pages unless they are relevant to that page change. As an example, a valid search string might be worth moving forward with. Other passed items may not be worth carrying forward.
Potentially, any unsanitized input accepted in a query is a vector for other attacks. Having that query carry forward is a real issue. As an example, full select * from queries are not accepted and not dealt with, and perpetuated forward. No, they are not currently actually causing anything to happen, but a failure to sanitize these inputs suggests a vector for a future attack, such as an input overflow or similar.",rawalex
Future Releases,30285,url_to_postid on FORCE_SSL_ADMIN takes https path instead of http,,General,4.0,normal,normal,Awaiting Review,defect (bug),reopened,reporter-feedback,2014-11-07T17:59:53Z,2016-03-03T03:46:02Z,"A server has FORCE_SSL_ADMIN set to TRUE, which makes its wp-admin load under SSL, though the public pages are still on http.
Now, I have a plugin which runs in the admin area. When I call url_to_postid with a post permalink under http (http://www.domain.com/post) the function always returns 0. What happens is that url_to_postid uses site_url to parse the permalink, but site_url with FORCE_SSL_ADMIN returns the path with https, thus not finding it in the http permalink.
I think url_to_postid should always take the public settings even when called from an admin context, as it will take in input public paths.",Ste_95
Future Releases,31706,wp_list_categories for hierarchical taxonomy return wrong tree if orderby clause is used,,General,4.1.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-03-20T11:11:52Z,2015-03-20T16:16:40Z,"My taxonomy is e.g.
{{{
-term 1
--subterm 1.1
---subterm 1.1.1
--subterm 2.1
--subterm 3.1
-term 2
-term 3
}}}
and lets say i am on the 'term 1' page and i want to return all suterms. But when i run
{{{
$args = array(
'style' => 'list',
'title_li' => '',
'echo' => 0,
'hierarchical' => true,
'depth' => 2,
'taxonomy' => 'my_taxonomy',
'orderby' => 'count',
'order' => 'DESC',
'show_option_none' => ''
);
$args['child_of'] = $current_term->term_id;
}}}
it return only
{{{
Subterm 1.1.1
}}}
Problem is that
{{{
'orderby' => 'count',
'order' => 'DESC',
}}}
when i put it out, it works as expected
BTW IMO wp_list_categories() need some bigger rewrite - it is probably the oldest code in WP :-). No filters, strange classes etc. especially comparing to similar wp_nav_menu. E.g. there is no class to parent LI (and it is often need to change e.g. for Bootstrap), nor any action or filter, the only way are some non-trivial preg_match on the full results or replacing the whole Walker, what is not optimal for forward and plugin compatibility ",thomask
Future Releases,31521,wp_title if archive of year w/o permalink fires php notice in locale.php,,General,4.1.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-03-04T10:28:48Z,2015-04-26T07:46:17Z,"PHP Notice : Undefined index: 00 in /Applications/MAMP/htdocs/wp_svn41/wp-includes/locale.php on line 271
The concerned function : $wp_locale->get_month
Permalinks = default like: www.mysite.com/?m=2015
The calling function = wp_title in general-template.php
Here:
{{{
// If there's a month
if ( is_archive() && !empty($m) ) {
$my_year = substr($m, 0, 4);
$my_month = $wp_locale->get_month(substr($m, 4, 2)); error_log(""here calling..."");
$my_day = intval(substr($m, 6, 2));
$title = $my_year . ( $my_month ? $t_sep . $my_month : '') . ( $my_day ? $t_sep . $my_day : '' );
}
}}}
This part of function forget that 'm' query_tag can have a length from 4 to 9+ as well defined in query.php - not only month...
{{{
if ( $qv['m'] ) {
$this->is_date = true;
if ( strlen($qv['m']) > 9 ) {
$this->is_time = true;
} else if ( strlen($qv['m']) > 7 ) {
$this->is_day = true;
} else if ( strlen($qv['m']) > 5 ) {
$this->is_month = true;
} else {
$this->is_year = true;
}
}
}}}
and $wp_locale->get_month do not like empty string giving '00' index...
Suggestion (raw):
Add test ( strlen($m) >= 5 ) before to call $wp_locale->get_month
like
{{{
$my_month = ( strlen($m) >= 5 ) ? $wp_locale->get_month(substr($m, 4, 2))
: """";
}}}
Cheers,
M.",michelwppi
Future Releases,34699,New function: `get_query_arg()`,,General,,normal,normal,Awaiting Review,enhancement,new,close,2015-11-16T12:51:31Z,2016-03-02T09:27:53Z,"For example i have url $url = 'http://example.com/?param=1&param2=2&param3=3' and I want get `param2` so I use function: get_query_arg('param2', $url);
Second argument: exists function add_query_arg and remove_query_arg",sebastian.pisula
Future Releases,31974,"Separation of Views and static data, such as mime-type arrays from logic code",,General,4.2,normal,normal,Awaiting Review,feature request,new,reporter-feedback,2015-04-14T23:52:50Z,2015-04-15T03:30:28Z,"I propose that WordPress embedded views, and any HTML, CSS, JS, or any other textual output, and static data such as mime-type arrays, be put in a framework, to be separated from the logic of the WordPress code-base.
This would allow several advantages over the current system(s) in place.
* Shorter code files, with standardised syntax (lowers the bar for front-end editors / contributors, as the language files already have. These users may not be PHP savvy, allowing code editors to work on code, separately to data-structures, moving WordPress towards a more data-driven, presentation agnostic code-base.
* Simplified modification of data and portability of data-structures to systems beyond WordPress & Integrations / Migrations to WordPress, as well as better sharing with front-end CMS logic and back-end tooling.",LewisCowles
Future Releases,33371,Undefined Indexes for Movable Type and TypePad Importer.,westi*,Import,,normal,normal,Awaiting Review,defect (bug),accepted,reporter-feedback,2015-08-14T08:25:25Z,2016-01-24T22:34:42Z,"Display notice in ""Assign Authors"" ( WP_DEBUG = true ) .
{{{
Notice: Undefined index: upload_type in movabletype-importer/movabletype-importer.php on line 233
Notice: Undefined index: id in movabletype-importer/movabletype-importer.php on line 248
}}}",mt8.biz
Future Releases,29889,Login redirect to login page even if authenticated,,Login and Registration,3.9.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2014-10-08T11:41:24Z,2015-12-03T07:41:22Z,"We use Wordpress in a private manner with use of '''login_redirect''' filter which is applied in the following code in file '''wp-login.php''' on line 777.
{{{
if ( empty( $_COOKIE[ LOGGED_IN_COOKIE ] ) ) {
if ( headers_sent() ) {
$user = new WP_Error( 'test_cookie', sprintf( __( 'ERROR: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.' ),
__( 'http://codex.wordpress.org/Cookies' ), __( 'https://wordpress.org/support/' ) ) );
} elseif ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) {
// If cookies are disabled we can't log in even with a valid user+pass
$user = new WP_Error( 'test_cookie', sprintf( __( 'ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.' ),
__( 'http://codex.wordpress.org/Cookies' ) ) );
}
}
$requested_redirect_to = isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';
/**
* Filter the login redirect URL.
*
* @since 3.0.0
*
* @param string $redirect_to The redirect destination URL.
* @param string $requested_redirect_to The requested redirect destination URL passed as a parameter.
* @param WP_User|WP_Error $user WP_User object if login was successful, WP_Error object otherwise.
*/
$redirect_to = apply_filters( 'login_redirect', $redirect_to, $requested_redirect_to, $user );
}}}
According to this, we use '''$user''' parameter in '''login_redirect''' filter to do some stuff.
== Issue ==
After a first log in attempt with good credentials, '''$user''' is a '''WP_Error''' which isn't normal.
And when '''$user''' is a '''WP_Error''' my custom filter do redirect to login URL.
Then I try to log in a second time just after the first one with the same credentials.
In this second attempt, '''$user''' is a '''WP_User''', my custom filter do not redirect to login URL and everything works as expected.
== Additional Information ==
=== Complement 1 ===
After the first login, if I reach home URL (which is very different from login URL), I notice that I was successfully authenticated even if I was redirected to login URL by my custom filter.
=== Complement 2 ===
It seems to happen after my browser started, subsequent logins even with different credentials works fine at the first time.
If I restart my browser, this issue occurs and I'm redirected after first log in attempt.
=== Complement 3 ===
Before our 3.9.2 update we were using 3.6.1 which handled this cookie check differently and did not overriden '''$user''' object.
== Workaround ==
We completely commented these lines and everything now works fine even with my custom '''login_redirect''' filter.
Best",sgissinger
Future Releases,34372,Password reset link invalid for user names containing blanks,,Login and Registration,4.3.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-10-20T18:35:44Z,2016-11-15T14:17:26Z,"When a user name contains a blank, resetting the corresponding password. The URL in the reset email will contain a blank, at which point the link will be interrupted.",ditler
Future Releases,35428,Allow the suppression of errors if user already exists,,Login and Registration,,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2016-01-12T21:19:14Z,2016-04-05T06:21:31Z,"The install instructions for s2members requires that we add a filter to suppress errors
it seems to be we should add the filter to allow this.
",pbearne
Future Releases,32408,Auth cookie expire vs expiration,,Login and Registration,2.8,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2015-05-15T06:06:27Z,2015-05-15T12:16:08Z,"We have the auth_cookie_expiration filter to extend the validity period of the cookie, but regardless of the value returned, the user's login always expires when the session ends, at latest.
Is there a security reason for not using auth_cookie_expiration's value as the cookie expiration? Or for not having a separate filter for the cookie expiration?
It seems a bit odd that I can set auth_cookie_expiration to sometime in 2020, but closing my browser will delete the cookie. I took a look at a couple sites in my bookmarks, and they seem split on this:
- Google + Facebook log you out on session close
- Github + Basecamp keep you logged in
",walkinonwat3r
Future Releases,34412,Problem with äö characters in Roundcube emails,,Mail,4.3.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-10-23T09:38:22Z,2015-10-23T20:13:21Z,"HI There,
I have the latest WP 4.3.1. On it, I have cost-calculator plugin in my site and I am facing similar issue with äö characters than in ticket: #31566 ( in Thunderbird and Roundcube emails)
I didn't quite understood how to solve this problem. What should I now do to fix this problem?. my client have one of those emails systems that get bad messages from their site.
The plugin provider says they have not use anything special apart from built it WP api.
Plugin provider mentioned that this issue was suppose to be fixed from WP 4.2+/
Any help would be nice.",memmuli
Future Releases,35924,"""jpeg"" image upload overwrites ""jpg"" images with the same (other than extension) filename",,Media,4.3.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-02-23T18:46:28Z,2016-03-14T17:59:45Z,"If an image is uploaded as ""image1.jpg"" and then another image is uploaded as ""image1.jpeg"", the thumbnails of the original images are overwritten because the thumbnail extensions are forced to ""jpg"" instead of sticking with ""jpeg"".
Haven't tested, but might also be an issue with ""jpe"" ... possibly also with ""tiff"" vs ""tif""
... probably too old to be relevant, but my searching found this really old ticket: #16458
Just tested and replicated the issue in 4.4.2, but originally noticed it in 4.3.1 ... didn't test earlier versions.",koryp
Future Releases,32641,Editing and posting under Windows 10,,Media,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-06-14T11:57:06Z,2015-09-16T20:49:57Z,"Error ROA POSTER 22 X 24.jpg
An error occurred in the upload. Please try again later.
Above is the error, when I upload. Not to mention I don't seem to have access to my gallery.
Windows 10 Home Insider Preview
Evaluation copy Build 10130",artayo
Future Releases,32750,"If changing the checkbox state ""organize my uploads..."" in the media preferences the thumbnails aren't shown anymore",,Media,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-06-22T12:20:45Z,2015-10-16T11:43:10Z,"Hi i ran into the following issue on WordPress 4.2.2. The steps to reproduce.
1. Inside the media preferences keep the checkbox ""Organize my uploads into month- and year-based folders"" unchecked.
2. Upload one or two images inside the library -> everything is previewed properly in thumbnails as well as all files are properly uploaded when checked via ftp.
3. Now check the ""Organize my uploads into month- and year-based folders"" checkbox.
4. Drag and drop a new image to upload inside the library.
5. The thumbnails for the images aren't shown in the library. You only see questionmark placeholders.
6. But if you check via ftp the source files are actually there inside the designated yearly and monthy subfolders but as mentioned not shown in the library.
7. if you uncheck the checkbox in the media preferences again and upload a new image everything works out again and the previews are shown again.
Cheers r. ",rkoller
Future Releases,36645,Media file descriptions: no support for foreign characters!,,Media,4.5,normal,normal,Awaiting Review,defect (bug),reopened,reporter-feedback,2016-04-22T23:48:53Z,2016-04-24T02:58:05Z,"''This is actually NOT a new bug, but an ongoing problem affecting all WP versions:''
WP is so US centered that support for foreign characters is lacking or patchy in many cases. A specific problem arises when one spells foreign names correctly with accents or other extended characters. This needs fixing as it also impacts on SEO (lower SERPs with incorrect spelling of places, missing things like the accents).
I submit this for a friend who reported the issue on a closed Facebook group but I have in the past encountered the same issue with our image descriptions; we travel in Latin America and have a travel blog.
Her problem description:
'''Problem Solved But You'll Never Believe What Caused It: I am in shock that I figured out my problem and thought I would share what happened in case anyone else encounters this. Problem was images were not appearing in my latest post. It was showing up on Chrome desktop but not mobile and not in Safari in desktop/mobile. Others in group were having no problem seeing the images. What caused this? A simple French accent in the image link. I had to take the é accent off the ""e"". (Instead of ""Clos Lucé"" I had to write ""Clos Luce""). Once I did that all the images appeared. CRAZY! So if any of you want to put an accent on the image description, DON'T.
'''",webbeetle
Future Releases,35593,Metadata from wrong file in media_handle_upload,joemcgill,Media,,normal,normal,Awaiting Review,defect (bug),reviewing,close,2016-01-24T15:14:20Z,2016-10-17T15:00:08Z,"In media_handle_upload and media_handle_sideload the attachment metadata is generated after inserting the attachment. For that the same file name is used. However, if a plugin changes the filename in an `add_attachment` hook the wrong file name will be used. Thus the wrong metadata is written or it is cleared.
See wp-admin/includes/media.php:
{{{
368 // Save the data
369 $id = wp_insert_attachment($attachment, $file, $post_id);
370 if ( !is_wp_error($id) ) {
371 wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) );
372 }
}}}
In my patch I query the filename again before updating the metadata.
",normanrz
Future Releases,29458,No longer able to catch click event of dashicons edit/delete,,Media,3.9,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2014-09-01T19:55:53Z,2016-11-09T16:25:29Z,"In WP4 RC it's no longer possible to catch the dashicons edit button click through the tinyMCE onclick event.
For example:
{{{
tinymce.activeEditor.on('click', function() {alert('clicked')} )
}}}
Never alerts. Is there a reason something's doing preventdefault or preventBubble? 3.9 was not affected by this. Are all shortcodes now '''required''' to do wp.mce.views.register(shortcodename, object) and include edit: function in the object?
Related: (#28169)",programmin
Future Releases,36523,Problem with full-sized images in Library after updating to WP 4.5,,Media,4.5,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-04-14T03:29:51Z,2016-04-27T00:04:18Z,"When placing images into posts/pages they appear medium sized. I selected the image to show in full-size but the preview image appeared like a broken link (in the library) and the image could not be changed to full-size in the post. That is true for all images.
In another site the background image, which was full-size looked 'corrupted' in all browsers, completely shredded in Safari on Mac. Not usable!
As a temporary work around go to the Library, find the image(s) in question and edit each image by scaling it down very slightly. I.e. I changed that background image from 2000px x 2000px to 1950px x 1950px and saved it. Or changed a smaller image from 223px to 220px. As soon as you edit in this way that image will render properly and show the preview in the library. I won't be updating any other sites to 4.5 until this is fixed.",Pixeldrummer
Future Releases,35837,The auto-update in media editor rewrites user inputs,,Media,4.4.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-02-15T13:04:34Z,2016-02-17T07:50:46Z,"Hello
while the media editor is opened in ""lightbox"" where the auto-upade is applied the input fields loose their focus on each autoupade making the editing really uncomfortable.
see this video
https://youtu.be/ULmiAf2N6kA
all the fields that you can see in this video were hooked up like so:
https://gist.github.com/twentyfortysix/d7dcdc931aed3f2529a9#file-register_media_field-php",o----o
Future Releases,36789,Upload Folder Bug,,Media,4.5,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-05-09T10:46:03Z,2016-05-20T17:12:30Z,"Affected Version 4.5.x
If changing the upload folder path in wp-config.php (define( 'UPLOADS', 'media' );) - no image will work after update to 4.5.x, because the url path structure changes in the sourcecode.
for example:
",netzilicious
Future Releases,33337,WordPress crashes in Chrome when trying to upload images too quickly into Media Library,,Media,4.3,normal,major,Awaiting Review,defect (bug),new,reporter-feedback,2015-08-11T10:30:58Z,2015-08-12T00:14:57Z,"Steps to reproduce
1) Use Chrome and a wordpress installation with at least few images, the more images, the easier to reproduce.
2) Create new post
3) Click Add Media
4) Whilst the Media Library is loading all of the images, try to drag new images into the window to upload.
The result is that Chrome crashes. It seems as though the trying to drag images into the window before the ""Drag to upload"" function is loaded kills it.
",tstania
Future Releases,35648,the_post_thumbnail sets srcset with http protocol,,Media,4.4,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-01-28T16:28:48Z,2016-03-14T11:51:23Z,"We have a wordpress site that uses https always, when we use the_post_thumbnail, it returns HTTPS for the SRC attribute but it returns HTTP values for the SRCSET attribute. This is not a duplicate of #28261 or #15928 because this only happens on the srcset attribute.
We had to do this filter in order to do a quick patch:
{{{#!php
'Słowniczek',
'singular_name' => 'Pojęcie',
'menu_name' => 'Pojęcia',
'name_admin_bar' => 'Pojęcie',
'add_new' => 'Dodaj nowe pojęcie',
'add_new_item' => 'Dodaj nowe pojęcie',
'edit_item' => 'Edytuj pojęcie',
'new_item' => 'Nowe pojęcie',
'view_item' => 'Wyswietl pojęcie',
'all_items' => 'Wszystkie pojęcia',
'search_items' => 'Wyszukaj pojęcia',
'parent_item_colon' => 'Nadrzędne książki',
'not_found' => 'Pojęć nie znaleziono',
'not_found_in_trash' => 'Brak usuniętych pojęć'
);
$product_args = array(
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'show_in_menu' => true,
'query_var' => true,
'rewrite' => array( 'slug' => 'vocabulary' ),
'capability_type' => 'post',
'has_archive' => true,
'hierarchical' => false,
'menu_position' => null,
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' ),
'labels' => $labels
);
register_post_type( 'vocabulary', $product_args );
}
}}}
(thats just a sample code from my project)
3. Install wp, get into admin, go to Appearance -> Menus
4. Check ""Screen options"" - custom post type ""Slowniczkek"" is hidden.
Now same process but:
1. Get clean 3.8.1 installation
2. Install wp, get into admin, go to Appearance -> Menus
3. Edit functions.php of 2014 theme and add the registering process at the end of functions.php
4. Reload Appearance -> Menus - custom post type ""Slowniczek"" is visible.
It looks like same problem (with hiding custom post types) happens while updating to 3.8.1",CyberSpy
Future Releases,35328,In Customizer the Nav Menu Item saves to fail to return the expected response,,Menus,4.4,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-01-06T15:19:10Z,2016-01-06T17:52:20Z,"Steps to reproduce (or rather - exactly what I did that ended up with this hiccup)
1. Menu was already created & I wanted to add some subpages
2. open customizer from front end
3. add subpages to the menu then drag/drop them in place
4. save and publish
5. add more subpages to the menu then drag/drop them in place
6. save and publish
7. add more subpages to the menu then drag/drop them in place
8. save and publish
9. view front end of site
10. front end megamenu shows triple pages in the menu dropdown
https://www.dropbox.com/s/jykpzouaffkx0zq/Screenshot%202015-12-24%2013.02.32.png?dl=0
(Ignore text in front of menu - that’s being addressed and not related to megamenu/customizer.)
1. Go to Dashboard
2. Navigate to Appearance > Menus
3. Find this: https://www.dropbox.com/s/dffd79ybm1fypaq/Screenshot%202015-12-24%2013.08.13.png?dl=0
4. Manually remove
5. Save
6. Find this: https://www.dropbox.com/s/0xcs2i1rewxlhji/Screenshot%202015-12-24%2013.11.43.png?dl=0
This isn’t the first time I’ve seen this - but last time I just thought I had done something wrong. It’s easy to fix - just something I thought I’d share w/you. ",sarahpressler
Future Releases,36698,Multiple menu items are identified as the parent of the current page,,Menus,4.5.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-04-28T10:07:01Z,2016-04-28T10:41:28Z,"https://www.dropbox.com/s/hci9mvyg4k9ziht/wperror.jpg?dl=0
Menu - Custom Menu
Events - is category entry from custom menu
Booking - is a page contents shortcode for contact form 7
Event and booking is not related at all
But when I open any article from events category then booking menu item will become current item parent also.
Is this a bug?
",binigwasay
Future Releases,32347,Saving Menu Breaks Cyrillic Characters,,Menus,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-05-11T21:37:50Z,2015-12-09T23:14:28Z,"When saving the Menu Structure Cyrillic characters do not come back as they should have.
Video showing the issue: http://youtu.be/yjP3qCmC19Y
",lordspace
Future Releases,21773,Scheduled pages/posts should not appear in custom menus,,Menus,3.0,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2012-09-02T14:30:48Z,2016-09-28T20:57:22Z,"When I add a '''scheduled page/post''' in a custom menu the page/post immediately appears in the front-end menu.
I think these scheduled pages/posts should only be visible in the front-end navigation when their scheduled time is reached (as it is the case with automatic menus). Otherwise the ""Schedule"" functionality makes no sense with custom menus, especially for pages.
Here is another forum post regarding this issue: http://wordpress.org/support/topic/custom-menu-support-for-scheduled-pagesposts",Lorangeo
Future Releases,33640,Unable to add menu items to menus on Ubuntu droplet,,Menus,4.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-09-01T00:21:47Z,2016-08-17T01:33:03Z,"This is a follow-up to #26047.
Although the bug has been reportedly closed, I am posting a bug report because there hasn't been an response in the support forums. This has caused my site to not be public due to the lack of a menu an the inability to add one.
My support forum post:
>I tried a local installation of WordPress 4.3 on my Windows XAMPP server where everything ran smoothly. I tried adding a custom menu using the default twentyfifteen theme and it worked flawlessly.
>
>I then followed nearly identical steps on my DigitalOcean Ubuntu droplet running PHP and MySQL and setup everything the same. But now I am not able to add anything to the custom menu. Every time I add anything (page/post/category/custom link) the message under Menu Structure changes from
>{{{Add menu items from the column on the left.}}}
>to
>{{{Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.}}}
>
>I couldn't find any help online except a reference to a bug that was fixed in 3.8 #26047.. I can't understand why the same install works on my Windows XAMPP but not on the Ubuntu. This menu thing has been the only bug I have seen and have clean installed WordPress nearly 10 times.
I have tried repeated clean installs of Wordpress with and without any plugins.",znromonk
Future Releases,34657,WordPress doesn't set object terms for menu items so pending items not working,,Menus,4.3.1,normal,normal,Awaiting Review,defect (bug),new,dev-feedback,2015-11-11T11:23:11Z,2016-10-11T02:48:43Z,"
When I create menu items and refresh admin page without saving menu, wordpress can not show pending menu items.
At line 1127 of 'wp-admin/includes/ajax-functions.php' file there is wp_save_nav_menu_items function, the first argument for this function '''is always zero''', so At line 441 of 'wp-includes/nav-menu.php' file wp_set_object_terms function doesn't work.
I add my menu id to
{{{
$item_ids = wp_save_nav_menu_items( 97, $menu_items_data );
}}}
function, and it working for me. :)",rss_samuel
Future Releases,35955,Improvements for Menus,,Menus,4.4.2,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2016-02-25T21:33:35Z,2016-08-16T15:14:58Z,"I'd like to propose some improvements for Menus.
- When adding a set of pages with children, I think it would be useful if the menu structure would also follow the relationship between parent and children elements. Currently, when adding pages and their children, all of them go into first level so children and their children must be rearranged manually.
- If replacing a parent menu item (does not necessarily need to be a parent page), all the children are sent to level below, so they have to be rearranged manually again. I think it would be useful if we could replace any element that has children with another element without losing the structure (something like ""replace this menu item"")
",Mckilem
Future Releases,37685,Creating new multisite blog - wpmu_create_blog tries to execute queries on non-existent tables,,Networks and Sites,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-08-17T10:04:45Z,2016-09-16T06:07:51Z,"I have noticed that while creating new wordpress site in multisite install I get quite a few notices about executed queries while using verbose logging.
{{{
query: SELECT option_name, option_value FROM wp_85_options WHERE autoload = 'yes'
status: ERR: Table 'wp1.wp_85_options' doesn't exist
}}}
which is triggered by `wp_roles()->reinit();` during switch_to_blog function
Another are from get_blogaddress_by_id (inside install_blog function):
{{{
query: SELECT option_name, option_value FROM wp_85_options
status: ERR: Table 'wp1.wp_85_options' doesn't exist
query: SELECT option_value FROM wp_85_options WHERE option_name = 'home' LIMIT 1
status: ERR: Table 'wp1.wp_85_options' doesn't exist
query: SELECT option_value FROM wp_85_options WHERE option_name = 'blogname' LIMIT 1
status: ERR: Table 'wp1.wp_85_options' doesn't exist
query: SELECT option_value FROM wp_85_options WHERE option_name = 'siteurl' LIMIT 1
status: ERR: Table 'wp1.wp_85_options' doesn't exist
query: SELECT option_value FROM wp_85_options WHERE option_name = 'post_count' LIMIT 1
status: ERR: Table 'wp1.wp_85_options' doesn't exist
query: SELECT option_name, option_value FROM wp_85_options WHERE autoload = 'yes'
status: ERR: Table 'wp1.wp_85_options' doesn't exist
}}}
Wouldn't it make sense to skip execution of those queries unless tables has been created?
1. `get_blogaddress_by_id` calls get_blog_details with $get_all as true while it makes no sense since additional fields will either be empty.
2. Do not call reinit of wp_roles if in blog creation mode",fliespl
Future Releases,37144,Incomplete link after creating new site,,Networks and Sites,4.5.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-06-22T01:52:17Z,2016-09-15T20:59:37Z,"In the Add New Site form of Wordpress Multisite (https://domain.tld/wp-admin/network/site-new.php), after adding a new site, the link that should take you to the Dashboard on the green success message (Visit the Dashboard) leads to [https://wp-admin/]. The one that says Edit Site works fine. This has happened invariably on my installation, no matter the active plugins currently present.
",AntaresMHD
Future Releases,37988,Upgrade network: php timeout in wp-admin/network/upgrade.php,,Networks and Sites,4.6.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-09-08T13:19:14Z,2016-09-15T21:12:57Z,"Setup:
- Pretty slow server running php 5.5 (As a result calling wp-admin/upgrade?step=upgrade_db might take several seconds in average.)
- PHP max_execution_time is 30 seconds. Value can't be changed by scripts.
- WP-Multisite with about 400 blogs.
Reproduction:
- Call wp-admin/network/upgrade.php?action=upgrade
- Result: Network Upgrade gets stuck at some point, terminating with http error 500
",podpirate
Future Releases,39034,WP_Site_Query->get_sites() constructs an invalid key...,,Networks and Sites,4.7,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-12-02T20:54:06Z,2016-12-02T21:31:59Z,"From `class-wp-site-query.php` starting on line 247 (checked in trunk, 4.6.1):
{{{#!php
$key = md5( serialize( wp_array_slice_assoc( $this->query_vars, array_keys( $this->query_var_defaults ) ) ) );
$last_changed = wp_cache_get_last_changed( 'sites' );
$cache_key = ""get_sites:$key:$last_changed"";
$cache_value = wp_cache_get( $cache_key, 'sites' );
}}}
The resulting `$cache_key` is something like:
`get_sites:cb4b246a2a9b16dca39a573cce210c10:0.89962600 1480710961`
For installs that use the memcache/memcached object-cache drop-in (and possibly others), the resulting `wp_cache_get` always returns `false` since a memcached key ""... must not include control characters or whitespace."" (per [https://github.com/memcached/memcached/blob/master/doc/protocol.txt memcached protocol])",seanosh
Future Releases,32994,invite email from secondary blog does not use network site URL for wp-activate link,,Networks and Sites,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-07-14T14:33:18Z,2016-09-21T17:09:22Z,"When inviting a user as an admin from a secondary site, the message uses `site_url('wp-activate.php?key=$key')` to generate the invite link. This is a problem because `wp-activate.php` returns a 404 when accessed outside the network site domain. Instead it should use `network_site_url('wp-activate.php?key=$key')`, as is done elsewhere.
Here is the line in question: https://core.trac.wordpress.org/browser/trunk/src/wp-includes/ms-functions.php#L953",leedo
Future Releases,37635,BUG in get_option,,"Options, Meta APIs",,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-08-11T08:11:58Z,2016-09-09T18:17:13Z,"in wp_options, i had saved this large serialized string:
http://pastebin.com/raw/hxwETuHX
however, when i run `get_option(""option_name"")` it returns false...
i have spent time and found out, that it's because that get_option tries to unserialize it and return the result, but it have problems while unserializing.
then i decided to manually grab the value and unserialize by hand.. and i succeeded!
{{{#!php
$raw_data=$wpdb->get_var(""Select option_value from wp_options Where option_name='option_name'"");
unserialize(Serialized_Fixer($raw_data));
function Serialized_Fixer($serialized_string){
// securities
if ( !preg_match('/^[aOs]:/', $serialized_string) ) return $serialized_string;
if ( @unserialize($serialized_string) !== false ) return $serialized_string;
return
preg_replace_callback(
'/s\:(\d+)\:\""(.*?)\"";/s',
function ($matches){ return 's:'.strlen($matches[2]).':""'.$matches[2].'"";'; },
$serialized_string )
;
}
}}}
and that worked!
this is seriously a bug of WP!
please fix it! thanks!",tazotodua
Future Releases,27935,"Multisite get_site_option() does not cache empty string values in ""SITE_ID:notoptions""",,"Options, Meta APIs",3.7,normal,normal,Awaiting Review,defect (bug),new,close,2014-04-20T08:37:07Z,2015-12-10T07:40:30Z,"In a multisite configuration the `get_site_option()` function in `wp-includes/option.php` does not cache `meta_key`s with `meta_value`s of empty strings resulting in a database query being run on every request. Checking for a `meta_value` matching an empty string to trigger an entry into the `notoptions` cache will correct this behavior.
from:
{{{#!php
if ( is_object( $row ) )
}}}
to:
{{{#!php
if ( is_object( $row ) && $row->meta_value !== '' )
}}}",doublesharp
Future Releases,32605,Add short-circuit filters to `*_metadata_by_mid()` functions,,"Options, Meta APIs",,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2015-06-10T11:38:29Z,2015-07-31T19:23:37Z,"Currently it's possible to short-circuit `get_metadata()`, `update_metadata()`, and `delete_metadata()`, but not their `_by_mid()` variants.
The attached patch would add comparable filters to `get_metadata_by_mid()`, `update_metadata_by_mid()` and `delete_metadata_by_mid()`.",dlh
Future Releases,35701,Error during save permalink,,Permalinks,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-02-03T09:19:57Z,2016-03-22T22:15:57Z,During save permalink I have question: `Are you sure you want to do this?` And I can't doing nothing.,sebastian.pisula
Future Releases,28246,Permalink Options page throws errors on Windows IIS,,Permalinks,3.9.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2014-05-14T15:50:04Z,2015-07-14T10:34:14Z,"Note: My installation on my dev machine is at c:\www\krystal\wordpress (as a subdirectory).
Upon visiting the permalink settings page (), an error is visible at the top of the page:
{{{
Warning: DOMDocument::load(): I/O warning : failed to load external entity ""c://www//krystal/web.config"" in C:\www\krystal\wordpress\wp-admin\includes\misc.php on line 517
}}}
Saving the settings fails with the same error, and does not actually update the web.config as expected.
I chased this bug all the way to the `wp-admin/includes/file.php:get_home_path` function which seems to assume that magic quotes have not been applied to `$_SERVER` variables. See #18322 for more details on this issue.
Anyway, the fix is pretty simple. There are two references to `$_SERVER['SCRIPT_FILENAME']`. These should be wrapped in `stripslashes`.
With the fix in place, the permalink options page functions correctly (no errors, and web.config is updated as expected).
I suspect this might fix other places that call win_is_writable as well, but I haven't noticed anything else.
BEFORE:
{{{
$pos = strripos( str_replace( '\\', '/', $_SERVER['SCRIPT_FILENAME'] ), trailingslashit( $wp_path_rel_to_home ) );
$home_path = substr( $_SERVER['SCRIPT_FILENAME'], 0, $pos );
}}}
AFTER:
{{{
$pos = strripos( str_replace( '\\', '/', stripslashes( $_SERVER['SCRIPT_FILENAME'] ) ), trailingslashit( $wp_path_rel_to_home ) );
$home_path = substr( stripslashes( $_SERVER['SCRIPT_FILENAME'] ), 0, $pos );
}}}
",pkmnfrk
Future Releases,32759,Permalink routing for same slugs in hierarchical structure wrong,,Permalinks,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-06-23T08:40:10Z,2015-06-24T00:40:46Z,"Hi there, i have a strange problem with identical page-slugs in a hierarchical page-structure:
i have several events structured with pages. each event has a sub-page /show/
one of these is routing wrong, because:
domain.com/pagename/eventname/show/
routes in frontend to
domain.com/pagename/anothereventname/show/
(there are some more events with the sub-page /show/)
- there are no other custom post types registered
- no special redirect plugins
- permalink-structure is updated several times
- I've tested it on 2 different apache-webservers with the same result
so i dont have any idea yet what i can do! Any suggestions?",maszewo
Future Releases,31728,Search bug (Cyrillic),,Permalinks,4.1.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-03-22T15:03:14Z,2015-12-09T21:18:21Z,"There is a bug, when I search something in my WordPress site.
The correct search link should be: {{{http://site.com/search/word}}}.
When I type something in English, the link is correct: {{{http://site.com/search/word}}}.
But when I type something in Bulgarian language (Cyrillic), the link is different: {{{http://site.com/?s=абвгд}}}.
The structure of my WordPress permalinks is: {{{http://site.com/%post_id%}}}.",kazumy
Future Releases,35352,URL / Slug does not get updated when title is changed,,Permalinks,4.4.1,normal,normal,Awaiting Review,defect (bug),new,close,2016-01-07T20:13:35Z,2016-01-09T23:53:37Z,"BUG IMO:
1. create a post in WP and insert it's title
2. Slug / URL is created
3. Edit the title
–> Slug does not change / Update –> Slug does not change either",webifish
Future Releases,36694,"[Pages] [Edit Page] Changing the Permalink URL updates the displayed anchor text, but not the HREF (URL) property",,Permalinks,4.5.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-04-27T23:25:56Z,2016-05-23T20:06:15Z,"Steps to reproduce:
1. Create a page or post
2. Edit said page or post
3. Change the Permalink URL using ""Edit"" button next to displayed permalink
4. Click OK button after updating Permalink URL
Observe.
Expected: the anchor link text is updated and the anchor link HREF property is updated to the new value input in the field
Actual: the anchor link text is updated but the anchor link HREF property remains the same.",setsailmedia
Future Releases,29559,Incoming Plugin Updates Not Handled Consistently in Admin Plugin Page,,Plugins,4.0,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2014-09-06T17:44:37Z,2015-10-07T13:18:36Z,"When viewing the admin plugin page, I've noticed that sometimes, especially when a plugin was very recently update (eg: I just promoted my own plugin minutes ago then go to update on one of my sites), the message ""There is a new version of available."" is not displayed. This is *not* due to Core not being aware of the update yet, because the colored left border is red (indicating incoming update).
This has been around for a while (well before 4.0), but I only just now got around to reporting.",dan.rossiter
Future Releases,39181,Need Debounce in Plugin Search field,,Plugins,4.5,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-12-08T10:30:11Z,2016-12-08T14:18:11Z,"Whenever, I try to search for plugin. I doesn't not wait for me to complete the typing. It just start searching whether it's one letter or complete word. A debounce timer is need at this point. Whenever a user starts typing, it will wait for 500ms seconds pause to create a search. It would reduce the ajax requests too. ",LogixTree
Future Releases,32422,add_menu_page() returns incorrect $hookname when using plugin filename as $menu_slug,,Plugins,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-05-17T05:06:29Z,2015-11-11T00:04:25Z,"When using `add_menu_page()` and `add_submenu_page()` with filenames in the $menu_slug parameter, the resulting hookname does not match the expected `do_action('load-' …)` hookname.
In the following examples the expected hookname from `do_action( 'load-' . $plugin_page );` (in ''wp-admin/admin.php'') is: '''load-myplugin/admin/resources.php'''. However, the hookname returned by `$hookname = get_plugin_page_hookname( $menu_slug, $parent_slug);` (from `add_submenu_page()` in ''wp-admin/includes/plugin.php'') is '''myplugin_page_myplugin/admin/resources'''.
The result is, this code does not work:
{{{
$hookname = add_submenu_page(""myplugin/dashboard.php"", 'Resources', 'Resources', 'edit_pages', ""myplugin/resources.php"");
add_action($hookname, 'add_resources_options' );
function add_resources_options() {
add_screen_option('per_page', array(
'label' => 'Resources',
'default' => 10,
'option' => 'resources_per_page'
));
}
}}}
However, the hooknames do match when using `add_menu_page()` and `add_submenu_page()` with a callback slugname. This code works (notice only the first line has been changed to use callback slugs instead of filename slugs):
{{{
$hookname = add_submenu_page('dashboard', 'Resources', 'Resources', 'edit_pages', 'myresources', 'myresources');
add_action($hookname, 'add_resources_options' );
function add_resources_options() {
add_screen_option('per_page', array(
'label' => 'Resources',
'default' => 10,
'option' => 'resources_per_page'
));
}
}}}
The solution is either:
* Modify `function get_plugin_page_hookname() …` to return a hookname that is caught by `do_action( 'load-' . $plugin_page );`.
* Or modify `do_action( 'load-' . $plugin_page );` to use the hookname currently returned by `get_plugin_page_hookname()`.
",quinncom
Future Releases,34695,class-wp-plugins-list-table.php Undefined Offset,,Plugins,4.3.1,normal,normal,Awaiting Review,defect (bug),new,close,2015-11-16T00:47:07Z,2015-12-30T21:10:47Z,"Undefined offset: 3 in wp-admin/includes/class-wp-plugins-list-table.php on line 598.
get_column_info does not return $primary.
I fixed this by changing
list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();
TO
list( $columns, $hidden, $sortable ) = $this->get_column_info();
$primary = 'users';",ShellaRDee
Future Releases,21883,WP_Plugin action/filter concept,,Plugins,,lowest,minor,Awaiting Review,enhancement,new,close,2012-09-13T18:24:04Z,2015-10-01T01:36:54Z,"Attached is a concept for allowing plugins to have dedicated action/filter loops.
The problem:
* Plugins like !BuddyPress and bbPress that have their own actions and filters pollute the global action/filter namespace. This isn't necessarily bad, but it's arguably not optimal.
* Allowing plugins to have their own action/filter hooks means mirror action/filter names to match what's used in !WordPress, without adding more items to the global action/filter array.
* !BuddyPress and bbPress namespace their actions with prefixes, I.E. 'bp_init', 'bp_ready' et all. This works fine, and is straightforward to use, so I'm not really even sure this patch is that good.
* More conceptual than anything; it's intended as a fun experiment to toy with a new way of looking at !WordPress how actions/filters might evolve in the future.
Attached is a big patch with a small example file. The patch is ugly looking, due to running out of time in the day and wanting feedback sooner.",johnjamesjacoby
Future Releases,37301,A way to test plugin/theme installs and updates before applying,,Plugins,4.4.3,normal,normal,Awaiting Review,feature request,new,dev-feedback,2016-07-07T09:13:20Z,2016-07-13T19:56:40Z,"The # 1 reason for WordPress sites going completely down or becoming partially broken is the bad install or an update of a plugin or a theme.
The worst case scenario being a complete white screen of death from which the only way to recover is to manually remove the culprit plugin files, which unfortunately requires remote access to the server filesystem.
The current plugin upgrader checks if the upgrade causes errors and can in some cases recover from the most obvious cases syntax errors in the critical plugin code. This however fails to mitigate the slightly more subtle issues like incompatibilities between plugins/themes and javascript errors that may still completely wreck the site.
Furthermore, the more seasoned WordPress users are known to avoid updating plugins and themes on their site due to the volatility of running an update in production. This of course leaves their sites vulnerable to possible security issues.
The best practice of running staging environments to test plugins before updating requires a significant amount of technical knowledge and labour, and is not widely practiced among regular users.
I suggest we give the option for users to test plugin / theme installs and updates prior to applying them.
This requires a sort of sandbox environment for the user where they can freely install and test plugins without worrying about breaking anything.
I've created an example implementation of these plugin update sandboxes in (slightly hacky) plugin form. The plugin adds a ""test update"" button to the update.php admin screen, which creates a sandbox where the user can test the updated plugin without affecting the live site. Both the plugin directory and the database are separated from the live ones.
https://github.com/anttiviljami/wp-safe-updates
Screenshots:
The ""test update"" button in update.php
[[Image(https://github.com/anttiviljami/wp-safe-updates/raw/master/assets/screenshot-1.png)]]
Updating the plugin in an alternate heap (sandbox)
[[Image(https://github.com/anttiviljami/wp-safe-updates/raw/master/assets/screenshot-2.png)]]
Testing the plugin inside the sandbox
[[Image(https://github.com/anttiviljami/wp-safe-updates/raw/master/assets/screenshot-3.png)]]
--
I would love more discussion about this. I feel the safety of theme / plugin updates is definitely among the most important issues to solve for the future of WordPress security.
Love,
@anttiviljami",Zuige
Future Releases,38257,"""Home"" page redirecting issue",,"Posts, Post Types",4.6.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-10-08T02:39:45Z,2016-11-18T02:24:37Z,I have found an issue where in an attempt to set a static home page when the site is loaded it redirects to another page on the site. While the page it redirects to is always the same it seems to have chosen it at random. ,davidcolangelo
Future Releases,31416,An accessibility issue with the Publish metabox,,"Posts, Post Types",4.1.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-02-22T22:03:33Z,2015-04-27T16:51:06Z,"Taking a closer look at the Publish metabox for posts I realise that it has what I would call a bug. Take a look at the image attached. It tells me a post is published, while it's still asking for confirmation to be published. This screen shows up when first a post is set to private -and so gets published privately- and next is set to public, without hitting the 'Publish' button.
The post is actually published privately, which should show up as it's status, as it normally does. It tells me though it's published (which impies it should be published publicly).
I stumbled upon this, while I was searching for a more intiutive solution for inexperienced posters on one of my sites to post privately. I found two threads in forums which adress this issue:
https://wordpress.org/support/topic/how-to-set-new-post-visibility-to-private-by-default?replies=14
http://wordpress.stackexchange.com/questions/118970/set-posts-of-a-custom-post-type-to-be-private-by-default
Neither of threads mention (or seem to be aware?) of this shortcoming, while both try to solve the same issue I'm having. I question whether this problem can be solved, while the Publish metabox has such shortcomings.
I hope that by fixing this little bug, it might actually be possible to create a more accessisble Publish metabox for guests on a site, maybe by a hack or plugin, but preferably within the WP core files.
[[Image(http://www.basbva.nl/wp-content/uploads/2015/02/publish-metabox-bug.jpg)]]",basbva
Future Releases,37156,Multisite: WP-generated permalink for title-less post does not work (Or: numeric post slug that matches existing post ID number generates 404 error),,"Posts, Post Types",4.4.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-06-23T00:51:59Z,2016-09-23T07:47:26Z,"On a Multisite installation, a permalink with a post-name structure results in a 404 error when its slug is a number and that number matches an existing post ID number. Example: http://myblog.com/blog/7 where a post (any post) has an ID of 7.
When WordPress generates a slug for a title-less post, it forms the slug using the post ID. Since the post ID is (now) in use, the default permalink for the title-less post is broken.
It appears ticket #5305 resolved the issue for regular installs by automatically appending -2 to the slug (http://myblog.com/blog/7-2). Can this be done for Multisite? Or better yet, use some other more elegant designation that doesn't imply that this is the second of two posts using 7 for the slug?
To replicate:
Use a Multisite installation.
Set permalinks to Post name structure.
Create a post without a title.
Note that the generated slug is the ID number of the post.
Save and then click on the Permalink slug below the title text field.
Arrive at 404 page.
In admin, change the slug to include a character.
Try again.
Arrive at correct page.
You can also see the same behavior by choosing any titled post in admin and changing its slug to a number that matches its own or any other existing ID.
",raskull
Future Releases,31990,"Post ""Preview"" not working with taxonomy terms if logged in user is not equal to the post author",,"Posts, Post Types",4.1.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-04-16T06:34:30Z,2015-09-03T09:16:41Z,"'''Summary:'''
When clicking the ""Preview"" button while being logged in as any other user than the author of the post, the post preview will not reflect any changes made to categories or tags (taxonomy terms).
----
'''To reproduce:'''
1. Log in as user1.
2. Create a post (could be a WP default post or a CPT post) as user1 (could be any type of user, or any name), and save it as a draft.
3. Log out.
4. Log in as user2.
5. Add a category or tag to the draft that user1 created.
6. Click ""Preview changes"" to preview the post.
'''Result (logged in as user2):''' The category or tag is not displayed in the post preview.
'''Result (logged in as user1):''' The category or tag is displayed in the post preview.
1. Admin:
[[Image(http://oi58.tinypic.com/25z4500.jpg)]]
2. Post preview:
[[Image(http://oi60.tinypic.com/106zytc.jpg)]]
----
'''Possible cause:'''
I found that there is a check for if the logged in user and the post author is the same in the following file:
File:
wp-admin/includes/post.php
Line number:
1469
Code:
if ( ! $locked && 'draft' == $post->post_status && $user_id == $post->post_author )
If I remove ""&& $user_id == $post->post_author"" from the if statement, the preview after that working properly even if the logged in user and the post author are different.
----
'''Notes:'''
I have tested this with several different themes, both clean and unclean installs, and with CPT posts and with custom taxonomies (instead of with tags and categories), and the issue is always the same.
",samuelh_jp
Future Releases,25749,Recent change in post type rewrite tags ('name' vs 'pagename' query vars) results in incorrect is_single(),,"Posts, Post Types",3.7,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2013-10-28T19:23:18Z,2015-09-27T05:42:43Z,"Changeset [25182] (see #16323) changed the rewrite tag for hierarchical post types so that the post-slug slot is mapped to the 'pagename' rather than the 'name' query var. This change has broken the `is_single()` function for some hierarchical post types. See the following logic in `WP_Query::parse_query()`: http://core.trac.wordpress.org/browser/tags/3.7/src/wp-includes/query.php#L1493 Because 'name' is no longer set for these items, but 'postname' is, the check falls through to line 1504, setting `is_page` to `true` and `is_single` to `false`. This seems unexpected.
Here is a simplified version of the code I'm using to register the post type. It may be that this problem only arises when passing a certain kind of `rewrite` param; I'm sure you'll tell me if I'm doing it wrong :)
{{{
register_post_type( 'bp_doc', array(
'label' => __( 'BuddyPress Docs', 'bp-docs' ),
'labels' => $post_type_labels,
'public' => true,
'show_ui' => $this->show_cpt_ui(),
'hierarchical' => true,
'supports' => array( 'title', 'editor', 'revisions', 'excerpt', 'comments', 'author' ),
'query_var' => false,
'has_archive' => true,
'rewrite' => array(
'slug' => bp_docs_get_docs_slug(),
'with_front' => false
),
) );
}}}
I'm not sure I totally grasp the reasoning behind [25182], so I don't have a great suggestion for fixing this. A low-overhead fix might involve adding another `else` clause in `parse_query()` that catches this kind of case (where the post type is not 'page' but 'pagename' is set).
See also #25190.",boonebgorges
Future Releases,35871,before_delete_post incorrectly triggered from edit.php to post.php,,"Posts, Post Types",4.4.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-02-19T10:44:18Z,2016-02-20T19:27:02Z,"It seems there's a bug where {{{before_delete_post}}} triggers when clicking the post name (on edit.php) to go to the post.php admin edit screen. I have this code
{{{#!php

}}}",sebastian.pisula
Future Releases,32737,Press This Mobile Code for Bookmarklet cannot be fully selected or copied on Mobile devices,,Press This,4.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-06-20T18:49:04Z,2015-12-01T17:48:29Z,"When you go to select the code that Press This offers in the Tools Section next to the Press This drag-able bookmarklet, the text to COPY into a new bookmark that you create on your mobile phone (or computer) is within a textarea but on the iPhone you cannot '''select''' the text because it's ""readonly"" (readonly=""readonly"").
You need to remove the readonly=""readonly"" from the textarea and you can then select the text on your mobile device to copy it and paste it.
This is on line '''63 of wp-admin/tools.php'''
{{{
}}}
It's the only way I know to make textfields fully selectable on the iPhone. (Might be the same on Android, not sure.)
And so what if the text can be altered when you click in the field, all text can be altered wen you copy and paste it anyway.
Also, it does say below the text field to copy the ""Direct Link (best for Mobile)"" which is not necessary to say, as the Javascript bookmarklet works fine on mobile. (with the one exception that the popup window will appear behind your current page if it's already open, similar to how desktop browser will put popup windows in existing tabs if the page is already open, like when you are previewing a page on Wordpress that you are editing.)
Charles
[[Image(http://media.underground.net/images/selecttext.png)]]",undergroundnetwork
Future Releases,35418,Assigned post type not appeared in category and tag archive,,Query,4.4.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-01-12T14:07:24Z,2016-07-15T21:07:25Z,"In case of custom post type assign to category or tag(like use register_taxonomy_for_object_type), this post type not appeared in category and tag archive.
",jim912
Future Releases,34766,Order by rand in taxonomy page don't work,,Query,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-11-22T18:26:23Z,2015-12-30T18:00:00Z,"I use filter:
{{{#!php
is_main_query() && $query->is_tax( 'landing-page-highlight', 'special-offer' ) ) {
$query->set( 'posts_per_page', -1 );
$query->set( 'orderby ', 'rand' );
}
}
}}}
Query Monitor show that order is random. If I use WP_Query in taxonomy.php template then this work:
{{{#!php
queried_object;
$args = array(
'orderby' => 'rand',
'posts_per_page' => - 1,
'post_type' => 'landing-page',
'tax_query' => array(
array(
'taxonomy' => $term->taxonomy,
'field' => 'slug',
'terms' => $term->slug,
)
)
);
$wp_query = new WP_Query( $args );
?>
}}}
And My register taxonomy:
{{{#!php
array(),
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => false,
'rewrite' => array(
'slug' => 'product',
'with_front' => true,
'hierarchical' => true,
),
) );
}}}",sebastian.pisula
Future Releases,34934,Suppress preg_match() and urldecode() errors in WP::parse_request().,,Query,4.4,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-12-09T14:38:01Z,2015-12-11T06:29:18Z,"Error en la fila class-wp.php
207 - 208
Aqui lo arregle asi
{{{#!php
if ( @preg_match(""#^$match#"", $request_match, $matches) || @preg_match(""#^$match#"", @urldecode($request_match), $matches) ) {
}}}
",entreosos
Future Releases,35848,WordPress 4.4 Handling Custom Taxonomies and Tax Queries Correctly,,Query,4.4,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-02-17T05:53:20Z,2016-02-21T21:35:12Z,"As of the WordPress 4.4 release, we have seen several sites that are using custom post types and custom taxonomies that no longer respond correctly to taxonomy page requests.
E.g.
Custom Post Type 1
-- Custom Tax 1 (slug = customtax1)
-- Custom Tax 2 (slug = customtax2)
Custom Post Type 2
-- Custom Tax 3 (slug = customtax3)
-- Custom Tax 4 (slug = customtax4)
A query like this ?customtax1=term1&customtax3=term2&customtax2=term4 should result in a taxonomy query where you get posts/post types that have the respective term values associated with the post object for each of those taxonomies. Instead as of WordPress 4.4, these queries are returning the home page of the site with is_home = true (not a taxonomy template) and completely disregarding the taxonomy query.
Important notes:
1) Custom Post Type/Taxonomy plugins have been observed on these sites. It is not limited to any specific custom post type/taxonomy plugin
2) register_post_type and register_taxonomy ARE being called by these plugins via the init hook
3) Reverting to 4.3.x fixes the issue
4) Custom taxonomies in the admin and custom post types everywhere still seem to be working the same as with previous WP versions. The issue seems to be related only to the main query of front end requests.
5) Switching themes does not fix the issue
6) Migrating the register_post_type and register_taxonomy definitions to functions.php in the main theme and verifying they are run in an init hook does not fix the issue.
7) Trying to work around the issue by running pre_get_posts and applying the appropriate tax_query to the main query does not fix the issue.
8) Setting the post_type to the associated custom post type for the custom taxonomy in a ""request"" hook or ""pre_get_posts"" hook does not fix the issue, but it does shift the theme template to the custom post type's archive template (which at least rectifies the visual display problem associated with the incorrect query parsing, but it still doesn't appropriately filter the request)
9) Creating a WP_Tax_Query manually does return the desired tax_query, but this does not appear to work with $query->set in pre_get_posts either by assigning the tax_query as an array or WP_Tax_Query object (which was a hail mary test)
Any necessary information needed to debug this can be provided. But it ""appears"" to be some sort of regression or new bug associated with the new taxonomy features and that is limited to custom post types with custom taxonomies.",vrazer
Future Releases,38034,post__in orderby not working when passed in an array to orderby,,Query,4.6,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-09-13T09:45:01Z,2016-11-22T10:15:52Z,"
Currently order by `post__in` only works if you pass it as a string. If you pass it inside an array, it won't orderby `post__in` at all.
To reproduce:
{{{#!php
array( 1,2,3,4,5,6,7,8 ),
'orderby' => array( 'post__in' => 'desc', 'title' => 'asc' )
));
}}}",kelvink
Future Releases,30530,Enhance privacy by hiding posts of other users,,Query,,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2014-11-27T16:32:54Z,2016-05-24T20:20:46Z,"I haven't found an entry in Trac for this, but I know that this is discussed in blogs/stackexchage/... many times: A feature to hide posts of other authors in the admin interface.
The proposed solutions mostly include a pre_get_posts or request filter. However, most comments critizise that the post counter is still wrong. Thus, another filter for wp_count_posts is needed, duplicating much of the code of wp-includes/post.php's wp_count_posts(). Moreover, the select query in the original wp_count_posts() is executed anyway, but the result is thrown away. Finally, to make caching work, a third filter for transition_post_status to clear the post counter cache is needed.
An all this just to hide the posts of other users...
There should be an easy option to achieve this provided by the Core. There could be a 'list_others_*' capability that is honoured by query.php's get_posts() and post.php's wp_count_posts(). One could argue that published posts could be seen anyway, so the capability could also be named 'list_others_protected_*' and hides/shows the posts with a post_status marked as protected (get_posts() includes all posts with these status if we are in the admin).
That would be a great feature often requested by users and greatly enhancing the CMS capabilities!",minderdl
Future Releases,32976,Adding tags using Quick Edit without picking a tag from live search drop-down menu causes the overlay of it after saving,,Quick/Bulk Edit,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-07-13T14:12:10Z,2015-09-02T06:22:49Z,"When I use Quick Edit option in a list of posts and add a tag without selecting it from the dropdown menu with similar tags that appears automatically, after hitting Enter button on my keyboard for saving changes, the drop-down menu with similar tags remains in overlay and not disappears. This happens on every next Quick Edit.
Go to Posts –> Quick Edit a post –> Add a tag without selecting it from the drop-down list –> Hit Enter on your keyboard.",Xtraboy
Future Releases,30870,Add an $actions array and a filter in inline_edit() function,,Quick/Bulk Edit,3.1,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2014-12-31T08:07:42Z,2015-01-29T12:15:36Z,"There is no current possibility for the developper not to display part of the form generated by the inline_edit() function. It would be great enhancement to store the filedset in an array, then apply a ""post_inline_edit_fields"" with as parameter the fieldset array and the post, and then echo the fieldset.
For the moment, you can add a metabox but not remove any part of the form.
Thank you.",olivierstern
Future Releases,37105,rest api hooks before and after request,,REST API,,normal,normal,Awaiting Review,feature request,new,reporter-feedback,2016-06-15T07:02:18Z,2016-12-03T14:39:38Z,i have added hooks before and after the rest api request in oreder to measure time of the request.,dudijetweb
Future Releases,33830,Revisions: Compare revisions has layout issues on iPhone 6+,adamsilverstein,Revisions,4.3,normal,normal,Awaiting Review,defect (bug),assigned,reporter-feedback,2015-09-11T15:37:13Z,2016-04-27T20:33:10Z,"From the editor, tap a revision in the Revisions meta box. The resulting compare revisions screen has some layout issues. Restore this Revision is obscured.
",ryan
Future Releases,38825,wp_get_post_revisions default $args value,,Revisions,2.6,normal,normal,Awaiting Review,defect (bug),new,close,2016-11-16T15:02:07Z,2016-11-16T17:44:02Z,"{{{#!php
function wp_get_post_revisions( $post_id = 0, $args = null ) {
}}}
[https://core.trac.wordpress.org/browser/trunk/src/wp-includes/revision.php#L440 wp-includes/revision.php]
`$args` should be `array()` or `[]`, not null, otherwise array merge returns null every time `$args` is null.
",natostanco
Future Releases,31591,Bug in the author permalink .,,Rewrite Rules,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-03-11T01:34:04Z,2016-06-26T13:50:56Z,"Hi there :)
1 - register like this http://ahmed.d.pr/19Poz
2 - register a new user like this http://ahmed.d.pr/1eExL
3 - choose permalink >> Post name >> /%postname%/
4 - the link in the browser must be like this author/name/
5 - but in this case will not work and give 404 page
6 - so in this case i'm must change the permalink for the users to ?author=id and this not a good for the seo and for the users .
Note : the problem if you register the username in arabic .
Thanks ,",vbegy
Future Releases,23867,add_rewrite_endpoint causes front-page.php template to be ignored,,Rewrite Rules,3.5.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2013-03-26T21:49:18Z,2015-12-12T14:29:52Z,"I have a front-page.php template in my theme folder, as per the template hierarchy this is used regardless of whether I am showing posts or a page as the front page.
However, when I add a rewrite endpoint (on the init hook), index.php is used for the front page template when I add my query var to the URL. It makes no difference if I set the front page to show posts or a page. If I do not add the query var, front-page.php is correctly used.
i.e. http://domain.com correctly uses front-page.php, http://domain.com/nl wrongly uses index.php
This happens whether I use EP_ALL or EP_ROOT as the places parameter.
All other template files are fine, it's only the homepage with the problem as far as I can see.",lumpysimon
Future Releases,37201,Allow access to .well-known prefix (RFC-5785) in default rewrite rules,,Rewrite Rules,4.6,normal,normal,Awaiting Review,feature request,new,close,2016-06-27T18:07:44Z,2016-07-18T05:06:36Z,"Automated configuration of rewrite in .htaccess ignore Well-Known Uniform Resource Identifiers (RFC-5785) defined in /.well-known/ prefix. This features can be designed outside of any Wordpress application (for example: Letsencrypt project is runned from server shell and puts static files to ./.well-known/ webroot as verification process during requesting HTTPS certificate). Default configuration of configuration of rewrite in .htaccess can thwart this process because it redirect to index.php.
I know its contentious PR, but current state make confusions on some webhostings.
My tip: Just add after [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-rewrite.php#L1517 this line] new rule:
`RewriteCond %{REQUEST_URI} !^/.well-known/`",jakubboucek
Future Releases,36376,current_user_can/has_cap fails when user has multiple roles,,Role/Capability,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-03-30T17:16:45Z,2016-05-09T09:48:14Z,"To replicate the issue, install a role editor. Setup a user with primary role 'author' and secondary role 'customer' (this is a WooCommerce role which has ONLY 'read' access, nothing else).
https://dl.dropboxusercontent.com/s/xgucqvvh6no3skm/2016-03-30%20at%2017.49.png?dl=0
You can add a role with only:
{{{#!php
'read' => true
}}}
permissions if you don't have WooCommerce installed.
Dump:
{{{#!php
current_user_can( 'edit_posts' )
}}}
It will be false.
During get_role_caps() in class-wp-user.php, each role is retrieved and merged. The merge itself doesn't look at values, so if multiple roles have the same 'cap' but different value, these overwrite each other.
In my case, edit_posts was true for the author role, but false for customer role. Customer role false overwrote author role true.
Since caps only allow access to things if 'true', I think we can safely discard all 'false' caps when getting roles. If false caps are discarded, only true caps are left which works around the issue and fixes user capabilities if they have multiple roles at once.
Fix to follow (added array_filter to discard all 'false' caps, allowing us to merge only 'true' caps).
Had this reported to us in https://github.com/woothemes/woocommerce/issues/10612#issuecomment-203518038 but wasn't a WooCommerce issue.
",mikejolley
Future Releases,32056,wp_dropdown_roles() bug,,Role/Capability,2.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-04-22T11:59:25Z,2015-04-23T10:35:14Z,"Hello, in the function wp_dropdown_roles() located in wp-admin/includes/template.php there is a bug.
More specifically, around line 855 you can find
{{{
if ( $selected == $role ) // preselect specified role
}}}
In this condition you are comparing 2 strings, therefore the correct operator for comparison is ""==="". If compared only with ""=="" then the preselected role is wrong if the site has custom roles. Also the {} brackets are missing, but this is ok...
Please consider fixing it in the next version :)",InS0mN1aC
Future Releases,34591,"BugFix to WP_Scripts::do_item(), remove doubled ""//""",,Script Loader,4.3.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-11-05T11:01:37Z,2015-11-11T10:20:01Z,"Current code in `do_item()` of class.wp-script.php on line 172:
{{{
$src = $this->base_url . $src;
}}}
may produce duplicate slashes `""//""`, resulting in problems.
This might be fixed with code:
{{{
$src = $this->base_url . $src;
}}}
Currently:
* WP_Scripts contains: `""public $base_url; // Full URL with trailing slash""` and
* script-loader.php contains calls `$scripts->add()` with initial `""/""` in relative paths
Together this produces doubled slashes `""//""`. For example:
http://www.ocelovehaly.cz/ll//wp-includes/js/jquery/jquery.js?ver=1.11.3
This makes W3TC include script in minified version, but not to remove it from the original HTML.
Including jQuery twice makes LayerSlider not to work.
Please, could you bugfix class.wp-script.php on line 172?
Thank you :-)",jan.mazanek
Future Releases,38255,inclusion of javascript script,,Script Loader,4.6.1,normal,normal,Awaiting Review,enhancement,new,close,2016-10-07T20:15:36Z,2016-10-10T01:34:55Z,"When I was working on my themes. I tried to include scripts with Javascript src wp but always include scripts with href.
I find class.wp-scripts.php always add base url to my src.
I think it is not good for two reasons:
1 - it is best to use for local javascript src scripts.
2 - I think it is not good practice to replace data theme because if developer wants src it is not good to add data without informing.
I think both solution can be imagined:
1 - just do not replace the data from themes
2 - allow possibility for developer to choose to add automaticly base_url for javascript. ",nmoral
Future Releases,30579,wp_enqueue_style in footer,kevdotbadger,Script Loader,2.6,normal,normal,Awaiting Review,enhancement,assigned,reporter-feedback,2014-12-02T20:57:18Z,2015-12-22T11:44:23Z,"If you call the wp_enqueue_style function after wp_head ( in a shortcode for example ) has been called, it puts the css in the footer. This is means a link tag is outputted out the buttom of the body tag. This is invalid html, as link tag can only be used in the head tag. To make it valid html, a style tag should be used.
Something like this
{{{
}}}",spacedmonkey
Future Releases,28658,"is_ssl() may fail on ssl, relying on mod_ssl.",,Security,3.9.1,normal,normal,Awaiting Review,defect (bug),new,dev-feedback,2014-06-27T08:25:45Z,2015-02-12T09:37:02Z,"Dear developers,
in functions.php, you rely on reading
{{{
$_SERVER['HTTPS']
'443' == $_SERVER['SERVER_PORT']
}}}
to detect wether SSL is enabled or not. This is not sufficient.
The hoster [https://wiki.uberspace.de/webserver:htaccess#ssl_erzwingen uberspace] (and probably many more) use [http://www.apsis.ch/pound pound] as https frontend. Pound and others will not set 'HTTPS', but 'ENV:HTTPS'.
Thus, if on a pound server with a non-standard-port, this function will return ""false"" when the opposite is true.
Please check for ENV:HTTPS as well (and probably others).
Thanks.
[https://core.trac.wordpress.org/browser/tags/3.9.1/src/wp-includes/functions.php#L3367 Code link]",mampf
Future Releases,31686,wp_authenticate_username_password() should check for a WP_Error object,,Security,3.7,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-03-18T16:29:08Z,2016-03-06T11:06:58Z,"This is a follow-up to #19714 and #22516
These were closed, but IMHO, the bug as such is not resolved.
wp_authenticate_username_password() does only check whether $user is a WP_Error object when either password or username are empty:
{{{
75 if ( empty($username) || empty($password) ) {
76 if ( is_wp_error( $user ) )
77 return $user;
78 …
}}}
However, another plugin that hooks into authenticate might pass a WP_Error even if $username and $password were provided, but the specific authentication mechanism failed.
The current implementation completely ignores this.
The result is that users who exist locally can log in using a local, possibly older password, bypassing the plugins' additional authentication mechanisms completely.
I'd advocate to check for is_wp_error($user) much earlier in wp_authenticate_username_password(), so that the authentication process will fail as soon as one ""authenticate"" filter returns a WP_Error object.",kwisatz
Future Releases,37670,wp_validate_redirect fails when running WordPress on a port,,Security,4.5.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-08-15T15:19:35Z,2016-08-16T00:32:19Z,"$allowed_hosts is checking againts host value the parsed host value doesn't contain the port number and $wpp does. Thereror hosts aren't matched and wp_validate_redirect fails.
{{{
$lp = @parse_url($test);
}}}
equals
{{{
array (size=4)
'scheme' => string 'http' (length=4)
'host' => string 'localhost' (length=9)
'port' => int 3002
'path' => string '/project/xactly-com/insights/' (length=29)
}}}
where
{{{
$wpp = parse_url(home_url());
}}}
equals
{{{
array (size=2)
'scheme' => string 'http' (length=4)
'host' => string 'localhost:3002' (length=23)
}}}
will result in
{{{
if (isset($lp['host']) && (!in_array($lp['host'], $allowed_hosts) && $lp['host'] != strtolower($wpp['host']))) {
}}}
failing
The server is running on a local proxy.",raptor235
Future Releases,35591,Shortcode Attributes Parsing Issue,,Shortcodes,4.4.1,normal,normal,Awaiting Review,defect (bug),reopened,reporter-feedback,2016-01-24T09:26:53Z,2016-03-16T12:32:57Z,"I'm using the following custom shortcode: [expert_profile mode=""desktop"" expert=""142""]
And when the attributes are parsed using the following method:
extract( shortcode_atts( array(
'mode' => 'desktop',
'expert' => '0',
'num_to_show' => '25',
'tooltip' => 'on'
), $atts ) );
the ""expert"" attribute/variable is getting quotes around the end result after being parsed",markclotfelter
Future Releases,35770,Shortcode fails with 4.4. It is working with 4.3,,Shortcodes,4.4.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-02-07T20:43:20Z,2016-05-06T22:05:02Z,"It appears that only this shortcode fails. I am using WP 4.4.2
Shortcode source(real source is not important, because it fails with this too):
{{{#!php
'left',
'image_size' => 'medium',
'image_id' => '',
'image_link' => '',
'content_margin_top' => '0',
'title' => '',
'title_tag' => 'h3',
'allow_content_below_image' => 'no',
'margin' => '40px 0',
), $atts );
return 'shortcode content';
});
}}}
The shortcode is used this way:
{{{
[content_with_image image_position=""left"" image_id=""198"" content_margin_top=""0"" title=""EXPERIENCED GUIDES"" allow_content_below_image=""no""]
Shortcode content
[/content_with_image]
}}}
So I had to overwrite /wp-includes/shortcodes.php with content from v4.3, in order for shortcode to work again.",dezio1900
Future Releases,31961,Ajax response when categories delete,,Taxonomy,4.2,normal,normal,Awaiting Review,defect (bug),reopened,reporter-feedback,2015-04-13T13:35:07Z,2016-08-03T23:37:15Z,"Hello guys, when i try to delete categories, i found some bugs after i click delete categories there appear ajax response message about
An unidentified error has occurred.
And also when i try save the categories the page doesn't refresh as ajax automatically, so i need manually refresh, are that a bugs or that was the new policy from WordPress, i still looking for the best solutions, any suggestions?
Or just me who find this bugs :)",tadaimushi
Future Releases,33731,Post's tags do not support accented characters,,Taxonomy,4.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-09-04T17:22:54Z,2015-09-25T15:31:34Z,"WordPress 4.3
Steps:
- create a post
- add a tag that contains accented letter like 'ü'
- save
Result:
- tags do not support utf-8 correctly? accented letter is corrupted
Expected result:
- tags correctly support utf-8 and accented letters",Cimmo
Future Releases,37542,Taxonomies in cron jobs cause problems,,Taxonomy,4.5.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-08-02T05:51:05Z,2016-08-02T10:47:25Z,"The problem is similiar to this one: #19373
I had figured out the workaround for my issue before I found the above ticket.
I created an import data from an external database. It can be called by admin manually or in daily cron jobs.
In the cron job I have to check if a taxonomy exists in my DB, so I get it with
{{{
get_term_by('slug', ... );
}}}
If user calls it everything worked fine, but in cron job didn't. I noticed the problem is in get_term_by -> taxonomy_exists.
Taxonomy_exists checks if the given taxonomy is in global $wp_taxonomies array.
I tried to use set_current_user in beginning of the cron job, but it does not work. It seems to $wp_taxonomies is set before the job.
I searched if there a hook like 'before_cron_job', but I haven't found any.
My workaround is quite silly but it works. In the beginning of my cron job callback I call:
{{{
function updateTaxonomiesForCron() {
global $wp_taxonomies;
if ( defined('DOING_CRON') ){
$wp_taxonomies['region'] = [];
}
}
}}}
I can see the problem with current_user_can for taxonomies is quite old and probably my ticket will be set as duplicated but I just want to show my case of the issue.
Best regards
Bernard
",blatan
Future Releases,14490,"function ""get cat ID"" fails if category name has an apostrophe",,Taxonomy,3.1,normal,minor,Awaiting Review,defect (bug),reopened,reporter-feedback,2010-07-31T08:25:32Z,2016-11-20T00:57:52Z,"the function get_cat_ID() fails if the category name has an apostrophe in it (maybe other characters as well??).
",iamronen
Future Releases,37909,get_terms returns array with missing cells,,Taxonomy,4.6,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-09-01T18:54:50Z,2016-09-02T15:31:05Z,"This call
get_terms( 'settings-set', array('hide_empty' => true) );
returns and array with cells 0,1,3,4,5,6 set (cell 2 is missing)
There are total of 7 terms and one is empty, so the returned terms of a complete set, but the array is broken",eddr
Future Releases,15806,get_terms with hide_empty returns count > 0 with unpublished items,,Taxonomy,3.0,normal,normal,Awaiting Review,defect (bug),reopened,needs-unit-tests,2010-12-14T00:24:21Z,2016-08-19T16:05:15Z,"Hi,
I ''think'' that's a bug.
I've defined a custom post type and a custom category taxonomy for it.
On my front end, i'm using get_terms with hide_empty to show the categories of the existing custom post type.
get_terms does ignore unpublished posts but it seems to include trashed item.
I have one category that is linked to only a trashed item and the function includes it in the count.
I can't select 3.0.3 in the version dropdown but it happened on any 3.0.x that I tried.
",bendog
Future Releases,35173,in_category function doesn't work after update to WP 4.4,,Taxonomy,4.4,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-12-20T17:26:41Z,2015-12-21T20:47:09Z,"After updating to WP 4.4 ""in_category"" function no longer works. I was able to trace the issue to ""is_object_in_term"" function:
https://github.com/WordPress/WordPress/blob/4.4/wp-includes/taxonomy.php#L4520
In that function ""get_object_term_cache"" returns empty array instead of correct terms from cache. Because it's an empty array and not false value, it doesn't try to load terms from DB, thus ""in_category"" function returns false, although term is assigned to a post.
Downgrading to WP 4.3.1 fixes the problem.",artem.kolotilkin
Future Releases,33521,manage_${post_type}_posts_columns parameters shifted,,Taxonomy,4.3,normal,minor,Awaiting Review,defect (bug),new,reporter-feedback,2015-08-23T21:28:05Z,2015-09-07T14:09:33Z,"Hello,
manage_${post_type}_posts_columns requires three parameters, however, as shown in the link below, it only uses 2.
https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-admin/includes/class-wp-posts-list-table.php#L978
The paremeters are also shifted.
The example below shows the var dump outputs in render_column_with_bug():
{{{
'posts',
'pages' => 'pages',
'category' => 'edit-category',
'post_tag' => 'edit-post_tag',
);
foreach ( $supported_post_types as $slug => $type ) {
add_action( ""manage_{$type}_columns"", array( $this, 'add_column'), 10, 1 );
// Add 3rd parameter because of bug
add_action( ""manage_{$slug}_custom_column"", array( $this, 'render_column_with_bug'), 10, 3 );
}
}
// Add new column name here
public function add_column( $columns ) {
$columns = array_merge( array(
'my_column_name' => 'column_slug',
), $columns );
return $columns;
}
// Output column contents here here
public function render_column_with_bug( $column, $post_id, $tax_id = '' ) {
$status = '';
var_dump ( $column );
/*
Outputs: column name on posts/pages
Outputs: empty string on taxonomies
*/
var_dump ( $post_id );
/*
Outputs: post id posts/pages
Outputs: column name taxonomies
*/
var_dump ( $tax_id );
/*
Outputs: empty string on posts/pages
Outputs: taxonomy id on taxonomies
*/
if ( $column == 'my_column_name' )
$status = $this->post_status();
echo $status;
}
// Output column contents here here
public function render_column_bug_fixed( $column, $post_id, $tax_id = '' ) {
$status = '';
$type = get_post_type( $post_id );
if ( !empty ( $tax_id ) && ! $type ) {
$column = $post_id;
$screen = get_current_screen();
$type = $screen->id;
}
if ( $column == 'my_column_name' )
$status = $this->post_status();
echo $status;
}
public function post_status() {
// render output
}
}
new Example_Class();
}}}",Cybr
Future Releases,38508,wp_insert_term and [term_taxonomy_id] => 0 ),,Taxonomy,4.6.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-10-26T09:04:39Z,2016-10-28T16:47:40Z,"Hello,
I use WordPress version: 4.6.1 and WooCommerce version 2.6.6 with XAMPP/WIN7.
I want to import categories from osCommerce and i have some categories with [term_taxonomy_id] => 0 and no record in wp_term_taxonomy after wp_insert_term.
I think this is a bug. If no record in wp_term_taxonomy is created a error should come.
{{{
$parent_term = term_exists($line[""parent_categories_name""], 'product_cat');
wp_insert_term(
$line[""categories_name""],
'product_cat',
array(
'description'=> $line[""categories_description""],
'slug' => $line[""categories_slug""],
'parent'=> $parent_term['term_id']
)
);
}}}",staticweb
Future Releases,37042,Additional filter for has_category function,,Taxonomy,4.5.2,normal,normal,Awaiting Review,feature request,new,reporter-feedback,2016-06-07T07:27:25Z,2016-06-08T04:21:07Z,"Our plugin translates categories and posts. Let's assume we have two languages:
- original: English
- second: French
We defined category ""test"" and its translation ""test-fr"". The category is assigned to the post in such way that English post has English category and vice versa.
Currently, when we call has_category(""test"") in single.php file, it returns true only for the English post ( because French one does not have ""test"" category but ""test-fr"" ). We expect that result will be true in both cases.
----
For this reason, we need some filter inside ''is_object_in_term'' function, similar to ""get_object_terms"" inside ""wp_get_object_terms"" function. It will give as opportunity to adjust ""has_category"" behaviour to out requirements. ",jakubbis
Future Releases,35978,.hentry in post_class causes errors in Google Webmaster Console,,Themes,4.4.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-02-27T16:45:51Z,2016-02-27T16:54:35Z,This causes webmaster tools errors in almost all themes where author or update isn't displayed. I fixed this error by removing .hentry with a filter but that causes design errors in Wordpress default themes instead. The hentry class should not be activated by default and definitely not be used for css styling. ,rkjellberg
Future Releases,35036,Error on page title,,Themes,4.4,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-12-12T17:03:18Z,2016-04-05T10:42:43Z,"Hello
After update to Wordpress 4.4 the title of my homepage (I am using a custom page) change
Before update the title was
MyWebsiteURL
After update the title is
HOME - MyWebsiteURL
Note - HOME is the name of the page on WordPress
Thanks for support",ramonjosegn
Future Releases,26546,themes.php Buttons Randomly Appear/Disappear on iPad,,Themes,3.8,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2013-12-11T20:31:24Z,2015-10-05T15:58:52Z,This was patched for #26481 but that patch didn't work.,miqrogroove
Future Releases,37587,Inconsistency on deleting plugin/theme on WP 4.6,,Themes,4.4,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2016-08-05T17:41:22Z,2016-08-05T18:13:33Z,"On delete plugin admin-ajax call see
https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/ajax-actions.php#L3821
the actions delete_plugin see
https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/plugin.php#L846
and deleted_plugin see
https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/plugin.php#L865
are missing from theme deletion.
Please consider adding this patch in 4.6 as the realease is imminent and the patch is realy just for the sake of consistency.
",olarmarius
Future Releases,25671,get_theme_mods does not have a filter,,Themes,,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2013-10-23T15:38:08Z,2015-09-13T10:43:21Z,"I am making use of the Theme Modifications API for the first time and using it to store theme customisation options controlled via the theme customiser.
I hit an issue when previewing customisation changes using the refresh transport. The theme modifications functions are not aware of the `$_POST'd` changes coming from the theme customiser.
Let's say a user has changed a heading colour from red to blue and not yet hit save. The `get_theme_mod('heading_colour')` function is still returning red in the preview panel. This bug does not overly concern me (it may be that way by design) but to get around it it would be handy to be able to filter get_theme_mods (see patch).
For now I have gone higher up in the API and used a filter on `get_option`:
{{{
add_filter( 'option_theme_mods_' . $theme_slug)
}}}",scottsweb
Future Releases,34792,Adjust auto-scrolling position when the caret is above the top of the editor tools by specific browsers,,TinyMCE,4.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-11-26T05:57:17Z,2016-05-25T19:36:49Z,"There is the case that the caret had been hidden under the editor tools by it does not working auto scrolling when it move the caret to top and the editor-expand is enabled.
Such occured case is as follow:
||= Browsers =||= editor-visual =||= editor-text =||
||= Safari(webkit) =|| ok || ng ||
||= Chrome(blink) =|| ok || ng ||
||= Firefox(mozilla) =|| ng || ok ||
||= IE11 =|| ok || ok ||
||= Opera(blink) =|| ok || ng ||
",ka2
Future Releases,32583,Bringing a sentence/word back a line deletes an underline and dissociates the text after it,,TinyMCE,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-06-08T09:35:45Z,2015-07-26T06:48:30Z,"Hello,
When I want to bring a title of a paragraph a line up with a backspace on my keyboard, it deletes the underline on this word sentence and also dissociates the text that was connected to this word, creating a weird space in between (like it's not part of the paragraph anymore).
For more info: http://imagizer.imageshack.us/a/img673/9822/lDRTgk.gif
I'm on Chrome Version 43.0.2357.81 (64-bit), OS X 10.10.3
Thank you in advance. ",Moshe1010
Future Releases,33249,Hardcoded styles in preview should be filterable,,TinyMCE,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-08-03T21:59:46Z,2015-08-05T06:57:10Z,"I noticed the wp.media.views.sandboxStyles setting was removed from the mce-views Javascript.
Very well, maybe it's redundant to have it coming from the head portion of the JSON response, and having it in a JS place that can change, is redundant. I looked for the filter to add the necessary styling scripts to style the wp-playlist or other views from the head part of the JSON response to the parse-media-shortcode request, and I found it's ''still'' hardcoded in the function wp_ajax_parse_media_shortcode calls:
{{{
function wpview_media_sandbox_styles() {
$version = 'ver=' . $GLOBALS['wp_version'];
$mediaelement = includes_url( ""js/mediaelement/mediaelementplayer.min.css?$version"" );
$wpmediaelement = includes_url( ""js/mediaelement/wp-mediaelement.css?$version"" );
return array( $mediaelement, $wpmediaelement );
}
}}}
So, there is effectively ''no way'' that one can add the proper previewing style for their theme's players into wp-view system now.",programmin
Future Releases,28070,Nested alignment breaks,,TinyMCE,3.9,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2014-04-30T08:40:33Z,2015-12-03T17:44:06Z,"Steps to reproduce:
1. Create a new post and paste the following in text mode, then switch back to visual mode. This is equal to adding a paragraph, inserting a small, left aligned image, and aligning the paragraph to the right.
{{{

This is a paragraph.

}}}
2. Select the image by clicking on it. '''Now you'll see that both the 'align left' and 'align right' buttons are active.'''
6. Try to align the image to the right by clicking on the 'align right' button (which is already active) in the toolbar. It won't work. The `alignleft` class will be removed, leaving the image without alignment.
The first problem happens both in trunk and 3.9. Not in 3.8.
The second problem happens in all of the above, and probably in earlier versions too.",iseulde
Future Releases,35035,Not possible show advanced image settings on Notebook,,TinyMCE,4.4,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-12-12T17:01:01Z,2015-12-12T18:13:14Z,"Hello dears
In Wordpress 4.4 on Notebook computer when open Advanced Image Settings NOT open
Please, fix, thanks",ramonjosegn
Future Releases,37066,Paragraph after break line isn't maintained when saving,,TinyMCE,4.5.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-06-09T17:52:58Z,2016-10-07T13:46:21Z,"Reproduce:
Write a new post and do the following:
* Write few words
* Shift + Enter (to break line)
* Write few words
So now you'll have something like that:
{{{
First line..
Second line..
}}}
Now, between the first and the second line, click enter. You will get this
{{{
First line..
Second line..
}}}
You will also see the space between the two lines in the editor.
Now save or switch to html mode
Expected:
Two paragraphs, and space between the two lines.
Current Result:
One paragraph, no space between the two lines.",rellect
Future Releases,35397,Rich Excel or Table Formatting Error on WP4.4.1,,TinyMCE,4.4.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-01-11T07:32:28Z,2016-03-04T17:05:22Z,"Hi
Error on pasting Excel table to the visual editor after updating to 4.4.1 Clifford from 4.1. It strips and remove the format and borders. https://wordpress.org/support/topic/error-excel-tablet-format-not-working?replies=2
I already submitted this to the support forum and search for the solution but havent found a concrete solution yet.
Our theme provider also tested it with the default WP theme and got the same problem. They said it is because of the Wordpress editor and not the theme provider.
I really hope you would guys check this and fix if found true.
Thanks.",gadjade
Future Releases,32273,TinyMCE results in lost data if post save fails and back button is clicked,,TinyMCE,4.2.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-05-06T22:51:28Z,2016-06-04T00:07:16Z,"Here's a pretty annoying and destructive behavior that I'd like to figure out how to address.
Consider a scenario where an error occurs when you submit an update (let's say what's about to become revision 2) to a post (revision 1). When you click Back to go to the previous screen, expecting your updated version (2) to still be there, you'll actually observe that the original revision is there instead (1), thus losing your changes to 2 entirely.
That's exactly what's happening to us because of a content validation function that returns a wp_die() with a relevant error message displayed to the writers when an error is detected (there is a set of house rules, like no hotlinking of images, no double spacing, etc.). The idea is that if an error is detected, a message is shown, the error is corrected, and only then is the post allowed to save.
So what is causing the revision that was there when the page originally loaded rather than the most recently entered text to show up when you return to the page? Is that TinyMCE logic clobbering what one would expect to be saved submitted form data?
Is there a workaround to disable this behavior?",archon810
Future Releases,32777,Visual Post Editor is missing - Firefox dev console shows incorrect include link for tinymce,,TinyMCE,4.2.2,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2015-06-24T09:44:07Z,2015-07-19T18:45:56Z,"My client mentioned that the visual editor was showing white with no toolbars available. This is a new site, and had recently updated to WP 4.2.2. After searching various items on web, went in to look around. I deactivated and removed all plugins. Site is using Twenty Fifteen theme. Logged out, cleared cache, logged in again, still not working.
Downloaded wordpress 4.2.2 from wordpress.org to local computer. In webhost, deleted all wordpress files aside from wp-config.php and wp-content directory.
I uploaded new wordpress files from wp 4.2.2 download to web server. Visited site, verified that it is working correctly. Logged in. At this point, there are no plugins installed. Site has 1 post and 3 pages added.
Went to Add New post, Visual Editor still not showing.
Opened Firefox Web Develop web console and reloaded Add New post page.
Console window listed the following:
02:01:46.573 ""Failed to load: http://experiencelanguage.org/wp-admin/http:/wp-includes/js/tinymce/plugins/media/plugin.min.js""1 tinymce.min.js:4:2622
This repeats for every "".js"" file in the tinymce plugins directory. I am attaching a screenshot of the errors.
Looking at the url, it is obvious why it is failing, as the url is a concatenation of two different paths. I am not sure where this mashing together is occurring, or how to correct it.
Any assistance would be very much appreciated.
Thanks,
Russell Mercer
",getspatial
Future Releases,37498,WYSIWYG Error?,,TinyMCE,4.5.3,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-07-28T12:45:03Z,2016-10-10T23:56:26Z,"I think there is a problem with opening and closing

tags if an

is inserted into an paragraph.
For example, if I have the following text in my editor:
{{{

}}}
",SPiNNdevs
Future Releases,37805,Enhancement: TinyMCE - Add ability to detect www links,,TinyMCE,4.6,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2016-08-24T00:41:29Z,2016-08-30T21:25:31Z,"Currently TinyMCE doesn't detect www links without {{{http://}}} in front of them.
This means that the workflow for making {{{www.url.com}}} into a link is Select Text -> Press Link Button (or Ctrl+k) -> Type (or copy/paste) text into link dialogue, while the workflow for an {{{http://}}} is simply Link Button (or Ctrl+k) -> Enter.
Since www is still pretty common for canonical urls, it seems like it would be useful to include detection of www links in TinyMCE, and avoid the extra step, and improve this workflow. This would especially benefit more basic users (who may not realize they can c/p and Ctrl+k in the first place) by making the WordPress experience friendlier and faster for them.",lunacodes
Future Releases,38045,"""unable to completely remove plugin"" after upgrade WP 4.6",,Upgrade/Install,4.6,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-09-13T22:31:01Z,2016-09-30T04:08:03Z,"We have a multisite sporting primarily Genesis on WP Engine with SSL.
All updating was working prior to the 4.6 upgrade, at which point plugin removal attempts resulted in:
""Unable to completely remove plugin"" error messages.
When the WP version was walked back, we were able to update again. ",wiredpinecone
Future Releases,36408,CSS outline for input fields in the install.php file,,Upgrade/Install,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-04-04T06:46:01Z,2016-04-06T14:28:21Z,"Using Tab keys on the install page doesn't seem to outline the checkbox (to discourage site from indexing) on focus
",Sidmetal98
Future Releases,35453,Document what installation mode is in inline docs,,Upgrade/Install,3.0,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-01-14T04:44:36Z,2016-09-23T10:48:09Z,"Boone had a good description of installation mode in r34828.
Let's bring this in somewhere useful in inline documentation, as its functionality is not immediately clear without some back story.",ericlewis
Future Releases,38273,HTTPS install is broken,,Upgrade/Install,4.6.1,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-10-09T22:18:16Z,2016-10-10T09:56:27Z,"HTTPS install results in no admin access.
== ENV ==
OS: CentOS7 (Both reverse proxy and apache server)
Nginx: 1.10.1 (Default package)
Apache: 2.4.6 (Default package)
PHP: 7.1RC3 (remi-php71 repository)
== STEP ==
1. Set up web system so that only HTTPS is used. All HTTP traffic is redirected to HTTPS by nginx reverse proxy, backend web server is apache that only waits HTTP.
(""{{{ add_header Content-Security-Policy upgrade-insecure-requests; }}}"" is needed for nice installation page, but this is minor issue)
2. Add {{{ $_SERVER['HTTPS']='on'; }}} to wp-config.php to avoid redirect loop.
3. Install new wordpress to the server.
4. Login with the new account created.
5. Login succeeds, but the account does not have any admin page permission.
Since the first admin account cannot do anything, system is completely unusable.
=== NOTES ===
Install with HTTP then switching to HTTPS results in the same. i.e. Change site url config to https:// from http://.
This could be 7.1 bug. I don't see any PHP errors in log.
",yohgaki
Future Releases,33909,The `home` option not equivalent to the WP_HOME constant value in multisite and single instance,,Upgrade/Install,3.0,normal,normal,Awaiting Review,defect (bug),new,dev-feedback,2015-09-17T07:41:18Z,2016-07-13T03:22:42Z,"Hi,
for this issue, I'm running a multisite instance with custom WordPress and wp-content directory paths where I set the constants '''WP_SITEURL''' and '''WP_HOME''' values as follow:
* WP_HOME: http://mydomain.com/
* WP_SITEURL: http://mydomain.com/cms (where WordPress is installed)
All the process during the installation is working perfectly and the multisite instance is installed as expected...except when you click on the admin toolbar button '''Visit site''' for example.
Here is the issue, the site URL is set as '''http://mydomain.com/cms''' where it should be '''http://mydomain.com'''. This issue is becoming a user experience issue because both URLs with and without the '''cms''' URI are working. But all anchor tags href attribute have the wrong value.
When looking at the database '''wp_options''' table, we can see that both '''home''' and '''siteurl''' options have a value of '''http://mydomain.com/cms''' which should only be '''siteurl''' with this value.
I'm filling this issue mainly for multisite because the anchor tags used to visit the site have the wrong value but note that even for single WordPress installation, the options values are wrong in the '''wp_options''' table. Both have the same value where only the '''siteurl''' should get '''cms''' URI in this example. But when you're on a single instance all anchor tags href attributes have the correct URL in order to visit the site where in multisite they are wrong.
So there are 2 things to look at here probably:
* First why the '''wp_options''' values are not equal to the set constants '''WP_HOME''' and '''WP_SITEURL'''?
* Second, why in a single instance URLs are correct (even if values in the database are wrong) and not on multisite?
Best regards",jlambe
Future Releases,36310,a small fix for endless update nagging in latest hhvm,,Upgrade/Install,3.7,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-03-23T18:18:29Z,2016-08-10T14:18:31Z,"On `[php] => 7.0.99-hhvm`
on [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/update.php#L107 this line] the null parameter makes the `http_build_query` return null, causing the ""please update!"" message of doom, changing it to false solves it.",natostanco
Future Releases,20437,WP Upgrader filter to allow plugins to upload to existing directory,,Upgrade/Install,3.3.1,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2012-04-13T16:52:30Z,2015-08-04T18:00:49Z,"Our plugin for WP uses various elements of the WP upgrader class to manage plugins for our plugin. ;) This has worked great except when we went to extend it further and allow uploading of plugins through the WP Upgrader class much like you can with WP plugins.
The issue is that currently, the WP Upgrader class is coded to expect the upload destination to be empty - EXCEPT if the upload destination (the base directory) is one of these hard coded locations:
in_array( $destination, array(ABSPATH, WP_CONTENT_DIR, WP_PLUGIN_DIR, WP_CONTENT_DIR . '/themes') )
So since our plugin storage location is not one of those, it fails since there may already be some plugins there.
Sure would be nice if that array of locations that does not have to be empty (the important base dirs which allow dropping down a directory level)... a simple filter would accomplish this...
Hope its not too late in 4.3 for a simple filter...",usermrpapa
Future Releases,33963,New function: `upload_url()`,,Upload,,normal,normal,Awaiting Review,enhancement,new,reporter-feedback,2015-09-22T12:32:57Z,2016-01-22T18:33:08Z,Retrieve the url to the uploads directory.,sebastian.pisula
Future Releases,38711,Invalid Cookie domain for wp-settings-time-*,,Users,,normal,normal,Awaiting Review,defect (bug),new,reporter-feedback,2016-11-08T14:58:21Z,2016-11-08T17:45:13Z,"I have set cookie domain
{{{#!php
false,
'data' => array(
'message' => __( 'Sorry, you are not allowed to upload files.' ),
'filename' => $_FILES['async-upload']['name'],
)
) );
wp_die();
}
}}}
Thanks for your help. ",JazZ7
Future Releases,34601,"Reinstating ""no role for this site""",,Users,4.3.1,normal,normal,Awaiting Review,defect (bug),reopened,reporter-feedback,2015-11-06T11:32:36Z,2016-05-05T20:54:28Z,"On a multisite installation when relegating a user to ""no role for this site"" they disappear from the user listing. In the network user admin area they are still available but there isn't a way to reinstate them even if they are set to a Super Admin here. This is all as expected.
On each child site when trying to add an existing user they can't be found as the options in the select menu don't include ""no role for this site"". This is where I think the bug needs fixing.
There is a way to reinstate them by copying the user-edit.php url and changing the user_id to theirs.",keiron77
Future Releases,38723,Widget correct number is not displayed into the global $wp_registered_widgets array,,Widgets,4.7,normal,normal,Awaiting Review,defect (bug),reopened,close,2016-11-09T01:11:14Z,2016-11-20T00:57:52Z,"When displaying the array on the page (widget.php)...
{{{#!php
';
print_r( $wp_registered_widgets );
echo '';
}}}
I get the widget number value incorrect, it is the maximum number of widgets of the current widget type.
'''How to replicate my problem?
1. Fresh install
2. Drag 2, 3 or more widgets to a sidebar
3. paste the this code in the functions.php file of the theme..
{{{#!php
';
print_r( $wp_registered_widgets );
echo '';
} add_action( 'widgets_admin_page', 'show_registered_widgets' );
}}}
4. Go to widgets.php page and you will see a big array with all widgets
Find the widgets you added to the siderbar, and if you look close in the that object of the widget array, you can find that the number is incorrect.
Take a look to this screenshot of what you will see...
http://alexvorn.com/wp-content/uploads/2016/11/why3.png
",alexvorn2
Future Releases,35475,New functions: `current_widget` and `current_widget_id`,,Widgets,,normal,normal,Awaiting Review,enhancement,reopened,reporter-feedback,2016-01-15T16:08:56Z,2016-01-31T20:22:32Z,"This is alternative for ticket #35456. In widgets we can use different filters and actions. For example we use the_title filter but in widget we don't want (this is abstract example). So:
{{{#!php
0.01, 'blocking' => false));
When making a request to wp-cron.php, it won't return until all cron jobs are executed. And 0.01 is just too short time span. It doesn't hurt to give it sufficent time, such as 10 minutes. It will return as long as the mature crons are fired up and executed (in most cases, it's going to be at most a few seconds ).
",hailin
Future Releases,30964,Color picker doesn't handles empty values from javascript correctly,,Customize,4.1,normal,normal,Future Release,defect (bug),new,reporter-feedback,2015-01-09T10:25:41Z,2015-01-23T18:30:16Z,"I have one template which is highly customizable and I created ""subtemplates"" from that by javascript using the wp.customize api. (more detail: #30951)
If I set empty for color in one subtemplate and I changed from a subtemplate which had this color set, then the color value is empty, but the color box, beside the input is colored.
`api.instance('background_color').set('');` ""Customize"".
The problem appears to be that when running ""Customize"", the WP_Query object is started with an empty string. When the query is empty, then `is_front_page` looks at the value of `get_option( 'show_on_front')` and if it is set to ""posts"" it checks `is_home` - which resolves to `true` when the query is empty.
On the other hand, if `get_option( 'show_on_front')` resolves to ""pages"", `is_front_page` then checks `$this->is_page( get_option( 'page_on_front' ) )` which never resolves to true when starting with an empty query.
The problem with `is_page` not responding correctly `get_option( 'show_on_front') == ""pages""` is that `WP_Query::__construct()` will not do anything if `empty($query)` and will not run `WP_Query::query()` - which would in turn run `get_posts()` and then `parse_query` only there does `get_option('show_on_front')` gets resolved and `is_page` is set if needed.
Tested on 4.5.1, but the code paths I traced exist without change in trunk. I'm running my tests on a mutli-site set up, so that might also contribute to the issue, but not in anyway I managed to detect.",Guss77
Future Releases,31798,Editor: switch undo and redo in RTL,,Editor,,low,normal,Future Release,defect (bug),new,reporter-feedback,2015-03-29T11:35:54Z,2015-08-06T06:58:10Z,"The undo and redo icons in RTL should we switched.
LTR:
https://cloudup.com/cHOxlUfHbAp
Current RTL:
https://cloudup.com/cizBcGBMkCa
Proper RTL:
https://cloudup.com/cSCyiF_HxMA
",yoavf
Future Releases,16925,Move the WP_Filesystem_SSH2 class to a plugin,dd32*,Filesystem API,,normal,normal,Future Release,defect (bug),accepted,reporter-feedback,2011-03-22T00:16:08Z,2015-01-01T15:29:04Z,"I'd like to consider moving the WP_Filesystem_SSH2 class out of WordPress core and into a plugin.
The reasoning for this is simply due to the fact that the majority of users will not use it, It already requires the PHP extension to basically be custom-compiled (thanks to limited installations coming with the extension).
In my opinion, This would be better served in a plugin, potentially with a PHP-based version as well: #10348",dd32
Future Releases,22951,Performance enhancements for esc_url(),schlessera,Formatting,2.8,normal,normal,Future Release,defect (bug),assigned,dev-feedback,2012-12-15T04:36:03Z,2016-12-04T21:54:31Z,"`esc_url()` gets used a lot on WordPress admin pages. Sometimes 100 times or more. Nacin did some KcacheGrind measurements that had it as 7% of some pages. We can speed it up.
Most of the grind comes from `wp_kses_bad_protocol()`.
I had a thought that we're sort of going about things backwards. We're being very careful to exclude anything harmful — bad characters, bad protocols, duplicate fake-out protocols, etc. But almost 100% of the time, the URL going through it is a http/https URL that has completely normal characters in it. We can detect that really early, and bail.
I did some tests with this approach that showed a good time savings.
Quite obviously, there's no room to compromise on security, so we'll need to be watching unit test, and maybe even writing some new ones for good measure.",markjaquith
Future Releases,29606,Reorder images via drag and drop is not working in WP 4,adamsilverstein,Gallery,4.0,normal,normal,Future Release,defect (bug),assigned,close,2014-09-09T19:56:57Z,2016-11-02T10:08:34Z,"When I create a gallery and then try to reorder the images via drag and drop, it does nothing. In WordPress 3.9 it was working, but not in WP 4.
I have tried this with Firefox in a fresh WP installation with no plugins, using both twenty-fourteen and _s theme.",gsarig
Future Releases,34796,Facing an issue when using wp_remote_get with streams (non-blocking mode),rmccue*,HTTP API,4.3.1,normal,normal,Future Release,defect (bug),accepted,reporter-feedback,2015-11-26T22:45:06Z,2016-10-05T03:43:39Z,"On some hosting providers (like wpengine.com) I've encountered an issue when using wp_remote_get with streams (non-blocking mode) which on the other hand uses PHP native functions stream_socket_client, stream_context_create and stream_set_blocking. The issue is that HTTP request (non-blocking) never succeed, it just hangs/stuck on the initial call of stream_socket_client and neither errors or exception are generated. I've investigated the issue deeper and it seems that many people over the Internet have it. The issue can be resolved after invoking stream_socket_client we put usleep(5000) and then stream_set_blocking($handler, 0). It seems that the initial time for stream_socket_client is not enough and that's why it needs more time in order to process the HTTP request.
PHP Bugtracker
https://bugs.php.net/bug.php?id=64803
WordPress 4.3.1
PHP 5.5
Is it possible to add additinal parameter on wp_remote_get or if there is any other way to achieve setting usleep parameter will help us to precisely configure HTTP requests.
I am adding patch file",bangelov
Future Releases,33227,"""Delete Permantently"" Only Deletes Original Size (UTF-8 file names)",,Media,4.1,normal,normal,Future Release,defect (bug),new,reporter-feedback,2015-08-01T11:38:50Z,2016-05-11T01:55:26Z,"- Use any standard image (for example 1024 x 768 px).
- Name it `Example.jpg`
- Upload image
- Delete image
- Check FTP, all image sizes deleted.
Now you can rename this file as `Žlutý kůň.jpg`, upload it and then delete. Only original full size was deleted, all other generated sizes are preserved on server. I found this problem when examined website with many forgotten images, which were not deleted as expected...",pavelevap
Future Releases,35092,Remove crop check in wp_prepare_attachment_for_js() for sizes,joemcgill,Media,3.5,normal,normal,Future Release,defect (bug),reviewing,reporter-feedback,2015-12-15T02:20:36Z,2016-06-01T21:49:19Z,Currently only cropped images generated on the fly are displayed. This due to a {{{! $downsize[3] }}} check. This change was made in #22598 and with the patch supplied I deleted this check. then medium/large does show up.,markoheijnen
Future Releases,31071,media / post_mime_type related queries are very slow on larger sites,pento,Media,4.1,normal,normal,Future Release,defect (bug),assigned,dev-feedback,2015-01-20T11:34:23Z,2016-09-22T22:09:33Z,"Hey guys,
Remember #27985? It was about a slow query that did probably a full table scan, which was then replaced with two queries:
{{{
SELECT ID
FROM wp_posts
WHERE post_type = 'attachment'
AND post_mime_type LIKE 'video%'
LIMIT 1
}}}
{{{
SELECT ID
FROM wp_posts
WHERE post_type = 'attachment'
AND post_mime_type LIKE 'audio%'
LIMIT 1
}}}
On a busy server with 285k entries in wp_posts, this query is taking 5-7s each. And it takes forever to save/open an edit post screen.
The main problem is that there's not a proper index for it to use.
Running EXPLAIN shows this:
{{{
+----+-------------+----------+------+------------------+------------------+---------+-------+--------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+----------+------+------------------+------------------+---------+-------+--------+-------------+
| 1 | SIMPLE | wp_posts | ref | type_status_date | type_status_date | 62 | const | 161195 | Using where |
+----+-------------+----------+------+------------------+------------------+---------+-------+--------+-------------+
1 row in set
}}}
I'm not really sure why such an unoptimized query would be put in place, but the index on (`post_type`, `post_mime_type`) fixes it:
{{{
+----+-------------+----------+-------+--------------------------------------+---------------------+---------+------+------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+----------+-------+--------------------------------------+---------------------+---------+------+------+-------------+
| 1 | SIMPLE | wp_posts | range | type_status_date,post_type_mime_type | post_type_mime_type | 364 | NULL | 1 | Using where |
+----+-------------+----------+-------+--------------------------------------+---------------------+---------+------+------+-------------+
1 row in set
}}}
The query now runs in 0.2s.",archon810
Future Releases,31236,wp_ajax_upload_attachment does not properly handle situation when post_id is set,,Media,4.1,normal,normal,Future Release,defect (bug),new,reporter-feedback,2015-02-04T23:13:47Z,2015-03-25T11:53:38Z,"In the wp_ajax_upload_attachment function of wp_admin/includes/ajax_actions.php, it appears that the wrong capability is checked by the current_user_can function if post_id is set in the $_REQUEST object. At line 1845, this code exists:
if ( ! current_user_can( 'edit_post', $post_id ) )
As far as I can tell, edit_post is not a valid capability. I was building a custom post upload for my site that allowed certain users to add media. I had given them the edit_posts capability and they were still receiving the error message ""You don't have permission to attach files to this post."" Once I changed this line of code in wp-admin to:
if ( ! current_user_can( 'edit_posts', $post_id ) )
it worked as expected.",johncacpro
Future Releases,11895,Allow more specific image size editing,,Media,,normal,normal,Future Release,feature request,new,dev-feedback,2010-01-14T15:12:28Z,2016-10-09T18:35:32Z,"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
Future Releases,30628,Plupload improvements,,Media,4.0.1,normal,normal,Future Release,feature request,new,reporter-feedback,2014-12-08T16:55:14Z,2015-09-10T20:25:31Z,"Hi, guys!
I just want to create custom output with data, that uploaded via '''Plupload''', so it's impossible, i spaent a day to get uploaded ID from javascript, nothing.. But i need to customize output data after Plupload uploaded it. So my solution is make some changes at '''/wp-admin/async-upload.php''' when we switch
{{{
$_REQUEST['fetch']
}}}
, maybe possible to add '''case 4''' with someting like
{{{
do_action('plupload_custom_success_data', $id);
}}}
Is it possible?",tigusigalpa
Future Releases,26993,Menu notice,,Menus,3.8,normal,normal,Future Release,defect (bug),new,reporter-feedback,2014-02-03T06:29:50Z,2015-09-07T16:51:09Z,"This is a follow-up to #13958.
This notice again showed up with 3.8.1.",kcssm
Future Releases,27289,Add populate_network action,,Networks and Sites,,normal,normal,Future Release,enhancement,new,reporter-feedback,2014-03-06T04:31:42Z,2015-12-03T16:55:57Z,"At the moment, `populate_network_meta` is the only hook available to do extra work when a new network is created. However, this is called before the initial site is created when installing the first network. This means it's impossible to do certain things on network creation, such as creating new sites.
(I want to be able to create a new site on network creation so that the network always starts with two sites: the migrated main site and another site.)",rmccue
Future Releases,25344,Introduce *_network_meta() functions,,Networks and Sites,3.0,normal,normal,Future Release,enhancement,reopened,reporter-feedback,2013-09-17T17:33:44Z,2016-11-07T19:11:22Z,"The `get_metadata()`, `update_metadata()`, `delete_metadata()`, and `add_metadata()` functions are abstracted well enough for posts, comments, and users that adding in wrappers for network meta is pretty straight forward.
The attached patch introduces `get_network_meta()`, `update_network_meta()`, `delete_network_meta()`, and `add_network_meta()`.
A few caveats:
* The table we're pulling from is sitemeta, which is a bummer. While the functions are named `*_network_meta()`, we still end up passing `site` as a parameter to the wrapped function. As it stands, any filters available would still need to use `site` rather than network. There's a chance we can work around this with some logic on the underlying functions, but I didn't go that far yet.
* Certain network meta likely has more consequence when removed. It may be worth protecting a few of the meta keys so that they are validated properly and are not deleted. See next point.
* This may or may not belong as part of an overall Network strategy that includes better structure around what a WP_Network object looks like and requires. That thought probably belongs somewhere else. :)
",jeremyfelt
Future Releases,19949,Make update_post_thumbnail_cache() work for any instance,,Post Thumbnails,,normal,normal,Future Release,enhancement,new,dev-feedback,2012-02-02T22:40:03Z,2016-04-18T10:33:37Z,"It would be useful if update_post_thumbnail_cache() [17883] would accept an optional $wp_query parameter, so that users aren't forced to use query_posts() in order to benefit from it.",scribu
Future Releases,13701,Full support for middle and little endian permalink structures,,Rewrite Rules,2.9.2,normal,normal,Future Release,enhancement,reopened,needs-unit-tests,2010-06-02T14:34:08Z,2015-10-07T02:20:27Z,"This only happened after I switched over to the WordPress 3.0 development version, so I'm inclined to think it's a bug. When I use the traditional wp_get_archives or the dropdown version it shows that posts exist. However, when I click to go to any of those past posts, I only get a 404 Error. This problem is very consistent, happening 100% of the time. Disabling all plugins has no affect on the problem.
The only other information that might be helpful is that I've integrated WordPress into a website that I built and I am using a custom theme that I built. It only has the index.php, single.php, and style.css files.
Again, the wp_get_archives function worked just fine with the exact same setup that I have now prior to switching to the 3.0 version, so I'm not sure what changed.",RevelationTravis
Future Releases,38892,"Twenty Seventeen: A ""Page Content"" Section Option would be nice",,Themes,,normal,normal,Future Release,feature request,new,dev-feedback,2016-11-21T19:03:21Z,2016-11-28T22:52:57Z,"Sorry if this has already been talked about, but in testing out Twenty Seventeen, there's 1 thing that I wish I could do with the Front Page theme options sections.
For my use-case, the WordPress page gets used as a placeholder for the root/front of the website, and is either empty or not the predominant content for that page. I'd like a way to deemphasize it, remove it entirely, or have ""Page Content"" (or something) as a Section instead.
And if `the_content` or `post_title` for the home page are empty, I think that section doesn't end up looking right. I also think it's /fairly/ common amongst the heavier WordPress themes to not force the home-page content into the output of the home-page anywhere, so I'm creating this ticket in case I'm not alone in missing this experience.
Sorry again if this is a duplicate. I had a hard time searching around since any combination of 'front page theme option customizer sections' return Brazilian's of results.",johnjamesjacoby
Future Releases,35776,Installation pages do not have forms.css enqueued,bassgang,Upgrade/Install,,normal,normal,Future Release,defect (bug),assigned,reporter-feedback,2016-02-08T15:07:45Z,2016-06-07T16:48:36Z,,iseulde
Future Releases,33602,is_active_sidebar returns true when widget has been deactivated,,Widgets,4.3,normal,normal,Future Release,defect (bug),assigned,reporter-feedback,2015-08-30T03:10:32Z,2015-09-09T12:59:17Z,"When I activate a plugin (in this case Ultimate Social Media and Share icons)
Add the widget to my sidebar area
Deactivate the plugin
The widget is no longer visible in the sidebar
BUT
is_active_sidebar still returns true",karlikdesign
Future Releases,18602,"Media Library imported, but all items Unattached",,Import,3.2,normal,normal,WordPress.org,defect (bug),new,reporter-feedback,2011-09-06T10:10:18Z,2015-09-02T04:02:25Z,"Export XML file from one site, import into another site. By checking ""Download and import file attachments"", files from wp-content/uploads are downloaded correctly to the new site, and added to Media Library. However all items in the Media Library are now ""Unattached"", and for example posts using [gallery] are broken on the new site. ",awallin
Future Releases,16404,WordPress Importer fails to import images,,Import,3.0.4,normal,normal,WordPress.org,defect (bug),new,reporter-feedback,2011-01-29T00:42:28Z,2015-07-10T14:57:55Z,"WordPress Importer fails to import images and update image src urls when download and import file attachments is checked.
WordPress MS with images in a post via Media using WP image mapping, e.g. image url: http://site.domainname.com/files/2011/01/myimage.jpg
Fails to download, import and update image src url. All image src urls remain intact from the old domain name.
If you change the image source to specific directory rather than the WP uploads directory: e.g. image url:
http://site.domainname.com/images/myimage.jpg
Images are downloaded and imported to media but it fails to update image src url in posts. All image src urls in posts remain intact from the old domain name.
I tested this on clean install of WP 3.0.4 MultiSite with TwentyTen theme and no other plugins activated.",wlpdrpat