From noreply at wordpress.org Fri Apr 1 00:12:27 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 00:12:27 -0000
Subject: [wp-trac] [WordPress Trac] #36391: Create a hook to handle plugin
CSS?
Message-ID: <054.d10f84614fb87ec58181fceb2b85db0f@wordpress.org>
#36391: Create a hook to handle plugin CSS?
-----------------------------+-----------------------------
Reporter: CarlosRios | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: trunk
Severity: normal | Keywords:
Focuses: performance |
-----------------------------+-----------------------------
I'm not sure if this has been suggested before, but it would be really
cool if there was a hook for plugins that would allow them to add their
css to a css file that is generated and enqueued automatically when that
hook is not empty.
This would be done to prevent plugins such as Visual Composer, from
loading all of their custom css in the
of the page which can be bad
for caching. Instead they would hook in, add their css, and then the css
would be added to a single file along with all of the other css that has
been hooked to it.
{{{
add_filter( 'options_css', 'add_my_plugin_css' );
function add_my_plugin_css( $hooked_css ) {
$bg_color = get_option( 'header_background_color' );
$hooked_css .= '#header{background-color:'.$bg_color.';}';
return $hooked_css;
}
}}}
This code would then be hooked, sanitized, and minified, and then enqueued
where it needs to be. I'd even suggest that the name of the css file could
be wp-options.css or options.css
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 00:14:27 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 00:14:27 -0000
Subject: [wp-trac] [WordPress Trac] #36389: Selective refresh for
widgets gets lost once `refresh` is used
In-Reply-To: <056.31d17f8308b4a3c3b101ccf229595b2b@wordpress.org>
References: <056.31d17f8308b4a3c3b101ccf229595b2b@wordpress.org>
Message-ID: <071.ad94ec8c723ff09bf386971cbdcffcf6@wordpress.org>
#36389: Selective refresh for widgets gets lost once `refresh` is used
-------------------------------+------------------------------
Reporter: scamartist26 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Resolution: invalid
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by scamartist26):
I wanted to add a note of my findings in case this behavior is seen by
others. I placed the following code in a `mu-plugins` plugin:
{{{#!php
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 00:22:29 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 00:22:29 -0000
Subject: [wp-trac] [WordPress Trac] #36359: "Insert/edit link" dialog no
longer shows recent posts/pages
In-Reply-To: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
References: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
Message-ID: <073.233a5855246e2fd14bb6d2ea4bc2238c@wordpress.org>
#36359: "Insert/edit link" dialog no longer shows recent posts/pages
-------------------------------------+---------------------------------
Reporter: SergeyBiryukov | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, administration
-------------------------------------+---------------------------------
Comment (by azaozz):
In 36359.4.patch:
- Fix focusing the modal's url field on open in Safari and Chrome on Mac.
That's a weird one, seems these browsers don't like to focus and select
the field at the same time. Works properly in Firefox and Chrome on
Windows.
- Expand the modal when we pass a search string from the inline dialog. As
discussed with @iseulde: we probably should remove that expand/collapse
toggle. This is the "Advanced" modal now, no need for "simple" mode for
it.
> The search field doesn't get cleared and is still filled when I'm adding
another link.
I see the same behaviour in 4.4. Should we always reset it?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 00:40:20 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 00:40:20 -0000
Subject: [wp-trac] [WordPress Trac] #36389: Selective refresh for
widgets gets lost once `refresh` is used
In-Reply-To: <056.31d17f8308b4a3c3b101ccf229595b2b@wordpress.org>
References: <056.31d17f8308b4a3c3b101ccf229595b2b@wordpress.org>
Message-ID: <071.786fea795287ac2f636d6aeb07b471b6@wordpress.org>
#36389: Selective refresh for widgets gets lost once `refresh` is used
-------------------------------+------------------------------
Reporter: scamartist26 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Resolution: invalid
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by westonruter):
@scamartist26 that's strange. I don't see how a later priority would make
a difference.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 01:25:15 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 01:25:15 -0000
Subject: [wp-trac] [WordPress Trac] #36359: "Insert/edit link" dialog no
longer shows recent posts/pages
In-Reply-To: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
References: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
Message-ID: <073.0fa32e0a59495fe53ce053e85cb67fc7@wordpress.org>
#36359: "Insert/edit link" dialog no longer shows recent posts/pages
-------------------------------------+---------------------------------
Reporter: SergeyBiryukov | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, administration
-------------------------------------+---------------------------------
Comment (by adamsilverstein):
>As discussed with @iseulde: we probably should remove that
expand/collapse toggle. This is the "Advanced" modal now, no need for
"simple" mode for it.
That is in [attachment:36359.5.patch]:
* When opening modal, always show the expanded version
* Remove `Or link to existing content` text and link
* Remove JS handler for expand action (no longer needed)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 03:16:51 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 03:16:51 -0000
Subject: [wp-trac] [WordPress Trac] #36374: Audio playback fails on iOS
9.x
In-Reply-To: <051.1f2508aaa816e9b02e62f1144ac52d80@wordpress.org>
References: <051.1f2508aaa816e9b02e62f1144ac52d80@wordpress.org>
Message-ID: <066.acfd424c4e2a3d246106c31b8f218157@wordpress.org>
#36374: Audio playback fails on iOS 9.x
--------------------------------+-----------------------------
Reporter: Clorith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: External Libraries | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses: javascript
--------------------------------+-----------------------------
Comment (by a4jp.com):
I work from home and can test anything made even if it is a patch that is
separate from 4.5.
It would of course be nice to have this in 4.5 as sounds can't be played
properly on any iOS device without getting cut off which is kind of a big
problem but anything that works is okay.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 03:39:39 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 03:39:39 -0000
Subject: [wp-trac] [WordPress Trac] #36359: "Insert/edit link" dialog no
longer shows recent posts/pages
In-Reply-To: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
References: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
Message-ID: <073.546c30256507d8eecf5b7c3335f8a4fd@wordpress.org>
#36359: "Insert/edit link" dialog no longer shows recent posts/pages
-------------------------------------+---------------------------------
Reporter: SergeyBiryukov | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, administration
-------------------------------------+---------------------------------
Comment (by mikeschroder):
On my 4.4.2, it does clear, but there's a bug where the displayed search
results are from the previous search.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 04:48:13 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 04:48:13 -0000
Subject: [wp-trac] [WordPress Trac] #36392: wp_add_inline_script()
breaks script dependency order when using script loader (no SCRIPT_DEBUG)
In-Reply-To: <055.ec8aea20405fdc109f43505551275e13@wordpress.org>
References: <055.ec8aea20405fdc109f43505551275e13@wordpress.org>
Message-ID: <070.7ca49b40482141dcdf591a452e45d28c@wordpress.org>
#36392: wp_add_inline_script() breaks script dependency order when using script
loader (no SCRIPT_DEBUG)
---------------------------+--------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+--------------------
Description changed by westonruter:
Old description:
> I've found that if an inline script is added via `wp_add_inline_script()`
> for a JS file registered in a plugin, if this script has a dependency on
> a core script that gets concatenated via `load-scripts.php`, the script
> dependency and the inline script will erroneously get printed ''before''
> the the script tag referencing `load-scripts.php` and the script it
> depends on.
>
> Here is a minimal test case:
> https://gist.github.com/westonruter/c8968edc125fd31ae2da4171ced8c62b
New description:
I've found that if an inline script is added via `wp_add_inline_script()`
for a JS file registered in a plugin, if this script has a dependency on a
core script that gets concatenated via `load-scripts.php`, the script
dependency and the inline script will erroneously get printed ''before''
the the script tag referencing `load-scripts.php` and the script it
depends on. This error only occurs when `SCRIPT_DEBUG` is `false`, since
this is when `load-scripts.php` is used.
Here is a minimal test case:
https://gist.github.com/westonruter/c8968edc125fd31ae2da4171ced8c62b
`wp_add_inline_script()` introduced in #14853.
--
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 04:43:28 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 04:43:28 -0000
Subject: [wp-trac] [WordPress Trac] #36392: wp_add_inline_script() breaks
script dependency order when using script loader (no SCRIPT_DEBUG)
Message-ID: <055.ec8aea20405fdc109f43505551275e13@wordpress.org>
#36392: wp_add_inline_script() breaks script dependency order when using script
loader (no SCRIPT_DEBUG)
---------------------------+-------------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Script Loader | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
---------------------------+-------------------------
I've found that if an inline script is added via `wp_add_inline_script()`
for a JS file registered in a plugin, if this script has a dependency on a
core script that gets concatenated via `load-scripts.php`, the script
dependency and the inline script will erroneously get printed ''before''
the the script tag referencing `load-scripts.php` and the script it
depends on.
Here is a minimal test case:
https://gist.github.com/westonruter/c8968edc125fd31ae2da4171ced8c62b
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 04:51:59 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 04:51:59 -0000
Subject: [wp-trac] [WordPress Trac] #14853: wp_add_inline_script()
In-Reply-To: <053.371ea349d8ada5ec8aabb76d3013f6ca@wordpress.org>
References: <053.371ea349d8ada5ec8aabb76d3013f6ca@wordpress.org>
Message-ID: <068.ce1d9569059ef3d3cfc715d87bbc07f8@wordpress.org>
#14853: wp_add_inline_script()
---------------------------------------------+-------------------------
Reporter: mattwiebe | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.5
Component: Script Loader | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-------------------------
Comment (by westonruter):
Defect: #36392
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 05:11:57 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 05:11:57 -0000
Subject: [wp-trac] [WordPress Trac] #36359: "Insert/edit link" dialog no
longer shows recent posts/pages
In-Reply-To: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
References: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
Message-ID: <073.bf6b9a2c5941bd6ed7fd11ceae3cc3c3@wordpress.org>
#36359: "Insert/edit link" dialog no longer shows recent posts/pages
-------------------------------------+---------------------------------
Reporter: SergeyBiryukov | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, administration
-------------------------------------+---------------------------------
Comment (by azaozz):
Replying to [comment:34 adamsilverstein]:
> Remove `Or link to existing content` text and link
Was thinking we could keep the text, just remove the arrow. Same as the
modal being open. Also will need to remove `search_panel_visible` and the
css for it. I'll refresh the patch in a min.
> there's a bug where the displayed search results are from the previous
search
Right. Didn't realize there were so many inconsistencies in this :)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 06:08:36 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 06:08:36 -0000
Subject: [wp-trac] [WordPress Trac] #36359: "Insert/edit link" dialog no
longer shows recent posts/pages
In-Reply-To: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
References: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
Message-ID: <073.6036873798ab7deedeb6f918028c3e97@wordpress.org>
#36359: "Insert/edit link" dialog no longer shows recent posts/pages
-------------------------------------+---------------------------------
Reporter: SergeyBiryukov | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, administration
-------------------------------------+---------------------------------
Comment (by azaozz):
In 36359.6.patch:
- Make the modal always expanded.
- Remove the toggle together with the js, css and the user setting for it.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 06:38:06 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 06:38:06 -0000
Subject: [wp-trac] [WordPress Trac] #36359: "Insert/edit link" dialog no
longer shows recent posts/pages
In-Reply-To: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
References: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
Message-ID: <073.17fd7976debd00ca5f6cc97d76d2a0e8@wordpress.org>
#36359: "Insert/edit link" dialog no longer shows recent posts/pages
-------------------------------------+---------------------------------
Reporter: SergeyBiryukov | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, administration
-------------------------------------+---------------------------------
Comment (by azaozz):
In 36359.7.patch: also always reset the search field and swap the "rivers"
when reopening the modal.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 06:44:16 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 06:44:16 -0000
Subject: [wp-trac] [WordPress Trac] #36374: Audio playback fails on iOS
9.x
In-Reply-To: <051.1f2508aaa816e9b02e62f1144ac52d80@wordpress.org>
References: <051.1f2508aaa816e9b02e62f1144ac52d80@wordpress.org>
Message-ID: <066.6433c260dd6dbc3cad28982e90ce888b@wordpress.org>
#36374: Audio playback fails on iOS 9.x
--------------------------------+-----------------------------
Reporter: Clorith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: External Libraries | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses: javascript
--------------------------------+-----------------------------
Comment (by Clorith):
It's definitely too late for 4.5 I'd say, I also seem to recall there
being core specific tweaks involved, possibly an idea for a 4.6-early or a
4.5.1 though.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 07:04:35 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 07:04:35 -0000
Subject: [wp-trac] [WordPress Trac] #36393: Loss of multibyte comment author
names
Message-ID: <050.506b582fd69286304adbef07f1e5a16b@wordpress.org>
#36393: Loss of multibyte comment author names
--------------------------+-----------------------------
Reporter: cfinke | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Some multibyte comment author names can be lost during comment submission.
Example: consider a comment authored by a user named `????????????????????
??????????????????????????????????????????????????????????????????`. This
name is a 258-byte string, longer than the maximum length of the
`comment_author` column. `$wpdb->strip_invalid_text_for_column()` will
truncate it to 255 bytes, and because each character is three bytes, the
string is still "valid," albeit one character shorter.
After `$wpdb->strip_invalid_text_for_column()` runs,
`sanitize_text_field()` will run, which calls `wp_check_invalid_utf8()`,
which will do nothing, because the string is still valid utf8.
If this commenter's older sister, `A??????????????????????????????????????
????????????????????????????????????????????????`, also tries to comment,
the result is very different. This name is a 259 byte string.
`$wpdb->strip_invalid_text_for_column()` will truncate it to 255 bytes,
taking off one character and 1/3 of another. When
`wp_check_invalid_utf8()` gets called, it will truncate the string to zero
bytes out of an abundance of caution, since the string ends with something
that is not valid utf8.
It's clear that the commenter was not submitting invalid utf8, and the
true goal of `$wpdb->strip_invalid_text_for_column()` was to ensure that
the text would fit in the DB column without auto-truncation by the DB
engine, so the ideal behavior should be that the string is truncated to
the longest possible length that remains valid and fits within the column.
One way to get around this data loss would be a wrapper around
`wp_check_invalid_utf8()`. If `wp_check_invalid_utf8()` fails, chop a
single byte off the end of the string and check it again, up to the point
where you have checked the string without the last five bytes (as I
believe that the longest a single character can be is six bytes, although
I'm not positive about that and I think anything longer than four bytes is
mostly theoretical). Or, fix `$wpdb->strip_invalid_text_for_column()` so
that it doesn't truncate in the middle of a multibyte character.
Configuration details: Tested in both WordPress 4.4.2 and trunk
(4.5-RC1-37153); PHP 5.2.17
I noticed this issue in regards to commenter names, so here's the
structure of my comments DB table (created in 2006, FWIW):
{{{
CREATE TABLE `wp_comments` (
`comment_ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`comment_post_ID` bigint(20) unsigned NOT NULL DEFAULT '0',
`comment_author` tinytext NOT NULL,
`comment_author_email` varchar(100) NOT NULL DEFAULT '',
`comment_author_url` varchar(200) NOT NULL DEFAULT '',
`comment_author_IP` varchar(100) NOT NULL DEFAULT '',
`comment_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`comment_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`comment_content` text NOT NULL,
`comment_karma` int(11) NOT NULL DEFAULT '0',
`comment_approved` varchar(20) NOT NULL DEFAULT '1',
`comment_agent` varchar(255) NOT NULL DEFAULT '',
`comment_type` varchar(20) NOT NULL DEFAULT '',
`comment_parent` bigint(20) unsigned NOT NULL DEFAULT '0',
`user_id` bigint(20) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`comment_ID`),
KEY `comment_post_ID` (`comment_post_ID`),
KEY `comment_approved_date_gmt` (`comment_approved`,`comment_date_gmt`),
KEY `comment_date_gmt` (`comment_date_gmt`),
KEY `comment_parent` (`comment_parent`),
KEY `comment_author_email` (`comment_author_email`(10))
) ENGINE=MyISAM AUTO_INCREMENT=2130254 DEFAULT CHARSET=latin1;
}}}
In case the strings I used as example commenter names above get mangled,
here are their base64 encodings:
commenter1: string(344)
"776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D776D"
commenter2: string(348)
"Qe++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++g+++gw=="
I'm attaching a POC plugin that manually walks through how the commenter
name gets handled in the comment submission process (but only when the
first attempt to save the comment fails and then requires the
`$wpdb->strip_invalid_text_for_column()` call).
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 07:18:00 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 07:18:00 -0000
Subject: [wp-trac] [WordPress Trac] #36335: Next generation: core
autoloader proposal
In-Reply-To: <053.bd468778dbcfa46d2ec2c3268165c76f@wordpress.org>
References: <053.bd468778dbcfa46d2ec2c3268165c76f@wordpress.org>
Message-ID: <068.76746957955ea04b4961218aeb60fd07@wordpress.org>
#36335: Next generation: core autoloader proposal
-----------------------------+-----------------------------
Reporter: dnaber-de | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+-----------------------------
Comment (by dnaber-de):
Hm, I think my expressions where a bit fuzzy. It was ''not'' my intention
to say, that autoloading solves dependency management. Of course it does
not. But in my opinion it is a first step in a long way to get there. If
you name this more a convenience than a requirement, I'm totally fine with
this :) But I'm a lazy developer, who likes to work convenient.
> However, I think to make core actually "autoloadable" is a priority in
that direction.
Maybe you're right. But at the moment it's not clear that the core will
ever be completely handled by an autoloader. At least this is what I read
out of Ryan McCue's and Nacin's contributions to this discussion.
Basically I fully agree with all your points. But non of them is a reason
for me to stop thinking and working on a possible solution for that
autoload part.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 07:23:41 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 07:23:41 -0000
Subject: [wp-trac] [WordPress Trac] #36393: Loss of multibyte comment
author names
In-Reply-To: <050.506b582fd69286304adbef07f1e5a16b@wordpress.org>
References: <050.506b582fd69286304adbef07f1e5a16b@wordpress.org>
Message-ID: <065.9b53d0be2349ae1f1986c1cdb180b1ac@wordpress.org>
#36393: Loss of multibyte comment author names
--------------------------+------------------------------
Reporter: cfinke | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by cfinke):
There might be a solution lurking in `mb_strlen()`. If
`wp_check_invalid_utf8()` returns an empty string, take bytes off of the
original string (up to 5 bytes) until `mb_strlen()` returns a smaller
number and then try `wp_check_invalid_utf8()`.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 08:27:04 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 08:27:04 -0000
Subject: [wp-trac] [WordPress Trac] #36392: wp_add_inline_script()
breaks script dependency order when using script loader (no SCRIPT_DEBUG)
In-Reply-To: <055.ec8aea20405fdc109f43505551275e13@wordpress.org>
References: <055.ec8aea20405fdc109f43505551275e13@wordpress.org>
Message-ID: <070.24282a883535435dc99ebcfb0d020979@wordpress.org>
#36392: wp_add_inline_script() breaks script dependency order when using script
loader (no SCRIPT_DEBUG)
---------------------------+--------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+--------------------
Comment (by xyulex):
I want to start contributing so I might be looking at this :)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 08:44:33 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 08:44:33 -0000
Subject: [wp-trac] [WordPress Trac] #36374: Audio playback fails on iOS
9.x
In-Reply-To: <051.1f2508aaa816e9b02e62f1144ac52d80@wordpress.org>
References: <051.1f2508aaa816e9b02e62f1144ac52d80@wordpress.org>
Message-ID: <066.701d67359f3f539875ed2c86f6594c72@wordpress.org>
#36374: Audio playback fails on iOS 9.x
--------------------------------+-----------------------------
Reporter: Clorith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: External Libraries | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses: javascript
--------------------------------+-----------------------------
Comment (by a4jp.com):
Is there any chance of a patch in the meantime, or a plugin that uses the
newer version of the mediaelement file?
I wish WordPress could be updated bit by bit instead of in large packaged
chunks.
Kind of like on Github.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 10:18:09 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 10:18:09 -0000
Subject: [wp-trac] [WordPress Trac] #36394: git-or-svn module assumes only
one can be true
Message-ID: <051.00a2f812acbf190159110205cf86721b@wordpress.org>
#36394: git-or-svn module assumes only one can be true
------------------------------+-------------------
Reporter: iseulde | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Build/Test Tools | Version: trunk
Severity: normal | Keywords:
Focuses: |
------------------------------+-------------------
If both are true, it runs twice, running all the test twice at the same
time and causes failures. We could allow the callback to be only run once,
but better to fix upstream.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 11:24:46 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 11:24:46 -0000
Subject: [wp-trac] [WordPress Trac] #32075: Only set WP_MAX_MEMORY_LIMIT
by default when its greater than memory_limit
In-Reply-To: <059.d6bcdad341525426144fc1bcd894a4ef@wordpress.org>
References: <059.d6bcdad341525426144fc1bcd894a4ef@wordpress.org>
Message-ID: <074.805b1dd72830e3443690f59c905f2dea@wordpress.org>
#32075: Only set WP_MAX_MEMORY_LIMIT by default when its greater than memory_limit
------------------------------------+-----------------------------
Reporter: danielbachhuber | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bootstrap/Load | Version: 3.2
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by mensmaximus):
I would like to throw an other aspect into the discussion. How usefull can
it be to set WP_MAX_MEMORY_LIMIT to 256M by default if the allocated
memory ( ini_get( 'memory_limit' ) ) is less than 256M? What would happen
if a plugin developer would rely on the constants value and this value
exceeds the memory allocated by the server (and restricted by the hosting
company)? Imho the WP_MAX_MEMORY_LIMIT constant should never report a
larger amount of memory than the maximum allocatable memory.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 11:50:16 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 11:50:16 -0000
Subject: [wp-trac] [WordPress Trac] #36392: wp_add_inline_script()
breaks script dependency order when using script loader (no SCRIPT_DEBUG)
In-Reply-To: <055.ec8aea20405fdc109f43505551275e13@wordpress.org>
References: <055.ec8aea20405fdc109f43505551275e13@wordpress.org>
Message-ID: <070.ff0bc97032fc348ee6e39003a770a16a@wordpress.org>
#36392: wp_add_inline_script() breaks script dependency order when using script
loader (no SCRIPT_DEBUG)
---------------------------+--------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+--------------------
Comment (by ocean90):
Attached a test in [attachment:36392.patch].
I had mentioned a similar case in [comment:ticket:14853:41] but seems like
we missed the case with another dependency.
cc: @swissspidy
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 12:31:31 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 12:31:31 -0000
Subject: [wp-trac] [WordPress Trac] #36395: Information in aria-label
incorrect for reviews in plugin details
Message-ID: <053.ac8b7040cd8b8130f7d3717d2663934f@wordpress.org>
#36395: Information in aria-label incorrect for reviews in plugin details
----------------------------+-----------------------------
Reporter: TacoVerdo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Keywords:
Focuses: accessibility |
----------------------------+-----------------------------
'''Problem description'''
In the admin on the plugin install screen, you can open details for a
plugin. If the plugin has reviews, they're shown in the details.
When shown, the type of review and the number of reviews for the type are
shown. For example a plugin that has 1300 5-star reviews will show that
information.
The text '5 stars' is linking to an overview page of all 5-star reviews.
The link contains an {{{ aria-label }}}-attribute that contains the same
information, except that the number of reviews is incorrect as it always
says '1'.
'''Cause'''
In https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes
/plugin-install.php#L588 the function {{{ number_format_i18n() }}} is used
in combination with the variable {{{ %2$d }}} in the {{{ sprintf }}} which
expects a digit. Since {{{ number_format_i18n() }}} returns a string, the
variable will always be '1'.
'''Possible solution'''
By removing {{{ number_format_i18n() }}} from
https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes
/plugin-install.php#L590, {{{ $ratecount }}} will be a digit again, as the
{{{ sprintf() }}} expects for {{{ %2$d }}}, resulting in the correct
number to be displayed.
Removing the formatting shouldn't negatively influence the way
screenreaders read the number, so it shouldn't pose a problem. (Tested
with OSX's Voice-Over)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 12:36:22 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 12:36:22 -0000
Subject: [wp-trac] [WordPress Trac] #36395: Information in aria-label
incorrect for reviews in plugin details
In-Reply-To: <053.ac8b7040cd8b8130f7d3717d2663934f@wordpress.org>
References: <053.ac8b7040cd8b8130f7d3717d2663934f@wordpress.org>
Message-ID: <068.05dadfad32cf86a42eb469e4b5fc682b@wordpress.org>
#36395: Information in aria-label incorrect for reviews in plugin details
-------------------------------------+-------------------------------------
Reporter: TacoVerdo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Plugins | Version: trunk
Severity: minor | Resolution:
Keywords: has-patch commit i18n- | Focuses: accessibility,
change | administration
-------------------------------------+-------------------------------------
Changes (by ocean90):
* keywords: => has-patch commit i18n-change
* focuses: accessibility => accessibility, administration
* component: Administration => Plugins
* severity: normal => minor
* milestone: Awaiting Review => 4.5
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 12:54:51 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 12:54:51 -0000
Subject: [wp-trac] [WordPress Trac] #36359: "Insert/edit link" dialog no
longer shows recent posts/pages
In-Reply-To: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
References: <058.9fb84b5223f009eea009f25bf5dcfb47@wordpress.org>
Message-ID: <073.10a7404a158e45558b53ba06b0458499@wordpress.org>
#36359: "Insert/edit link" dialog no longer shows recent posts/pages
-------------------------------------+---------------------------------
Reporter: SergeyBiryukov | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, administration
-------------------------------------+---------------------------------
Comment (by adamsilverstein):
Replying to [comment:38 azaozz]:
> In 36359.7.patch: also always reset the search field and swap the
"rivers" when reopening the modal.
Looks good!
Tested and this works well. I wasn't sure about cleaning out CSS in case
someone used it :) Verified search field AND search results reset on re-
opening modal/new link. Thanks!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 1 12:55:05 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 01 Apr 2016 12:55:05 -0000
Subject: [wp-trac] [WordPress Trac] #35299: HTML code doesn't always
show in page editor
In-Reply-To: <053.ae348eb284de1fa1a41a2951d446fd00@wordpress.org>
References: <053.ae348eb284de1fa1a41a2951d446fd00@wordpress.org>
Message-ID: <068.b568deec3f8a2826c8635a0d2b0c6228@wordpress.org>
#35299: HTML code doesn't always show in page editor
--------------------------+------------------------------
Reporter: JustinBBC | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by francbarberini):
Hi Justin,
I think this is not a Wordpress or Tinymce editor bug.
");
thanks.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 16:59:06 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 16:59:06 -0000
Subject: [wp-trac] [WordPress Trac] #36625: Don't CAST the post meta
value to CHAR in meta query
In-Reply-To: <053.f1a68a929dfaa9ebfbb0e4d6b35caca9@wordpress.org>
References: <053.f1a68a929dfaa9ebfbb0e4d6b35caca9@wordpress.org>
Message-ID: <068.5c4532143fdf52c2aa7b3c8d27668a44@wordpress.org>
#36625: Don't CAST the post meta value to CHAR in meta query
-------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.1
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by ericlewis):
Replying to [comment:1 boonebgorges]:
> Can we get some more technical details on how the optimizer decides
whether the index can be used?
The index is the column value's leftmost prefix, truncated to the index's
length. The optimizer consider using the index except in some cases:
* a function is applied to the index column's value in a where clause
(i.e. `CHAR(postmeta.meta_value)`.
* a `LIKE` clause is used on the index column with a wildcard on the left-
end of the search string (i.e. `postmeta.meta_value LIKE "%erosmith"`).
There may be other cases an index would not be considered for use by the
optimizer, or a better general comment on when indexes are considered for
use (@barry, @pento ?)
> What happens when your index is 8 characters, and the `meta_value` from
your `meta_query` is 12 characters?
If the query is `meta_value = "Aerosmith"`, and `meta_value` has an index
with an 8 character length, MySQL would use the index to figure out
possible rows to touch in the actual table (the "Aerosmith" row being one
of them), and rule out rows to touch in the actual table (i.e. a row with
a `meta_value` of `Van Halen`) based on partial string matches.
> (These are genuine questions - I don't know, and I'm having a hard time
finding documentation about it.)
These are great questions I'm not finding answer to in the MySQL reference
either. I opened [http://bugs.mysql.com/bug.php?id=81181&thanks=4
mysql#81181] to discuss updating the reference with more detail here.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:00:21 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:00:21 -0000
Subject: [wp-trac] [WordPress Trac] #36636: allow add_editor_style() to
include inline style (was: allow ADD_EDITOR_STYLE() to include inline
style)
In-Reply-To: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
References: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
Message-ID: <069.af9a9a6c4a19ad3a2841d599bc89ea19@wordpress.org>
#36636: allow add_editor_style() to include inline style
-------------------------+------------------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.0
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Changes (by swissspidy):
* type: defect (bug) => enhancement
* version: => 3.0
* component: General => Editor
Old description:
> ADD_EDITOR_STYLE() needs to return an url of style... but it is not
> always convenient for quick testing.
> please, give us ability, to code inside that function, like this:
>
> add_editor_style( "");
>
> thanks.
New description:
`add_editor_style()` needs to return an url of style... but it is not
always convenient for quick testing.
please, give us ability, to code inside that function, like this:
{{{#!php
add_editor_style( "" );
}}}
thanks.
--
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:03:48 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:03:48 -0000
Subject: [wp-trac] [WordPress Trac] #36636: allow add_editor_style() to
include inline style
In-Reply-To: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
References: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
Message-ID: <069.032cbd7b992342207ad389ca4329198a@wordpress.org>
#36636: allow add_editor_style() to include inline style
-------------------------+------------------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.0
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by swissspidy):
`add_editor_style()` is meant for theme developers to make the editor
style look more like the front-end of the site ("What you see is what you
get").
This is usually done by either using a specific stylesheet in the theme or
creating an `editor-style.css` file which uses `@import` to load the
necessary styles.
How would allowing inline styles help here? You can also debug your CSS
when it's in a separate file.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:08:07 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:08:07 -0000
Subject: [wp-trac] [WordPress Trac] #36635: Issue with size_format
function when value is 0
In-Reply-To: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
References: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
Message-ID: <067.521321adceed0a598a524a03e213c533@wordpress.org>
#36635: Issue with size_format function when value is 0
--------------------------+------------------------------
Reporter: bangelov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Description changed by swissspidy:
Old description:
> When you invoke size_format(0) function with zero value it should return
> '''0 B''' instead it returns '''false''' which is wrong. For example when
> you are looping files and some of them is zero byte file it will return
> false and will brake the UI if function is directly used in the view
> (most cases).
New description:
When you invoke `size_format(0)` function with zero value it should return
`0 B` instead it returns `false` which is wrong. For example when you are
looping files and some of them is zero byte file it will return `false`
and will break the UI if function is directly used in the view (most
cases).
--
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:09:48 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:09:48 -0000
Subject: [wp-trac] [WordPress Trac] #36635: Issue with size_format
function when value is 0
In-Reply-To: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
References: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
Message-ID: <067.375f64252de01742c63681e4f95434af@wordpress.org>
#36635: Issue with size_format function when value is 0
------------------------------------------+------------------------------
Reporter: bangelov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 2.3
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Changes (by swissspidy):
* keywords: => needs-patch needs-unit-tests
* version: 4.5 => 2.3
Comment:
Seems legit to me. Will whip up a patch shortly.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:16:41 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:16:41 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
Message-ID: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-----------------------------
Reporter: walbo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.5
Severity: normal | Keywords:
Focuses: javascript |
--------------------------+-----------------------------
The text `_wp_link_placeholder` is inserted into the inline linking.
To reproduce:
1. Mark some text and click the insert/edit link icon.
2. Click the insert/edit link icon once more.
The text `_wp_link_placeholder` is now inserted into the input field.
Sometimes you need to press the `cmd` key to get the text inserted.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:24:15 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:24:15 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
In-Reply-To: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
References: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
Message-ID: <064.f52399307f7de77e1ba01b3e9ea79fec@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-------------------------
Reporter: walbo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses: javascript
--------------------------+-------------------------
Changes (by swissspidy):
* milestone: Awaiting Review => 4.5.2
Comment:
> Sometimes you need to press the `cmd` key to get the text inserted.
I can definitely reproduce this when `cmd` clicking on the icon twice.
Don't even have to select some text.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:37:13 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:37:13 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
In-Reply-To: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
References: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
Message-ID: <064.56d4bcad87438f288e668dce15d7d6f5@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-------------------------
Reporter: walbo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Changes (by iseulde):
* keywords: => has-patch
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:45:09 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:45:09 -0000
Subject: [wp-trac] [WordPress Trac] #36633: Customizer Doesn't Save
Defaults in The Database for a Theme
In-Reply-To: <056.79bc72026bc0a01de06d3c1b8b46ad91@wordpress.org>
References: <056.79bc72026bc0a01de06d3c1b8b46ad91@wordpress.org>
Message-ID: <071.5490da9334a224639ab85c62b7ddc211@wordpress.org>
#36633: Customizer Doesn't Save Defaults in The Database for a Theme
--------------------------------+------------------------------
Reporter: mrahmadawais | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback close | Focuses:
--------------------------------+------------------------------
Comment (by westonruter):
@mrahmadawais thanks for explaining. Yes, I can see how this would be
confusing. If this were to be fixed, the approach I'd take would be to
register any settings that lack values saved in the database as `dirty`
up-front. This would ensure that when the user saves the Customizer state,
all of these settings would be saved.
But, I'm not entirely sure that there is a change that should be made.
Take, for example, `get_theme_mod()` and `get_option()`. Both of these
also take a `$default` argument. If a theme uses these functions and
supplies a default value, then these would indeed be duplicated with any
corresponding Customizer settings that get registered. But wouldn't this
be the right thing to do? If someone activates a theme and never opens the
Customizer, then all of these settings wouldn't be set in the DB either.
What I think themes should do instead, then, is to perhaps have a theme
config array that can be re-used both in the
`get_option()`/`get_theme_mod()` calls and when registering Customizer
settings, to be used as the `$default` in each case.
For example:
{{{#!php
'999-999-9999',
);
add_action( 'wp_footer', function() use ( $acme_theme_defaults ) {
?>
You should give us a call!
add_setting( 'acme_phone_number', array(
'type' => 'theme_mod',
'default' => $acme_theme_defaults['phone_number'],
) );
$wp_customize->add_control( 'acme_phone_number', array(
'type' => 'text',
) );
} );
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:46:41 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:46:41 -0000
Subject: [wp-trac] [WordPress Trac] #32941: Customizer changes to input
field values after clicking Save not recorded
In-Reply-To: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
References: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
Message-ID: <068.efb75e75630c068de59412170c09cfb1@wordpress.org>
#32941: Customizer changes to input field values after clicking Save not recorded
--------------------------+-------------------------
Reporter: mb5324897 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.2.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by chandrapatel):
Hi @westonruter,
Okay. Now I understood why we can't keep the Save button enabled. Thanks.
I have added `fieldset` element as child of form and then applied disabled
attribute to this element which disabled all controls. I have also check
whether `disabled` state enabled or not for `fieldset`. If it enabled then
only I remove `disabled` state from `fieldset`.
I have uploaded new patch `32941.1.patch`.
But I noticed some bad behavior for color picker and drag/drop widgets. To
see this behavior add `sleep(30)` code at line #1032 in `save()` method in
`wp-includes/class-wp-customize-manager.php`. Then use and check behavior
of color picker and drag/drop widgets.
Another alternative solution is, We disable only `Save & Publish` button.
User can change settings during ajax request in-progress and we set flag
if any settings changed and once ajax request complete then we check if
flag set then we enable `Save & Publish`. So user can save their settings
again. If flag not set then `save` button in disabled mode.
Please let me know your suggestion.
Regards
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 17:51:37 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 17:51:37 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
In-Reply-To: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
References: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
Message-ID: <064.674b52be35616543ac2a26c2c899ef26@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-------------------------
Reporter: walbo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by azaozz):
This is mostly "cosmetic", but annoying nevertheless.
Of course it will create a link with href of `_wp_link_placeholder` if the
user clicks on the Apply button, but that would happen for any text
entered in the URL field. Been wondering if we should change that
behaviour when the text is obviously not an URL.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 18:08:19 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 18:08:19 -0000
Subject: [wp-trac] [WordPress Trac] #32941: Customizer changes to input
field values after clicking Save not recorded
In-Reply-To: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
References: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
Message-ID: <068.fefab5dd59a4879e8067afa776213491@wordpress.org>
#32941: Customizer changes to input field values after clicking Save not recorded
--------------------------+-------------------------
Reporter: mb5324897 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.2.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by westonruter):
Replying to [comment:6 chandrapatel]:
> Another alternative solution is, We disable only `Save & Publish`
button. User can change settings during ajax request in-progress and we
set flag if any settings changed and once ajax request complete then we
check if flag set then we enable `Save & Publish`. So user can save their
settings again. If flag not set then `save` button in disabled mode.
That's a good idea. After the successful save response comes back, if any
`change` events triggered on `wp.customize` during the save request, then
the `saved` state should be reset to `false` instead of being `true`, and
any of the settings that were modified during the save request should not
have their `_dirty` state reset to `false`.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 18:14:27 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 18:14:27 -0000
Subject: [wp-trac] [WordPress Trac] #36160: Comment content ul elements
have no style in the Comment List Table or Moderate Comment screen
In-Reply-To: <055.4e33f6b688888f3c432e6a21851284ad@wordpress.org>
References: <055.4e33f6b688888f3c432e6a21851284ad@wordpress.org>
Message-ID: <070.0ea476a968d3b55f3fc53248448c8ce2@wordpress.org>
#36160: Comment content ul elements have no style in the Comment List Table or
Moderate Comment screen
--------------------------+-----------------------------
Reporter: rachelbaker | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Comment (by rachelbaker):
In [attachment:36160.3.patch] I applied the same `ul` style rules from
[attachment:36160-2.patch] to the Moderate Comment screen as well.
Screenshots:
Before: [[Image(https://cldup.com/abfSUdWRj_-1200x1200.png)]]
After: [[Image(https://cldup.com/DmFWjfyi_U.png)]]
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 18:29:05 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 18:29:05 -0000
Subject: [wp-trac] [WordPress Trac] #36638: Detect broken URLs in the editor
Message-ID: <051.22cf4dbe73cfc18c2351d7379b8c55e3@wordpress.org>
#36638: Detect broken URLs in the editor
-------------------------+-----------------------------
Reporter: iseulde | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Chatted a bit with @azaozz. We could detect broken URLs in the editor when
the user adds one by sending a request to the server and then doing a HEAD
request and check the response code. If it's 4xx, we could mark the bad
link in the editor and if the user clicks on it show the toolbar with a
message. This is to prevent accidental user mistakes (wrong copy/paste,
entering query by accident...)
Another thing we could do is warn for mixed content.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 18:38:13 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 18:38:13 -0000
Subject: [wp-trac] [WordPress Trac] #35433: Walker_Comment::comment
calls comment_text which forces the comment to be re-queried rather than
use $comments variable cache
In-Reply-To: <053.44c4a7833db40b3ab7155005db05e501@wordpress.org>
References: <053.44c4a7833db40b3ab7155005db05e501@wordpress.org>
Message-ID: <068.48d793525aa90d0743b50b199c23f8e6@wordpress.org>
#35433: Walker_Comment::comment calls comment_text which forces the comment to be
re-queried rather than use $comments variable cache
-------------------------------------+------------------
Reporter: pcfreak30 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Comments | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------
Changes (by rachelbaker):
* milestone: Future Release => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 18:39:10 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 18:39:10 -0000
Subject: [wp-trac] [WordPress Trac] #36393: Loss of multibyte comment
author names
In-Reply-To: <050.506b582fd69286304adbef07f1e5a16b@wordpress.org>
References: <050.506b582fd69286304adbef07f1e5a16b@wordpress.org>
Message-ID: <065.73c150da1d4de39374a4260862eb95ce@wordpress.org>
#36393: Loss of multibyte comment author names
--------------------------+---------------------
Reporter: cfinke | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: Comments | Version:
Severity: normal | Resolution: fixed
Keywords: close | Focuses:
--------------------------+---------------------
Changes (by rachelbaker):
* status: new => closed
* resolution: => fixed
* milestone: Awaiting Review => 4.5
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 18:45:45 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 18:45:45 -0000
Subject: [wp-trac] [WordPress Trac] #36636: allow add_editor_style() to
include inline style
In-Reply-To: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
References: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
Message-ID: <069.eff71ab151f87b4c9f1bac81dc31aa7d@wordpress.org>
#36636: allow add_editor_style() to include inline style
-------------------------+------------------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.0
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by jcastaneda):
If you really are looking to add inline styles there is also the function
`wp_add_inline_style()`:
https://developer.wordpress.org/reference/functions/wp_add_inline_style/
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 18:46:23 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 18:46:23 -0000
Subject: [wp-trac] [WordPress Trac] #36638: Detect broken URLs in the
editor
In-Reply-To: <051.22cf4dbe73cfc18c2351d7379b8c55e3@wordpress.org>
References: <051.22cf4dbe73cfc18c2351d7379b8c55e3@wordpress.org>
Message-ID: <066.1c84369bb9cd62bea4fb0930306e4cb5@wordpress.org>
#36638: Detect broken URLs in the editor
-------------------------+------------------
Reporter: iseulde | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------
Changes (by azaozz):
* milestone: Awaiting Review => 4.6
Comment:
This is the logical next step for enhancing how we handle link (and URLs
in general) in the editor. Something like "spellcheck for URLs" :)
I'm hoping we will have time to implement it in this cycle, or at least
start.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 18:55:09 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 18:55:09 -0000
Subject: [wp-trac] [WordPress Trac] #22237: Add keyboard shortcuts for
collapse/expand, panel-back, and close to the Customizer
In-Reply-To: <056.03ec3b46a1b3e8cc564791961083eeff@wordpress.org>
References: <056.03ec3b46a1b3e8cc564791961083eeff@wordpress.org>
Message-ID: <071.5487866f5f022be4160e3cce2c472c7c@wordpress.org>
#22237: Add keyboard shortcuts for collapse/expand, panel-back, and close to the
Customizer
-------------------------------------+-------------------------------------
Reporter: designsimply | Owner: celloexpressions
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.6
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: good-first-bug has- | Focuses: accessibility,
patch | javascript
-------------------------------------+-------------------------------------
Changes (by westonruter):
* keywords: good-first-bug has-patch commit => good-first-bug has-patch
* owner: westonruter => celloexpressions
Comment:
@celloexpressions take a look at my new patch [attachment:22237.2.diff] .
What do you think about also recognizing Esc when a widget or nav menu
item is expanded? This adds support for that and also improves parity
between the controls for nav menu items and widgets. I noticed the former
lacked the same interface as the latter.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 19:10:21 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 19:10:21 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
In-Reply-To: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
References: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
Message-ID: <064.d75095498f98b5d2c742cb1dbf3b1954@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-------------------------
Reporter: walbo | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5.2
Component: Editor | Version: 4.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Changes (by azaozz):
* owner: => azaozz
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"37301"]:
{{{
#!CommitTicketReference repository="" revision="37301"
TinyMCE: prevent showing the placeholder URL when adding a link and
clicking more than once on the Insert Link button.
Props iseulde.
Fixes #36637 for trunk.
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 19:05:34 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 19:05:34 -0000
Subject: [wp-trac] [WordPress Trac] #34391: Harden panel/section UI code
by removing contents from being logically nested (read: goodbye margin-top
hacks)
In-Reply-To: <055.4d5cea31c9a31c17cdfb7b98baccd3c3@wordpress.org>
References: <055.4d5cea31c9a31c17cdfb7b98baccd3c3@wordpress.org>
Message-ID: <070.b48008ec9caa6350a9f5391c0e35805a@wordpress.org>
#34391: Harden panel/section UI code by removing contents from being logically
nested (read: goodbye margin-top hacks)
------------------------------+--------------------------------------------
Reporter: westonruter | Owner: delawski
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.0
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui, accessibility, javascript
4.6-early |
------------------------------+--------------------------------------------
Comment (by delawski):
I have worked on the issue today:
* fixed issues related to focusing on controls (particularly when shift-
clicking on widgets in the preview)
* fixed bugs in Themes section.
I still have to test new panel/section UI on various browsers/devices and
clean up the CSS.
The progress on this ticket is tracked in the following PR:
https://github.com/xwp/wordpress-develop/pull/150
Today I've also checked two free themes (''Zerif Lite'' and ''Sydney'')
and how they work with the new UI. The only major issue I've noticed was
with ''Zerif Lite''. In short, here's the issue: ''Zerif'' prepends its
own special {{{}}} element to ''any'' {{{}}} element that is child
of {{{#customize-theme-controls}}} container. In current hierarchical
implementation, there is only one child {{{}}} element. After
flattening panels/section markup, each section and panel is a child of
{{{#customize-theme-controls}}} container and so all of them get the
special {{{- }}} which is unintended.
It is a quick fix (the selector could be changed to {{{ul:first}}} or
{{{.customize-pane-parent}}}, however I imagine there might be more themes
and plugins that rely on current markup.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 19:10:58 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 19:10:58 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
In-Reply-To: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
References: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
Message-ID: <064.9bbf3da5a93b8417c756d52b959e5650@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-------------------------
Reporter: walbo | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.5.2
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Changes (by azaozz):
* status: closed => reopened
* resolution: fixed =>
Comment:
Reopen for 4.5.2 consideration.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 19:31:23 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 19:31:23 -0000
Subject: [wp-trac] [WordPress Trac] #35519: Dashboard At a Glance:
comment counter isn't updated if to approve comment
In-Reply-To: <054.af0b8d88030d306977d670ad89f994b7@wordpress.org>
References: <054.af0b8d88030d306977d670ad89f994b7@wordpress.org>
Message-ID: <069.268df3c51ce7c5413487c9575e8a917f@wordpress.org>
#35519: Dashboard At a Glance: comment counter isn't updated if to approve comment
---------------------------------------+------------------
Reporter: antonrinas | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Comments | Version: 4.1
Severity: minor | Resolution:
Keywords: has-screenshots has-patch | Focuses: ui
---------------------------------------+------------------
Comment (by rachelbaker):
BTW: I was incorrect here:
> @afercia Looks like your approach in [attachment:35519.patch] goes
against [29785], so the "fix" here would have to be done with JS.
> See #26738
because you were only adding to the conditional, you didn't change the
displayed property. Sorry about that.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 19:28:47 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 19:28:47 -0000
Subject: [wp-trac] [WordPress Trac] #35519: Dashboard At a Glance:
comment counter isn't updated if to approve comment
In-Reply-To: <054.af0b8d88030d306977d670ad89f994b7@wordpress.org>
References: <054.af0b8d88030d306977d670ad89f994b7@wordpress.org>
Message-ID: <069.bead9d62cb4a1b7c9be2c549f3af326e@wordpress.org>
#35519: Dashboard At a Glance: comment counter isn't updated if to approve comment
---------------------------------------+------------------
Reporter: antonrinas | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Comments | Version: 4.1
Severity: minor | Resolution:
Keywords: has-screenshots has-patch | Focuses: ui
---------------------------------------+------------------
Changes (by rachelbaker):
* keywords: has-screenshots has-patch needs-refresh => has-screenshots
has-patch
Comment:
@afercia It looks to me as though we should just remove the conditional
check `if ( $num_comm && $num_comm->approved )`, see
[attachment:35519.2.patch]. Any reason you would prefer your approach?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 19:34:00 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 19:34:00 -0000
Subject: [wp-trac] [WordPress Trac] #36639: Customize: get_custom_logo
filter should include blog parameter
Message-ID: <050.6c452a3c1f3164a174affddb3055f9be@wordpress.org>
#36639: Customize: get_custom_logo filter should include blog parameter
-------------------------+-----------------------------
Reporter: achbed | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
The {{{get_custom_logo}}} function potentially performs a blog context
switch in order to render the custom logo. However, the
{{{get_custom_logo}}} filter is not called within that context switch, and
the filter handlers have no way of knowing if a blog context switch was
requested or required.
This patch solves both problems by providing the blog ID parameter to the
{{{get_custom_logo}}} filter as well as moving the filter call so that it
is in the same blog context.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 19:52:48 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 19:52:48 -0000
Subject: [wp-trac] [WordPress Trac] #32941: Customizer changes to input
field values after clicking Save not recorded
In-Reply-To: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
References: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
Message-ID: <068.1d454fc6ab19c4d1edaf5361e16b0c02@wordpress.org>
#32941: Customizer changes to input field values after clicking Save not recorded
--------------------------+-------------------------
Reporter: mb5324897 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.2.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by chandrapatel):
Replying to [comment:7 westonruter]:
> That's a good idea. After the successful save response comes back, if
any `change` events triggered on `wp.customize` during the save request,
then the `saved` state should be reset to `false` instead of being `true`,
and any of the settings that were modified during the save request should
not have their `_dirty` state reset to `false`.
I have submitted new patch. Please check and let me know whether my
implementation is correct or not.
Regards
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 19:53:18 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 19:53:18 -0000
Subject: [wp-trac] [WordPress Trac] #32818: Prompt before switching
comments, leaving page,
updating post whilst editing a comment in the edit post screen
In-Reply-To: <056.fd6e719392ecc750e53a2ea013e2583c@wordpress.org>
References: <056.fd6e719392ecc750e53a2ea013e2583c@wordpress.org>
Message-ID: <071.c5b47b4d4fb532258e80ce32fd0cb7ec@wordpress.org>
#32818: Prompt before switching comments, leaving page, updating post whilst
editing a comment in the edit post screen
-------------------------------------+-----------------------------
Reporter: polevaultweb | Owner: chriscct7
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Comment (by polevaultweb):
@chriscct7 still applying cleanly - can we get into 4.6?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:05:25 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:05:25 -0000
Subject: [wp-trac] [WordPress Trac] #36160: Comment content ul elements
have no style in the Comment List Table or Moderate Comment screen
In-Reply-To: <055.4e33f6b688888f3c432e6a21851284ad@wordpress.org>
References: <055.4e33f6b688888f3c432e6a21851284ad@wordpress.org>
Message-ID: <070.908a763eec87a31cac47f1a1a1a071f7@wordpress.org>
#36160: Comment content ul elements have no style in the Comment List Table or
Moderate Comment screen
--------------------------+-----------------------------
Reporter: rachelbaker | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Comment (by juanfra):
@rachelbaker Nice catch! I missed that one, sorry.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:05:30 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:05:30 -0000
Subject: [wp-trac] [WordPress Trac] #36640: Customize: get_custom_logo
should allow the image tag to be filtered independently
Message-ID: <050.2861b75777bb0db2349da7a7538c4d98@wordpress.org>
#36640: Customize: get_custom_logo should allow the image tag to be filtered
independently
-------------------------+-----------------------------
Reporter: achbed | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
To allow for further customization of the image tag used in the custom
logo, I propose adding a {{{get_custom_logo_img}}} filter to
{{{get_custom_logo}}}. This will allow for cleaner modification of the
{{{a}}} tag content.
This would be useful in optionally adding accessibility on the image and
other content within the home link.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:03:48 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:03:48 -0000
Subject: [wp-trac] [WordPress Trac] #33283: Display warning on plugins
page when performing a bulk action on no selected plugins
In-Reply-To: <056.5f847de1ad0fc83e0606aa46365348ae@wordpress.org>
References: <056.5f847de1ad0fc83e0606aa46365348ae@wordpress.org>
Message-ID: <071.0ad3c0df89f65a6a74758fdad73dfc3d@wordpress.org>
#33283: Display warning on plugins page when performing a bulk action on no
selected plugins
-------------------------------------+------------------------------
Reporter: polevaultweb | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------------------
Comment (by polevaultweb):
@chriscct7 patch updated with escaping of variable.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:06:29 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:06:29 -0000
Subject: [wp-trac] [WordPress Trac] #36636: allow add_editor_style() to
include inline style
In-Reply-To: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
References: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
Message-ID: <069.d9b8d423981d67cd15b4742c057d3a8c@wordpress.org>
#36636: allow add_editor_style() to include inline style
-------------------------+----------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 3.0
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-------------------------+----------------------
Changes (by azaozz):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Agree with @swissspidy. Dynamically adding CSS to the editor iframe is
"out of scope" for core. BTW even `add_editor_style()` is a
helper/convenience function. The "real" way of adding more stylesheets to
the editor is by using the `mce_css` filter (yes, the name is not that
intuitive).
If you want to add CSS directly to the editor, have a look at its
settings: https://www.tinymce.com/docs/configure/content-
appearance/#content_style. However this is not recommended for a plugin
that will run in production on different sites. Can affect it pretty
drastically.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:06:38 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:06:38 -0000
Subject: [wp-trac] [WordPress Trac] #32818: Prompt before switching
comments, leaving page,
updating post whilst editing a comment in the edit post screen
In-Reply-To: <056.fd6e719392ecc750e53a2ea013e2583c@wordpress.org>
References: <056.fd6e719392ecc750e53a2ea013e2583c@wordpress.org>
Message-ID: <071.d0e9e49c050ddb0076dd4c654cb5aa24@wordpress.org>
#32818: Prompt before switching comments, leaving page, updating post whilst
editing a comment in the edit post screen
-------------------------------------+-----------------------------
Reporter: polevaultweb | Owner: chriscct7
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.6
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Changes (by rachelbaker):
* milestone: Future Release => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:12:12 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:12:12 -0000
Subject: [wp-trac] [WordPress Trac] #28064: Can't sort list of Users by
Name
In-Reply-To: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
References: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
Message-ID: <071.3e82f40b7ef0c783473692ec04af9d07@wordpress.org>
#28064: Can't sort list of Users by Name
---------------------------------------+------------------------------
Reporter: bobonwhidbey | Owner: chriscct7
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: needs-testing 2nd-opinion | Focuses:
---------------------------------------+------------------------------
Changes (by rachelbaker):
* keywords: needs-testing => needs-testing 2nd-opinion
Comment:
@jesin is correct about the cause of this bug, but I am not convinced we
can sort Users in an expected manner when the single "Name" column is
actually a combination of two optional values (`first_name` +
`last_name`).
Instead I propose in [attachment:28064.patch] we stop pretending that the
"Name" column is sortable at all. I would like other opinions here.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:12:29 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:12:29 -0000
Subject: [wp-trac] [WordPress Trac] #28064: Can't sort list of Users by
Name
In-Reply-To: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
References: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
Message-ID: <071.7c1bfb0ba3cf908d01974644e46fa8df@wordpress.org>
#28064: Can't sort list of Users by Name
-----------------------------------+------------------------------
Reporter: bobonwhidbey | Owner: chriscct7
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses:
-----------------------------------+------------------------------
Changes (by rachelbaker):
* keywords: needs-testing 2nd-opinion => 2nd-opinion has-patch
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:14:18 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:14:18 -0000
Subject: [wp-trac] [WordPress Trac] #28064: Can't sort list of Users by
Name
In-Reply-To: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
References: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
Message-ID: <071.c96e451ad64ba2d3f257b518ae114c2c@wordpress.org>
#28064: Can't sort list of Users by Name
-----------------------------------+-----------------------------
Reporter: bobonwhidbey | Owner: chriscct7
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses:
-----------------------------------+-----------------------------
Changes (by rachelbaker):
* milestone: Awaiting Review => Future Release
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:20:59 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:20:59 -0000
Subject: [wp-trac] [WordPress Trac] #36639: Customize: get_custom_logo
filter should include blog parameter
In-Reply-To: <050.6c452a3c1f3164a174affddb3055f9be@wordpress.org>
References: <050.6c452a3c1f3164a174affddb3055f9be@wordpress.org>
Message-ID: <065.0138a260f364cb73351f435b170ad1c1@wordpress.org>
#36639: Customize: get_custom_logo filter should include blog parameter
-------------------------+------------------
Reporter: achbed | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------
Changes (by westonruter):
* keywords: => has-patch
* version: trunk => 4.5
* milestone: Awaiting Review => 4.6
Comment:
Good one. Makes sense to me!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:24:46 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:24:46 -0000
Subject: [wp-trac] [WordPress Trac] #36640: Customize: get_custom_logo
should allow the image tag to be filtered independently
In-Reply-To: <050.2861b75777bb0db2349da7a7538c4d98@wordpress.org>
References: <050.2861b75777bb0db2349da7a7538c4d98@wordpress.org>
Message-ID: <065.f0624611dd38f596fedef103364787d4@wordpress.org>
#36640: Customize: get_custom_logo should allow the image tag to be filtered
independently
-------------------------+------------------------------
Reporter: achbed | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Changes (by westonruter):
* keywords: => has-patch
* version: trunk => 4.5
Comment:
Giving more control over the generation of the `img` markup makes sense,
but we'd want to make sure that `custom-logo-link` class is always
includes as otherwise the selective refresh selector will fail to match.
Well, I suppose we could still allow it to be changed, but the plugin that
filters `get_custom_logo_img` should also make sure it updates
`$wp_customize->selective_refresh->get_partial( 'custom_logo' )->selector`
as required. This should be noted in the filter description.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:25:38 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:25:38 -0000
Subject: [wp-trac] [WordPress Trac] #36639: Customize: get_custom_logo
filter should include blog parameter
In-Reply-To: <050.6c452a3c1f3164a174affddb3055f9be@wordpress.org>
References: <050.6c452a3c1f3164a174affddb3055f9be@wordpress.org>
Message-ID: <065.21520d60d1a6082c5984e75a314ae91a@wordpress.org>
#36639: Customize: get_custom_logo filter should include blog parameter
-------------------------+------------------
Reporter: achbed | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------
Comment (by ocean90):
Yep, makes sense and would be consistent with `get_site_icon_url`. But
let's not change the `restore_current_blog()` part.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:27:13 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:27:13 -0000
Subject: [wp-trac] [WordPress Trac] #32941: Customizer changes to input
field values after clicking Save not recorded
In-Reply-To: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
References: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
Message-ID: <068.fd6abb5998e1859eeeca1fc17b8f1c01@wordpress.org>
#32941: Customizer changes to input field values after clicking Save not recorded
--------------------------+-------------------------
Reporter: mb5324897 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Changes (by westonruter):
* keywords: needs-patch => has-patch
* version: 4.2.2 => 3.4
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:29:57 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:29:57 -0000
Subject: [wp-trac] [WordPress Trac] #31625: Function
register_uninstall_hook doesn't have a method to remove the outdated data
In-Reply-To: <054.abd0186d3a81135aa1b83f65ce5af113@wordpress.org>
References: <054.abd0186d3a81135aa1b83f65ce5af113@wordpress.org>
Message-ID: <069.f3b252769ba2ba5e486a3c2bfe6f391d@wordpress.org>
#31625: Function register_uninstall_hook doesn't have a method to remove the
outdated data
-------------------------------------+-----------------------------
Reporter: voron_eril | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 4.1.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: performance
-------------------------------------+-----------------------------
Changes (by polevaultweb):
* keywords: needs-patch => has-patch needs-testing
Comment:
Patch added with upgrade routine. I incremented the current db version to
an arbitrary 36999 as I wasn't sure how it would be calculated. I have
also assumed this would be for 4.6.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:46:01 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:46:01 -0000
Subject: [wp-trac] [WordPress Trac] #32941: Customizer changes to input
field values after clicking Save not recorded
In-Reply-To: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
References: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
Message-ID: <068.ac884179a3b38cadc5308abef97b0db6@wordpress.org>
#32941: Customizer changes to input field values after clicking Save not recorded
--------------------------+-------------------------
Reporter: mb5324897 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by westonruter):
@chandrapatel instead of introducing a new `is_dirty` flag, what do you
think of [attachment:32941.3.diff]? It keeps track of whether there were
settings changed during the save request, and then re-sets the global
dirty state if there were any.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:47:07 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:47:07 -0000
Subject: [wp-trac] [WordPress Trac] #13651: Problem with plural form in
comments_number
In-Reply-To: <053.11a1db803a3d64c4180f18fa0f2040eb@wordpress.org>
References: <053.11a1db803a3d64c4180f18fa0f2040eb@wordpress.org>
Message-ID: <068.06dd8d51f8ceeb19769e536a0beee545@wordpress.org>
#13651: Problem with plural form in comments_number
--------------------------+------------------------
Reporter: pavelevap | Owner: ocean90
Type: defect (bug) | Status: reviewing
Priority: high | Milestone: 4.6
Component: I18N | Version: 3.0
Severity: major | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Comment (by ocean90):
[attachment:13651.4.diff] looks good so far. I suggest some changes:
* Move the `$output = str_replace( '%', number_format_i18n( $number ),
$more );` part into the declension condition.
* The data provider for the test should include a case for "Hello % world"
to test the `screen-reader-text` removal. Something like `'% Comments on Hello % world!'`.
* The on/off flag needs a translator comment with the "Do not translate
into your own language." hint, similar to `wp_maybe_decline_date()`.
* In `test_get_comments_number_text_declension_with_custom_args()` there
is one space to much in the `remove_filter()` call.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 20:59:34 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 20:59:34 -0000
Subject: [wp-trac] [WordPress Trac] #31420: license.txt and readme.html
being unwritable shouldn't block a Background Update
In-Reply-To: <048.b4572fa07f9862f8654a349dc820e1ce@wordpress.org>
References: <048.b4572fa07f9862f8654a349dc820e1ce@wordpress.org>
Message-ID: <063.ea10a9987a9800539e72726b7b156083@wordpress.org>
#31420: license.txt and readme.html being unwritable shouldn't block a Background
Update
-------------------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Upgrade/Install | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------------
Changes (by polevaultweb):
* keywords: needs-patch => has-patch needs-testing
Comment:
Patch added, feedback welcome :)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:00:00 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:00:00 -0000
Subject: [wp-trac] [WordPress Trac] #36641: WP_Term method __toString
Message-ID: <060.2da83d306e86f0808943e279398cc5df@wordpress.org>
#36641: WP_Term method __toString
------------------------------+-----------------------------
Reporter: sebastian.pisula | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
I think that this is good idea. For example:
{{{#!php
';
var_dump(implode(', ', get_the_terms( get_the_ID(),
'category' )));
echo '';
?>
}}}
I have ```string(**) "Cat 1, Cat 2"```
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:02:01 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:02:01 -0000
Subject: [wp-trac] [WordPress Trac] #32941: Customizer changes to input
field values after clicking Save not recorded
In-Reply-To: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
References: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
Message-ID: <068.2501c82ac22b9341bb4606c1d3cbe9b0@wordpress.org>
#32941: Customizer changes to input field values after clicking Save not recorded
--------------------------+-------------------------
Reporter: mb5324897 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by chandrapatel):
Replying to [comment:10 westonruter]:
> @chandrapatel instead of introducing a new `is_dirty` flag, what do you
think of [attachment:32941.3.diff]? It keeps track of whether there were
settings changed during the save request, and then re-sets the global
dirty state if there were any.
Hi, I saw the diff. Sounds good. Thanks for correcting me. :)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:05:42 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:05:42 -0000
Subject: [wp-trac] [WordPress Trac] #36639: Customize: get_custom_logo
filter should include blog parameter
In-Reply-To: <050.6c452a3c1f3164a174affddb3055f9be@wordpress.org>
References: <050.6c452a3c1f3164a174affddb3055f9be@wordpress.org>
Message-ID: <065.7ad87e65f00db100dfe152d28c9a9e57@wordpress.org>
#36639: Customize: get_custom_logo filter should include blog parameter
-------------------------+------------------
Reporter: achbed | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------
Comment (by achbed):
The patch doesn't modify the {{{restore_current_blog()}}} call itself,
just the lines before and after. Those lines got included by {{{svn
diff}}} automagically.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:10:16 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:10:16 -0000
Subject: [wp-trac] [WordPress Trac] #32941: Customizer changes to input
field values after clicking Save not recorded
In-Reply-To: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
References: <053.b4c5ec32fe2dd55b0edf9162d09f2872@wordpress.org>
Message-ID: <068.b9f8dbbf72bae874e3bedbe87434ec9b@wordpress.org>
#32941: Customizer changes to input field values after clicking Save not recorded
--------------------------+--------------------------
Reporter: mb5324897 | Owner: westonruter
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.6
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+--------------------------
Changes (by westonruter):
* owner: => westonruter
* status: new => reviewing
Comment:
@chandrapatel thanks for your work!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:15:50 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:15:50 -0000
Subject: [wp-trac] [WordPress Trac] #36641: WP_Term method __toString
In-Reply-To: <060.2da83d306e86f0808943e279398cc5df@wordpress.org>
References: <060.2da83d306e86f0808943e279398cc5df@wordpress.org>
Message-ID: <075.3a4d570e39ce8fc22511b906bad4894c@wordpress.org>
#36641: WP_Term method __toString
------------------------------+------------------------------
Reporter: sebastian.pisula | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+------------------------------
Changes (by swissspidy):
* keywords: => has-patch
* component: General => Taxonomy
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:29:22 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:29:22 -0000
Subject: [wp-trac] [WordPress Trac] #35518: Dashboard page: No "view"
link for approved comment
In-Reply-To: <054.e84182be4c9b99b2d4f05afd7a8ce5c9@wordpress.org>
References: <054.e84182be4c9b99b2d4f05afd7a8ce5c9@wordpress.org>
Message-ID: <069.44712a84338d389e95fe3da0cc1276b6@wordpress.org>
#35518: Dashboard page: No "view" link for approved comment
--------------------------+---------------------------------------------
Reporter: antonrinas | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Comments | Version: 4.4.1
Severity: trivial | Resolution: fixed
Keywords: needs-patch | Focuses: ui, javascript, administration
--------------------------+---------------------------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"37302"]:
{{{
#!CommitTicketReference repository="" revision="37302"
Dashboard: toggle the "View" link for comments when Approving /
Unapproving from the Dashboard widget.
Fixes #35518.
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:32:13 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:32:13 -0000
Subject: [wp-trac] [WordPress Trac] #12706: Custom post status bugs in
the admin
In-Reply-To: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
References: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
Message-ID: <069.0a272296ef01f2087912e3837e9dc6a3@wordpress.org>
#12706: Custom post status bugs in the admin
-------------------------------------------------+-------------------------
Reporter: ptahdunbar | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version: 3.0
Keywords: has-patch westi-likes needs-testing | Resolution:
needs-unit-tests editorial-flow | Focuses:
-------------------------------------------------+-------------------------
Comment (by ocean90):
138 stars and nobody wants to work on it? Ping me if you're interested in
working on it for 4.6! :-)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:30:49 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:30:49 -0000
Subject: [wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5
Upgrade
In-Reply-To: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
References: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
Message-ID: <071.84b69aee1917c001e3c6b260769a57b8@wordpress.org>
#36534: Media Upload Issue Since 4.5 Upgrade
--------------------------+------------------------
Reporter: unicornbacon | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5.2
Component: Media | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Comment (by aldon):
also check the http error when uploading photos on media. some working
fixes:
add_filter( 'wp_image_editors', 'change_graphic_lib' );
function change_graphic_lib($array) {
return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
}
____
add this line
SetEnv MAGICK_THREAD_LIMIT 1
on .htaccess
https://wordpress.org/support/topic/http-error-when-uploading-
images-17?replies=18
https://wordpress.org/support/topic/http-errors-on-media-uploads-
after-45-update?replies=40
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:42:40 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:42:40 -0000
Subject: [wp-trac] [WordPress Trac] #32818: Prompt before switching
comments, leaving page,
updating post whilst editing a comment in the edit post screen
In-Reply-To: <056.fd6e719392ecc750e53a2ea013e2583c@wordpress.org>
References: <056.fd6e719392ecc750e53a2ea013e2583c@wordpress.org>
Message-ID: <071.7b499cf36cdfdc0b1f2e9a790d3f8888@wordpress.org>
#32818: Prompt before switching comments, leaving page, updating post whilst
editing a comment in the edit post screen
-------------------------------------+-----------------------------
Reporter: polevaultweb | Owner: chriscct7
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.6
Component: Comments | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Changes (by rachelbaker):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"37303"]:
{{{
#!CommitTicketReference repository="" revision="37303"
Comments: Keep comments safe in the Edit Post screen.
Warns users that have added a new Comment or began editing an existing
without saving their changes, before they press the ?update? button which
would wipe out their comment changes.
Fixes #32818.
Props polevaultweb.
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:46:08 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:46:08 -0000
Subject: [wp-trac] [WordPress Trac] #36160: Comment content ul elements
have no style in the Comment List Table or Moderate Comment screen
In-Reply-To: <055.4e33f6b688888f3c432e6a21851284ad@wordpress.org>
References: <055.4e33f6b688888f3c432e6a21851284ad@wordpress.org>
Message-ID: <070.a4a4b7f07568468bc467af6b30ad2920@wordpress.org>
#36160: Comment content ul elements have no style in the Comment List Table or
Moderate Comment screen
--------------------------+-----------------------------
Reporter: rachelbaker | Owner: rachelbaker
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Comments | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Changes (by rachelbaker):
* owner: => rachelbaker
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"37304"]:
{{{
#!CommitTicketReference repository="" revision="37304"
Comments: Add unordered list styling to Comments List Table rows and
Moderate Comment screen.
Fixes #36160
Props juanfra.
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:48:38 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:48:38 -0000
Subject: [wp-trac] [WordPress Trac] #36641: WP_Term method __toString
In-Reply-To: <060.2da83d306e86f0808943e279398cc5df@wordpress.org>
References: <060.2da83d306e86f0808943e279398cc5df@wordpress.org>
Message-ID: <075.69c6988e5773478711f6e19ce27710dc@wordpress.org>
#36641: WP_Term method __toString
------------------------------+------------------------------
Reporter: sebastian.pisula | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+------------------------------
Comment (by boonebgorges):
I guess I don't see any harm in adding this, though it's not something we
offer elsewhere in WP (other than in `WP_Theme`).
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 21:56:25 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 21:56:25 -0000
Subject: [wp-trac] [WordPress Trac] #28064: Can't sort list of Users by
Name
In-Reply-To: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
References: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
Message-ID: <071.e5e60b725478f2f13508c0adbc678ced@wordpress.org>
#28064: Can't sort list of Users by Name
-----------------------------------+-----------------------------
Reporter: bobonwhidbey | Owner: chriscct7
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses:
-----------------------------------+-----------------------------
Comment (by boonebgorges):
Wow, how annoying - I'd always assumed that this column showed
`display_name`, but it is concatenating fn+ln. I don't think there's going
to be a way to make this sorting work without doing some truly terrible
things with usermeta joins, so +1 to [attachment:28064.patch]
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 22:04:35 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 22:04:35 -0000
Subject: [wp-trac] [WordPress Trac] #28064: Can't sort list of Users by
Name
In-Reply-To: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
References: <056.1afeedce9c44441c4caa5ccf71c33c77@wordpress.org>
Message-ID: <071.a073ba29201d3db507d53fb5f85ba48a@wordpress.org>
#28064: Can't sort list of Users by Name
------------------------------+------------------------
Reporter: bobonwhidbey | Owner: chriscct7
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+------------------------
Changes (by ocean90):
* keywords: 2nd-opinion has-patch => has-patch commit
* milestone: Future Release => 4.6
Comment:
+1 to [attachment:28064.patch].
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 22:01:32 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 22:01:32 -0000
Subject: [wp-trac] [WordPress Trac] #36492: Add `WP_Post_Status` class
In-Reply-To: <052.d578b2981a77fee6caf6e7270d5de7d3@wordpress.org>
References: <052.d578b2981a77fee6caf6e7270d5de7d3@wordpress.org>
Message-ID: <067.9d29876f7540fbfac0d698752654ec71@wordpress.org>
#36492: Add `WP_Post_Status` class
------------------------------------+------------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by ocean90):
A `WP_Post_Status` class was already proposed 3 years ago in #12706, see
[comment:ticket:12706:135].
@DrewAPicture Any chance you could review this patch?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 22:33:27 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 22:33:27 -0000
Subject: [wp-trac] [WordPress Trac] #35457: Theme installer upload
button improvements
In-Reply-To: <051.ac2f9873fcd6562a3024ced272ac5a54@wordpress.org>
References: <051.ac2f9873fcd6562a3024ced272ac5a54@wordpress.org>
Message-ID: <066.fe067186f48825bf18b8920b301e2665@wordpress.org>
#35457: Theme installer upload button improvements
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots | javascript
-------------------------------------+-------------------------------------
Comment (by afercia):
OK so this should be fixed and #35429 reopened to make the plugin uploader
consistent with the theme one. By the way, I wouldn't recommend to toggle
the button text from "Upload" to "Browse". In combination with `aria-
expanded` the result is confusing for screen reader users. VoiceOver for
example will read out:
1) when the uploader is closed:
> Upload Theme, collapsed, button
2) when is open:
> Browse, expanded, button
Other screen readers read out 2) in a different order ("expanded" and then
"browse") but it's confusing anyways. What is this "Browse thing" that is
now "expanded", while actually the expanded thing is the uploader?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 22:40:35 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 22:40:35 -0000
Subject: [wp-trac] [WordPress Trac] #36642: Add function to generate
`image-set` attribute
Message-ID: <050.eef3643a4bcd05aa4493b94c24875ff9@wordpress.org>
#36642: Add function to generate `image-set` attribute
-------------------------+-----------------------------
Reporter: dbaker | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
This is a follow-up to #33641.
It would be great to have a function that we can use to generate a `image-
set` attribute, to support responsive images as background's on elements.
See: https://drafts.csswg.org/css-images-3/#image-set-notation
See: http://caniuse.com/#search=image-set
Or this too early for such a request? It would be great to get it on the
radar for the future.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 22:40:58 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 22:40:58 -0000
Subject: [wp-trac] [WordPress Trac] #36643: Imagick can throw uncaught
exceptions in image functions
Message-ID: <058.0eacef36f011cd2758c6b3f1c98f774a@wordpress.org>
#36643: Imagick can throw uncaught exceptions in image functions
----------------------------+-----------------
Reporter: wonderboymusic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Media | Version:
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------
`getimagesize()` calls, and some others, need to be replaced with new
`wp_*()` versions that have a `try { ... } catch ( Exception $e ) { .... }
` block
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 22:41:05 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 22:41:05 -0000
Subject: [wp-trac] [WordPress Trac] #36643: Imagick can throw uncaught
exceptions in image functions
In-Reply-To: <058.0eacef36f011cd2758c6b3f1c98f774a@wordpress.org>
References: <058.0eacef36f011cd2758c6b3f1c98f774a@wordpress.org>
Message-ID: <073.d973cd7061f046d42a9846b4c004bde0@wordpress.org>
#36643: Imagick can throw uncaught exceptions in image functions
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner: wonderboymusic
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Media | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => assigned
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 22:44:35 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 22:44:35 -0000
Subject: [wp-trac] [WordPress Trac] #36573: Add `$comment` parameter to
`get_comment_author_url_link()`
In-Reply-To: <052.5a8dee48a9ce585afff21621b5e81745@wordpress.org>
References: <052.5a8dee48a9ce585afff21621b5e81745@wordpress.org>
Message-ID: <067.8a809c7923941c073d412ee36562a9f8@wordpress.org>
#36573: Add `$comment` parameter to `get_comment_author_url_link()`
----------------------------------------+-----------------------------
Reporter: flixos90 | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.6
Component: Comments | Version: 1.5
Severity: normal | Resolution: fixed
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"37305"]:
{{{
#!CommitTicketReference repository="" revision="37305"
Comments: add a `$comment` parameter to `get_comment_author_url_link()`.
Add unit tests (none exist).
Props flixos90, wonderboymusic.
Fixes #36573.
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 22:46:41 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 22:46:41 -0000
Subject: [wp-trac] [WordPress Trac] #36643: Imagick can throw uncaught
exceptions in image functions
In-Reply-To: <058.0eacef36f011cd2758c6b3f1c98f774a@wordpress.org>
References: <058.0eacef36f011cd2758c6b3f1c98f774a@wordpress.org>
Message-ID: <073.a9f8468e0e2c38c410be14c54ed9d93b@wordpress.org>
#36643: Imagick can throw uncaught exceptions in image functions
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version:
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
----------------------------+-----------------------------
Changes (by ocean90):
* status: assigned => closed
* resolution: => duplicate
* milestone: 4.6 =>
Comment:
Duplicate of #36587.
This was
[https://github.com/mkoppanen/imagick/issues/147#issuecomment-213044380
fixed upstream] and we're going to blacklist this version.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 23:05:00 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 23:05:00 -0000
Subject: [wp-trac] [WordPress Trac] #36644: Make admin menu skip links
accessible to developers
Message-ID: <059.82d87ebc824a1d3fd310c4d6f0969005@wordpress.org>
#36644: Make admin menu skip links accessible to developers
-------------------------------------------+-----------------------------
Reporter: littler.chicken | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Keywords:
Focuses: accessibility, administration |
-------------------------------------------+-----------------------------
Currently, the WP admin skip links are hard coded in `menu-header.php` and
cannot be modified or added on to. Use case here might be a plugin with a
tabbed settings page; it might be nice to have the "Skip to main content"
bypass the tabs, since right now keyboard users still have to tab through
that entire menu, but allow the developer to add a "Skip to plugin
settings menu" or something similar on their settings page, so that both
the settings form and the tabs are available, but separate.
Modifying the output here to use a function with an array and filter can
be done easily, without changing the current output, and future skip links
can be simply added to the array.
A related change should be adding the existing section ID (set in
`add_settings_section`, so anyone using the Settings API will have already
done this) to the section title output in `do_settings_section`, to set up
the appropriate anchor. Developers who want to add a skip link to a
section on their settings page then just need to add the section ID and
text to the skip links array, using the filter.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 23:26:45 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 23:26:45 -0000
Subject: [wp-trac] [WordPress Trac] #36642: Add function to generate
`image-set` attribute
In-Reply-To: <050.eef3643a4bcd05aa4493b94c24875ff9@wordpress.org>
References: <050.eef3643a4bcd05aa4493b94c24875ff9@wordpress.org>
Message-ID: <065.18b09782f4ec9d033ce65c57ed4334d8@wordpress.org>
#36642: Add function to generate `image-set` attribute
-------------------------+------------------------------
Reporter: dbaker | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by swissspidy):
> Or this too early for such a request? It would be great to get it on the
radar for the future.
Not necessarily too early, though http://caniuse.com/#search=image-set
isn't looking bright right now.
My main concern is that if it isn't needed in core itself, there's no
benefit in adding such a function to WordPress. Of course plugin
developers can always create such helper functions themselves if needed.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 23:22:14 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 23:22:14 -0000
Subject: [wp-trac] [WordPress Trac] #36644: Make admin menu skip links
accessible to developers
In-Reply-To: <059.82d87ebc824a1d3fd310c4d6f0969005@wordpress.org>
References: <059.82d87ebc824a1d3fd310c4d6f0969005@wordpress.org>
Message-ID: <074.d3b415d44422b69251a3037e9af62cb2@wordpress.org>
#36644: Make admin menu skip links accessible to developers
-----------------------------+--------------------------------------------
Reporter: littler.chicken | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility, administration
-----------------------------+--------------------------------------------
Changes (by littler.chicken):
* keywords: => has-patch
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 23:36:17 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 23:36:17 -0000
Subject: [wp-trac] [WordPress Trac] #22237: Add keyboard shortcuts for
collapse/expand, panel-back, and close to the Customizer
In-Reply-To: <056.03ec3b46a1b3e8cc564791961083eeff@wordpress.org>
References: <056.03ec3b46a1b3e8cc564791961083eeff@wordpress.org>
Message-ID: <071.8fe88c9e6b33bd2e063ed317f430a7e1@wordpress.org>
#22237: Add keyboard shortcuts for collapse/expand, panel-back, and close to the
Customizer
-------------------------------------+-------------------------------------
Reporter: designsimply | Owner: celloexpressions
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.6
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: good-first-bug has- | Focuses: accessibility,
patch | javascript
-------------------------------------+-------------------------------------
Comment (by celloexpressions):
Good idea, I think that's a nice additional improvement. I'll test
tomorrow.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 23:47:29 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 23:47:29 -0000
Subject: [wp-trac] [WordPress Trac] #36587: PHPUnit Tests fail with PHP7
and Imagick 3.4.x
In-Reply-To: <052.fedb989df0ed83bab63ce5863ab13526@wordpress.org>
References: <052.fedb989df0ed83bab63ce5863ab13526@wordpress.org>
Message-ID: <067.3aaf00dbb18ee30c04c28706dbe57323@wordpress.org>
#36587: PHPUnit Tests fail with PHP7 and Imagick 3.4.x
--------------------------+------------------
Reporter: alpipego | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 4.6
Component: Media | Version:
Severity: normal | Resolution:
Keywords: upstream | Focuses:
--------------------------+------------------
Comment (by wonderboymusic):
In [changeset:"37306"]:
{{{
#!CommitTicketReference repository="" revision="37306"
Unit Tests: prevent rewrite spillage from `@group author` unit tests.
See #36587.
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Fri Apr 22 23:48:55 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Fri, 22 Apr 2016 23:48:55 -0000
Subject: [wp-trac] [WordPress Trac] #36645: Media file descriptions: no
support for foreign characters!
Message-ID: <053.6eb30568b86c765aff7053707536234c@wordpress.org>
#36645: Media file descriptions: no support for foreign characters!
---------------------------+-----------------------------
Reporter: webbeetle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Charset | Version: 4.5
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
''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.
'''
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 00:04:54 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 00:04:54 -0000
Subject: [wp-trac] [WordPress Trac] #36646: Tests failing with MySQL
versions greater than 5.6.17, possibility to do with transactions?
Message-ID: <055.3ab63c02d383cb2282f4e495c8a2a71b@wordpress.org>
#36646: Tests failing with MySQL versions greater than 5.6.17, possibility to do
with transactions?
------------------------------+-----------------------------
Reporter: cookiesowns | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
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.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 00:05:39 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 00:05:39 -0000
Subject: [wp-trac] [WordPress Trac] #36645: Media file descriptions: no
support for foreign characters!
In-Reply-To: <053.6eb30568b86c765aff7053707536234c@wordpress.org>
References: <053.6eb30568b86c765aff7053707536234c@wordpress.org>
Message-ID: <068.b1c6c64ce30cb38c96368c49542ebe71@wordpress.org>
#36645: Media file descriptions: no support for foreign characters!
--------------------------+------------------------------
Reporter: webbeetle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Charset | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses: accessibility
--------------------------+------------------------------
Comment (by juanfra):
Thank you for your first ticket and welcome to trac!
Related: #22363
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 00:40:50 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 00:40:50 -0000
Subject: [wp-trac] [WordPress Trac] #31021: Introduce discrete
capability for managing custom background and header
In-Reply-To: <055.a85f55cc63d16a88cd9ed3b0065f4976@wordpress.org>
References: <055.a85f55cc63d16a88cd9ed3b0065f4976@wordpress.org>
Message-ID: <070.56383a2bb25eb1aeba87cd552b012b7a@wordpress.org>
#31021: Introduce discrete capability for managing custom background and header
------------------------------------------------+--------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Customize | Review
Severity: normal | Version:
Keywords: has-patch dev-feedback 2nd-opinion | Resolution:
| Focuses:
| administration
------------------------------------------------+--------------------------
Comment (by greenshady):
I can't think of a reason to split off with custom caps for headers and
backgrounds. These are theme options. I can't recall any particular
instance where a user has needed to allow these to be customized but not
allow access to other theme options.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 00:48:55 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 00:48:55 -0000
Subject: [wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5
Upgrade
In-Reply-To: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
References: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
Message-ID: <071.0d6538f32c89dc6bd0ce0db9ee019d3d@wordpress.org>
#36534: Media Upload Issue Since 4.5 Upgrade
--------------------------+------------------------
Reporter: unicornbacon | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5.2
Component: Media | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Comment (by joemcgill):
Hi @aldon,
Thanks for the feedback. The first fix you mention is actually just
forcing WordPress to use GD instead of Imagick, which is a possible
workaround, but doesn't fix the root issue.
The second suggestion is another way of implementing the same fix
suggested in [attachment:36534.diff], which I would suggest trying first.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 01:33:26 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 01:33:26 -0000
Subject: [wp-trac] [WordPress Trac] #36647: Footer Widgets no longer working
in Monstroid theme after 4.5 update!
Message-ID: <054.bfe99feabf8e5f4acb7e1f9ca40e77fa@wordpress.org>
#36647: Footer Widgets no longer working in Monstroid theme after 4.5 update!
--------------------------+-----------------------------
Reporter: crosscycle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I just noticed that my footer is no longer listing the 4 custom widgets I
originally had, but now listing a generic footer in one long column that I
cannot seem to fix.
There doesn't appear to be a way to place the widgets back into the
footer.
Please help?!
url: www.crosscyclefitness.com
Thank you!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 01:48:36 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 01:48:36 -0000
Subject: [wp-trac] [WordPress Trac] #34358: plugin_dir_url( __FILE__ )
returns plugins directory when plugin symlinked to mu-plugins
In-Reply-To: <056.6c5e1a4c521148c91b8e26b2a2b534b0@wordpress.org>
References: <056.6c5e1a4c521148c91b8e26b2a2b534b0@wordpress.org>
Message-ID: <071.16eb764ca06edebfaa0e1fa24e4381da@wordpress.org>
#34358: plugin_dir_url( __FILE__ ) returns plugins directory when plugin symlinked
to mu-plugins
------------------------------------------------------+--------------------
Reporter: scamartist26 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Plugins | Version: 4.3.1
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests needs-refresh | Focuses:
------------------------------------------------------+--------------------
Changes (by rmccue):
* milestone: Awaiting Review => 4.6
Comment:
Gotcha; sounds like we do need explicit support for mu-plugins then.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 01:58:41 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 01:58:41 -0000
Subject: [wp-trac] [WordPress Trac] #36647: Footer Widgets no longer
working in Monstroid theme after 4.5 update!
In-Reply-To: <054.bfe99feabf8e5f4acb7e1f9ca40e77fa@wordpress.org>
References: <054.bfe99feabf8e5f4acb7e1f9ca40e77fa@wordpress.org>
Message-ID: <069.0291a22a98d18ef48af9fd56a66d1be3@wordpress.org>
#36647: Footer Widgets no longer working in Monstroid theme after 4.5 update!
--------------------------+------------------------------
Reporter: crosscycle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by crosscycle):
Problem solved - I updated my Cherry Theme and all is well again.
Thank you!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 02:35:32 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 02:35:32 -0000
Subject: [wp-trac] [WordPress Trac] #33209: Inviting a new user to
Multisite results in password being emailed
In-Reply-To: <051.3ad7a60a0b474acfc8a8fd7090547242@wordpress.org>
References: <051.3ad7a60a0b474acfc8a8fd7090547242@wordpress.org>
Message-ID: <066.5cee1f0d5f8308876c7d2924a24b0c85@wordpress.org>
#33209: Inviting a new user to Multisite results in password being emailed
------------------------------------+-----------------------------
Reporter: Ipstenu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: multisite
------------------------------------+-----------------------------
Comment (by thomaswm):
[attachment:33209.2.diff] is an attempt to fix both this ticket and #33186
in a backwards-compatible way. It does the following things:
* Changes the default text for notification emails so that they contain a
placeholder `RESETPWLINK` instead of `PASSWORD`.
* Performs a simple `false !== strpos( $welcome_email, 'PASSWORD' )` check
in `wp_welcome_notification`/`wp_welcome_notification` to see if the
email text in the `welcome_email`/`welcome_user_email` option contains the
placeholder for the password.
* If it does, then the password is sent to the user in plain text (in
order to maintain backwards compatibility).
* Otherwise, a password reset link is sent instead.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 02:50:18 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 02:50:18 -0000
Subject: [wp-trac] [WordPress Trac] #35685: Default HTTP schema when
adding a custom link
In-Reply-To: <051.670d9685dedfabf2667644694025ad1d@wordpress.org>
References: <051.670d9685dedfabf2667644694025ad1d@wordpress.org>
Message-ID: <066.12ff3545df520f47835bba169a333ed1@wordpress.org>
#35685: Default HTTP schema when adding a custom link
-----------------------------------+---------------------------------
Reporter: isdampe | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: Menus | Version:
Severity: minor | Resolution:
Keywords: has-patch ui-feedback | Focuses: ui, administration
-----------------------------------+---------------------------------
Changes (by christophherr):
* keywords: needs-patch => has-patch ui-feedback
* focuses: administration => ui, administration
Comment:
The uploaded
[https://core.trac.wordpress.org/attachment/ticket/35685/35685.diff/
35685.diff] removes the default value.
I guess the UI change needs some feedback.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 02:45:57 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 02:45:57 -0000
Subject: [wp-trac] [WordPress Trac] #36609: Unit tests in Tests_Mail not
resetting the phpmailer mock
In-Reply-To: <051.37d3a30e5db4e0bedf2f267fa1adb2e9@wordpress.org>
References: <051.37d3a30e5db4e0bedf2f267fa1adb2e9@wordpress.org>
Message-ID: <066.67e6dedf5027c0c44604c627a6e74c49@wordpress.org>
#36609: Unit tests in Tests_Mail not resetting the phpmailer mock
------------------------------------+------------------
Reporter: welcher | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------
Changes (by welcher):
* keywords: has-patch => has-patch dev-feedback
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 02:53:03 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 02:53:03 -0000
Subject: [wp-trac] [WordPress Trac] #12706: Custom post status bugs in
the admin
In-Reply-To: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
References: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
Message-ID: <069.72266727deb2bff462d329550f0a19b3@wordpress.org>
#12706: Custom post status bugs in the admin
-------------------------------------------------+-------------------------
Reporter: ptahdunbar | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version: 3.0
Keywords: has-patch westi-likes needs-testing | Resolution:
needs-unit-tests editorial-flow | Focuses:
-------------------------------------------------+-------------------------
Comment (by johnjamesjacoby):
What if we had a `WP_Status` base class that could be used by posts,
users, comments, and maybe even taxonomy terms?
What if a status had properties to define it's object, scope, transition
boundaries (to and from), related capability requirements, and so on?
What if we take the lack of an API as an opportunity to clearly define
what exactly a status is, and what we need and expect from it?
Is it visibility? Is it privacy? Is it limited to certain users? Is it
visible on the front end? Is it visible ever? Certain post types? When and
why does it transition, and to what other possible statuses based on what
conditions? Can they transition using WordPress Cron, or Heartbeat?
@danielbachhuber has worked a lot with these concepts in the past, and
bbPress also implements custom post statuses. The most often used statuses
are flat and simple, but imagine a post status for bbPress topics that
knows to close them after 90 days in inactivity. Imagine future dated
posts that actually publish on time without missing their schedules.
I absolutely do not want for perfection to get in the way of any progress
that we can make here, and I think a clearer roadmap for the future of
this feature will help everyone know where to focus their time and passion
for solving it all.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 04:03:34 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 04:03:34 -0000
Subject: [wp-trac] [WordPress Trac] #36634: `register_post_status()`
default causes notices in post list table
In-Reply-To: <047.93b1342a91ee572b594fbf3c76780687@wordpress.org>
References: <047.93b1342a91ee572b594fbf3c76780687@wordpress.org>
Message-ID: <062.c8bbd76b65e29304fab19dd8908213f4@wordpress.org>
#36634: `register_post_status()` default causes notices in post list table
-------------------------------+------------------------------
Reporter: dlh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
-------------------------------+------------------------------
Changes (by Phyrax):
* keywords: => has-patch
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 04:11:39 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 04:11:39 -0000
Subject: [wp-trac] [WordPress Trac] #13910: Get Menu name with
wp_nav_menu()
In-Reply-To: <048.9c48f76aeb7b722a1cff57d4e221a67c@wordpress.org>
References: <048.9c48f76aeb7b722a1cff57d4e221a67c@wordpress.org>
Message-ID: <063.e6e964f401c1e8aab41b0326a422b492@wordpress.org>
#13910: Get Menu name with wp_nav_menu()
-------------------------------------------------+-------------------------
Reporter: jowo | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future
Component: Menus | Release
Severity: normal | Version: 3.0
Keywords: has-patch needs-testing dev- | Resolution:
feedback needs-unit-tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by christophherr):
* keywords: has-patch needs-testing dev-feedback => has-patch needs-
testing dev-feedback needs-unit-tests
Comment:
Following what chriscct7 said in
[https://wordpress.slack.com/archives/core/p1452879345010648/ Slack],
13910-2.diff turns markoheijnen's comment into a patch.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 04:47:01 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 04:47:01 -0000
Subject: [wp-trac] [WordPress Trac] #36648: Suppressed post-usernames are
being published on Flipboard user-magazines
Message-ID: <054.e589b5d91c4531467bec29405d7cb893@wordpress.org>
#36648: Suppressed post-usernames are being published on Flipboard user-magazines
--------------------------+-----------------------------
Reporter: CDN WP GUY | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.4.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hey there.
So, I assume like many, I changed my dashboard 'admin' default to a harder
to guess username and then suppressed having that name appear when I post
as that user on my wp site. Basically it acts like a second level of
password, you gotta guess the username 1st, then a password if you want to
try to hack into my site ? Feeling all warm and secure.
Suddenly Flipboard!
Someone sends me a link to their personal Flipboard magazine (didn't know
that was possible) and they are pulling content from my wp site. Cool!
More networking. I check out the link to their Flipboard mag.
Lo & Behold! There is my suppressed username published on the Flipboard
mag for all to see ? Feeling violated.
Contacted Flipboard ? final summary from them:
"In this situation, that is expected behavior. Although it may be
suppressed in Wordpress, we are pulling an RSS feed that's in our
database, where "yourusername" is included in the markup, so that will
display."
("yourusername" the username for none to see).
So RSS feed, markup ... seems WP should be trapping usernames on posts if
they are suppressed ... and stripping them out of published RSS feeds or
'markup' ? whatever the Flipboard guy is talking about.
Otherwise, there's not much point in offering the ability to suppress
usernames on WP posts being published elsewhere. And if we post under a
suppressed username that we like to log in with, assuming no one will see
it ... strikes me as a bit of an oops - security wise.
Thanks for reading!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 05:02:48 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 05:02:48 -0000
Subject: [wp-trac] [WordPress Trac] #36123: "Desktop settings" not shown
on mobile
In-Reply-To: <057.44d05e340ab1bc3de686de5fbd5505e7@wordpress.org>
References: <057.44d05e340ab1bc3de686de5fbd5505e7@wordpress.org>
Message-ID: <072.1d609057a9dcc9da2e02f4f69b4c2896@wordpress.org>
#36123: "Desktop settings" not shown on mobile
-------------------------------+---------------------------------
Reporter: marco.marsala | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 4.4.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: ui, administration
-------------------------------+---------------------------------
Comment (by christophherr):
Hi @marco.marsala,
are you talking about the Screen Options and Help buttons?
#screen-meta and #screen-meta-links are set to display: none; in the 782px
media query.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 06:31:37 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 06:31:37 -0000
Subject: [wp-trac] [WordPress Trac] #36521: Setting media control value
through JavaScript API does not update control template
In-Reply-To: <061.1e1836bcf617381d53d8c4c92c337383@wordpress.org>
References: <061.1e1836bcf617381d53d8c4c92c337383@wordpress.org>
Message-ID: <076.0985906a3a1ce7b31a7b9f06b903f68e@wordpress.org>
#36521: Setting media control value through JavaScript API does not update control
template
-------------------------------+-------------------------
Reporter: TimothyBlynJacobs | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
-------------------------------+-------------------------
Comment (by westonruter):
@TimothyBlynJacobs I found a couple more scenarios that meant further
iteration on your patch.
First of all, the control needed to handle the scenario for when it is
dynamically instantiated with JS without passing the `attachmentData` as a
param up front.
Secondly, I noticed that there were Ajax calls being made to get the
attachment data with a URL being supplied as the attachment ID. Turns out
the `BackgroundImage` control, as a subclass of `UploadControl`, uses the
URL of the attachment as the value, and it also manually sets the
attachment data before rendering. So in its case, we can just assume the
attachment data is already set.
Please give it a try.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 06:32:06 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 06:32:06 -0000
Subject: [wp-trac] [WordPress Trac] #36521: Setting media control value
through JavaScript API does not update control template
In-Reply-To: <061.1e1836bcf617381d53d8c4c92c337383@wordpress.org>
References: <061.1e1836bcf617381d53d8c4c92c337383@wordpress.org>
Message-ID: <076.b426fcc199407970abbb9fb8a460ffa9@wordpress.org>
#36521: Setting media control value through JavaScript API does not update control
template
-------------------------------------+-------------------------
Reporter: TimothyBlynJacobs | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+-------------------------
Changes (by westonruter):
* keywords: has-patch => has-patch needs-testing
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 06:40:09 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 06:40:09 -0000
Subject: [wp-trac] [WordPress Trac] #14551: menu item :
current_page_parent : issue with Front page displays
In-Reply-To: <060.8671349fd6e7d5648d3953fa2ff5fa5f@wordpress.org>
References: <060.8671349fd6e7d5648d3953fa2ff5fa5f@wordpress.org>
Message-ID: <075.635202354ba2191a0bb36d31cb3b4089@wordpress.org>
#14551: menu item : current_page_parent : issue with Front page displays
--------------------------+------------------------------
Reporter: hughestm@? | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Changes (by christophherr):
* keywords: needs-testing needs-refresh has-patch => has-patch
Comment:
The settings under "A Static Page" are now automatically reset when "Your
latest posts" is selected and the changes are saved.
The class current_page_parent is no longer added to the previous posts
page.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 06:57:43 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 06:57:43 -0000
Subject: [wp-trac] [WordPress Trac] #35824: Inline svg icons are not
displaying when the page is viewed from Customizer's iframe
In-Reply-To: <054.33dc6ecf4f713810fa14ec16198f5c1e@wordpress.org>
References: <054.33dc6ecf4f713810fa14ec16198f5c1e@wordpress.org>
Message-ID: <069.327d169f53c6328fd1e48863c29f69ac@wordpress.org>
#35824: Inline svg icons are not displaying when the page is viewed from
Customizer's iframe
--------------------------+--------------------
Reporter: johndoedoe | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Comment (by bentleykfrog):
@aut0poietic Thanks for confirming that. I was able to reproduce your
issue in Safari 9.1. In Firefox 46.0b9 & Chrome 50.0.2661.86 the issue is
more like the O.P.
In Safari 9.1 on Mac:
Only shapes that are filled with gradients using fragment identifiers &
filters using similar fragment identifiers are not displaying. SVG shapes
with solid fills do display. Adding a history state that matches the base
href on iframe document.write() fixed this in safari after flushing its
cache and refreshing the page.
Chrome 50.0.2661.86 on Mac and Windows & Firefox 46.0b9 on Mac show the
same issues as the O.P. All SVG elements that use fragment identifiers to
reference inline content don't display the referenced content. Again
adding a history state that matches the base href on iframe
document.write() fixes this issue.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 06:57:17 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 06:57:17 -0000
Subject: [wp-trac] [WordPress Trac] #36647: Footer Widgets no longer
working in Monstroid theme after 4.5 update!
In-Reply-To: <054.bfe99feabf8e5f4acb7e1f9ca40e77fa@wordpress.org>
References: <054.bfe99feabf8e5f4acb7e1f9ca40e77fa@wordpress.org>
Message-ID: <069.1328135cb50ac5cfda14796e73ced989@wordpress.org>
#36647: Footer Widgets no longer working in Monstroid theme after 4.5 update!
--------------------------+----------------------
Reporter: crosscycle | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Widgets | Version: 4.5
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => invalid
* component: General => Widgets
* milestone: Awaiting Review =>
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 07:11:15 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 07:11:15 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
In-Reply-To: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
References: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
Message-ID: <064.6c40af55e10a5c74f7ffa733f1091b74@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-------------------------
Reporter: walbo | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.5.2
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by askapache):
Thats a good start, I have deployed your patch. I think this needs a lot
more thinking about from a UX perspective. The dev-side is solid, it
seems to me to be a lack of scope and QC from a non-dev perspective. Just
my 2c
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 07:12:58 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 07:12:58 -0000
Subject: [wp-trac] [WordPress Trac] #36648: Suppressed post-usernames
are being published on Flipboard user-magazines
In-Reply-To: <054.e589b5d91c4531467bec29405d7cb893@wordpress.org>
References: <054.e589b5d91c4531467bec29405d7cb893@wordpress.org>
Message-ID: <069.afa235d1cb39a0a30749568dfab105e3@wordpress.org>
#36648: Suppressed post-usernames are being published on Flipboard user-magazines
--------------------------+------------------------------
Reporter: CDN WP GUY | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* component: General => Users
Comment:
Hi CDN WP GUY, welcome to Trac!
> Otherwise, there's not much point in offering the ability to suppress
usernames on WP posts being published elsewhere. And if we post under a
suppressed username that we like to log in with, assuming no one will see
it ... strikes me as a bit of an oops - security wise.
WordPress core does not offer such an ability, as usernames are considered
public information, and disclosing them is generally not a security issue.
See comment:1:ticket:34836, comment:1:ticket:33056, and the tickets linked
there.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 07:18:15 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 07:18:15 -0000
Subject: [wp-trac] [WordPress Trac] #36645: Media file descriptions: no
support for foreign characters!
In-Reply-To: <053.6eb30568b86c765aff7053707536234c@wordpress.org>
References: <053.6eb30568b86c765aff7053707536234c@wordpress.org>
Message-ID: <068.78bf2ba2bc6149b414d504eb02791171@wordpress.org>
#36645: Media file descriptions: no support for foreign characters!
--------------------------+------------------------
Reporter: webbeetle | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 4.5
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => duplicate
* focuses: accessibility =>
* component: Charset => Media
* milestone: Awaiting Review =>
Comment:
Duplicate of #22363.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 07:26:26 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 07:26:26 -0000
Subject: [wp-trac] [WordPress Trac] #36521: Setting media control value
through JavaScript API does not update control template
In-Reply-To: <061.1e1836bcf617381d53d8c4c92c337383@wordpress.org>
References: <061.1e1836bcf617381d53d8c4c92c337383@wordpress.org>
Message-ID: <076.3660ba2c32cbdcec4e7aabd2ac5d3680@wordpress.org>
#36521: Setting media control value through JavaScript API does not update control
template
-------------------------------------+-------------------------
Reporter: TimothyBlynJacobs | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+-------------------------
Comment (by TimothyBlynJacobs):
Thanks for taking a look and the much more thorough approach. I will
certainly give it a try.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 07:40:56 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 07:40:56 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
In-Reply-To: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
References: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
Message-ID: <064.2b85540721d9bc262d312364d53af405@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-------------------------
Reporter: walbo | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.5.2
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by iseulde):
@askapache Could you elaborate?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 08:01:41 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 08:01:41 -0000
Subject: [wp-trac] [WordPress Trac] #36644: Make admin menu skip links
accessible to developers
In-Reply-To: <059.82d87ebc824a1d3fd310c4d6f0969005@wordpress.org>
References: <059.82d87ebc824a1d3fd310c4d6f0969005@wordpress.org>
Message-ID: <074.428c66eeadddc77ade3a40bdb94b97fd@wordpress.org>
#36644: Make admin menu skip links accessible to developers
------------------------------+--------------------------------------------
Reporter: littler.chicken | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs- | Focuses: accessibility, administration
docs |
------------------------------+--------------------------------------------
Changes (by SergeyBiryukov):
* keywords: has-patch => has-patch needs-docs
* milestone: Awaiting Review => 4.6
Comment:
Hi @littler.chicken, thanks for the ticket and patch! Seems like a good
enhancement.
The only thing missing is the documentation for the new filter, see
[https://make.wordpress.org/core/handbook/best-practices/inline-
documentation-standards/php/#4-hooks-actions-and-filters Hooks (Actions
and Filters)] section in the documentation standards.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 08:02:56 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 08:02:56 -0000
Subject: [wp-trac] [WordPress Trac] #36590: POST['nav-menu-data'] breaks
other POST values
In-Reply-To: <050.ab970dd7bc3b23eb58be85ba728866fb@wordpress.org>
References: <050.ab970dd7bc3b23eb58be85ba728866fb@wordpress.org>
Message-ID: <065.500bc20f861982367d2590ffe465aa7f@wordpress.org>
#36590: POST['nav-menu-data'] breaks other POST values
-------------------------------------+-------------------------------------
Reporter: Unyson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Menus | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch has-unit- | Focuses: javascript,
tests | administration
-------------------------------------+-------------------------------------
Comment (by Unyson):
> @ericlewis https://core.trac.wordpress.org/ticket/36590#comment:11
'''it works'''
''(sorry for slow reply, I had set a wrong email in my profile and got no
notifications)''
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 08:15:14 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 08:15:14 -0000
Subject: [wp-trac] [WordPress Trac] #36609: Unit tests in Tests_Mail not
resetting the phpmailer mock
In-Reply-To: <051.37d3a30e5db4e0bedf2f267fa1adb2e9@wordpress.org>
References: <051.37d3a30e5db4e0bedf2f267fa1adb2e9@wordpress.org>
Message-ID: <066.86a7a411de9921725f056adc0aabdcf0@wordpress.org>
#36609: Unit tests in Tests_Mail not resetting the phpmailer mock
------------------------------------+-----------------------------
Reporter: welcher | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"37307"]:
{{{
#!CommitTicketReference repository="" revision="37307"
Build/Test Tools: Reset the PHPMailer mock in `Tests_Mail::tearDown()`.
Props welcher.
Fixes #36609.
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 08:18:37 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 08:18:37 -0000
Subject: [wp-trac] [WordPress Trac] #36168: Introduce get_canonical_url
function
In-Reply-To: <055.b89264065a45abe784e23faaef3ee7fa@wordpress.org>
References: <055.b89264065a45abe784e23faaef3ee7fa@wordpress.org>
Message-ID: <070.6125f0e6361c5824234e249e52c3c12f@wordpress.org>
#36168: Introduce get_canonical_url function
-------------------------------------------------+-------------------------
Reporter: joostdevalk | Owner:
Type: enhancement | joostdevalk
Priority: normal | Status: assigned
Component: Canonical | Milestone: 4.6
Severity: normal | Version:
Keywords: has-patch dev-feedback 4.6-early | Resolution:
has-unit-tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* milestone: Future Release => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 08:29:42 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 08:29:42 -0000
Subject: [wp-trac] [WordPress Trac] #36434: Consider TinyMCE's
implementation of `contenteditable="false"` for views
In-Reply-To: <051.471a5e2b5605cdece977df207a4cbba1@wordpress.org>
References: <051.471a5e2b5605cdece977df207a4cbba1@wordpress.org>
Message-ID: <066.d5a7e92a63f0f7aedcedcdc42ee3fa2f@wordpress.org>
#36434: Consider TinyMCE's implementation of `contenteditable="false"` for views
-------------------------+-------------------------
Reporter: iseulde | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
-------------------------+-------------------------
Comment (by iseulde):
Not sure how to solve unbinding. Now we provide the node and unbinding
happens before removal. If we switch to some kind of cleanup instead,
running after the node's been removed, some information necessary to
unbind is missing.
E.g.
In the case were we don't use iframes, and have mejs.
We need the ID associated with the node to remove the instance from the
global object.
`window.mejs.players[ $( node ).find( '.mejs-container' ).get( 0 ).id
].remove()`
Maybe in this case the view instance needs to save IDs associated with its
nodes, and check which nodes are missing on cleanup.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 08:46:30 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 08:46:30 -0000
Subject: [wp-trac] [WordPress Trac] #36590: POST['nav-menu-data'] breaks
other POST values
In-Reply-To: <050.ab970dd7bc3b23eb58be85ba728866fb@wordpress.org>
References: <050.ab970dd7bc3b23eb58be85ba728866fb@wordpress.org>
Message-ID: <065.1da9d4681dfd776f218f1472e7ed2a7b@wordpress.org>
#36590: POST['nav-menu-data'] breaks other POST values
-------------------------------------+-------------------------------------
Reporter: Unyson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Menus | Version: 4.5
Severity: normal | Resolution:
Keywords: has-unit-tests has- | Focuses: javascript,
patch needs-refresh | administration
-------------------------------------+-------------------------------------
Changes (by swissspidy):
* keywords: has-patch has-unit-tests => has-unit-tests has-patch needs-
refresh
Comment:
Thanks for your input, @dd32!
In that case, we should put these 2 functions in `wp-admin/nav-menus.php`
for 4.5.2, and `wp-admin/includes/nav-menu.php` for trunk. Of course a
solution without the need for `_array_replace_recursive()` would be great,
too.
Otherwise, should we perhaps just use `if ( ! function_exists(
'array_replace_recursive' ) ) { function array_replace_recursive ? }` ?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 09:00:46 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 09:00:46 -0000
Subject: [wp-trac] [WordPress Trac] #36590: POST['nav-menu-data'] breaks
other POST values
In-Reply-To: <050.ab970dd7bc3b23eb58be85ba728866fb@wordpress.org>
References: <050.ab970dd7bc3b23eb58be85ba728866fb@wordpress.org>
Message-ID: <065.e4f4c97bc0bc4b651a048612b7c89566@wordpress.org>
#36590: POST['nav-menu-data'] breaks other POST values
-------------------------------------+-------------------------------------
Reporter: Unyson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Menus | Version: 4.5
Severity: normal | Resolution:
Keywords: has-unit-tests has- | Focuses: javascript,
patch needs-refresh | administration
-------------------------------------+-------------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:29 swissspidy]:
> Otherwise, should we perhaps just use `if ( ! function_exists(
'array_replace_recursive' ) ) { function array_replace_recursive ? }` ?
Yup, and I think it should go in `wp-admin/nav-menus.php` for 4.5.2, and
`wp-includes/compat.php` for trunk.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 09:13:57 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 09:13:57 -0000
Subject: [wp-trac] [WordPress Trac] #36636: allow add_editor_style() to
include inline style
In-Reply-To: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
References: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
Message-ID: <069.39914e723984166e7f79739f6e8f489f@wordpress.org>
#36636: allow add_editor_style() to include inline style
-------------------------+----------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 3.0
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-------------------------+----------------------
Comment (by selnomeria):
a while ago, i posted in FB support that "almost every time I come accross
a problem or find out a good suggesion, it doesnt matter if i tell that to
support, because it wont ever be taken into account, they will always say
opposite".
this is evergreen truth for me, like in this situation. (because as i say,
that it is problem for me(like one of developers), so it could be
problematic for many others too... when working in notepad++ ftp
connections, it is not easy to create a new file "editor_style.css" and
upload it to site, and then blablabla... so it was a very quick and
helpful way, to have a function, which will directly inject something
style into MCE window... lets people use "add_editor_style", but what if
you will take into account an ask of a particular person, and make a
function, which will do that. it will be HELP for me, for many of like
me...)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 10:04:31 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 10:04:31 -0000
Subject: [wp-trac] [WordPress Trac] #35600: Hooks for post sticky status
changes
In-Reply-To: <050.cc401779481fe721bd25bcc322a55851@wordpress.org>
References: <050.cc401779481fe721bd25bcc322a55851@wordpress.org>
Message-ID: <065.6f945bbbb5a820072fe2cd39fe8b5d83@wordpress.org>
#35600: Hooks for post sticky status changes
--------------------------------------+------------------------------
Reporter: ojrask | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by ojrask):
* version: 4.4.1 => 2.7
Comment:
Changed the version to 2.7 as hooks in their current state were introduced
in 2.1 and sticky posts arrived in version 2.7.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 10:42:03 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 10:42:03 -0000
Subject: [wp-trac] [WordPress Trac] #36636: allow add_editor_style() to
include inline style
In-Reply-To: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
References: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
Message-ID: <069.2bdfa4d274a89daec559247e360c63da@wordpress.org>
#36636: allow add_editor_style() to include inline style
-------------------------+----------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 3.0
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-------------------------+----------------------
Comment (by swissspidy):
Replying to [comment:5 selnomeria]:
> a while ago, i posted in FB support that "almost every time I come
accross a problem or find out a good suggesion, it doesnt matter if i tell
that to support, because it wont ever be taken into account, they will
always say opposite".
> this is evergreen truth for me, like in this situation. (because as i
say, that it is problem for me(like one of developers), so it could be
problematic for many others too... when working in notepad++ ftp
connections, it is not easy to create a new file "editor_style.css" and
upload it to site, and then blablabla... so it was a very quick and
helpful way, to have a function, which will directly inject something
style into MCE window... lets people use "add_editor_style", but what if
you will take into account an ask of a particular person, and make a
function, which will do that. it will be HELP for me, for many of like
me...)
Apart from this not being an ideal workflow, nobody stops you from
creating such a function yourself. TinyMCE supports it, but it's just not
something we'd implement in core for the reasons mentioned earlier.
For example, you could use something like that to achieve what you want:
{{{#!php
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 10:56:38 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 10:56:38 -0000
Subject: [wp-trac] [WordPress Trac] #36635: Issue with size_format
function when value is 0
In-Reply-To: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
References: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
Message-ID: <067.8c2c88480303e209e8e29b1443f7e5a1@wordpress.org>
#36635: Issue with size_format function when value is 0
--------------------------------------+------------------
Reporter: bangelov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: General | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Changes (by swissspidy):
* keywords: needs-patch needs-unit-tests => has-patch has-unit-tests
* milestone: Awaiting Review => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 11:17:05 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 11:17:05 -0000
Subject: [wp-trac] [WordPress Trac] #36635: Issue with size_format
function when value is 0
In-Reply-To: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
References: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
Message-ID: <067.ac6089704431c3c45b476eff381ab5b1@wordpress.org>
#36635: Issue with size_format function when value is 0
--------------------------------------+------------------
Reporter: bangelov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: General | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Comment (by SergeyBiryukov):
There are some `size_format()` tests in `tests/functions.php`, might be
worth combining them.
Also related: #23626.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 11:18:58 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 11:18:58 -0000
Subject: [wp-trac] [WordPress Trac] #35600: Hooks for post sticky status
changes
In-Reply-To: <050.cc401779481fe721bd25bcc322a55851@wordpress.org>
References: <050.cc401779481fe721bd25bcc322a55851@wordpress.org>
Message-ID: <065.a4172d4191f620cd2ea55f4560729c39@wordpress.org>
#35600: Hooks for post sticky status changes
--------------------------------------+------------------
Reporter: ojrask | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Posts, Post Types | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 11:24:38 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 11:24:38 -0000
Subject: [wp-trac] [WordPress Trac] #35600: Hooks for post sticky status
changes
In-Reply-To: <050.cc401779481fe721bd25bcc322a55851@wordpress.org>
References: <050.cc401779481fe721bd25bcc322a55851@wordpress.org>
Message-ID: <065.1ea088f6e37e9da89b5c91cebbed1399@wordpress.org>
#35600: Hooks for post sticky status changes
--------------------------------------+------------------
Reporter: ojrask | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Posts, Post Types | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Comment (by ocean90):
@ojrask The tests must be compatible with PHP 5.2. For testing hooks I
suggest to use `MockAction` from /tests/phpunit/includes/utils.php.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:08:00 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:08:00 -0000
Subject: [wp-trac] [WordPress Trac] #31625: Function
register_uninstall_hook doesn't have a method to remove the outdated data
In-Reply-To: <054.abd0186d3a81135aa1b83f65ce5af113@wordpress.org>
References: <054.abd0186d3a81135aa1b83f65ce5af113@wordpress.org>
Message-ID: <069.b7a50e4574c300001657923f03793159@wordpress.org>
#31625: Function register_uninstall_hook doesn't have a method to remove the
outdated data
-------------------------------------+--------------------------
Reporter: voron_eril | Owner: dd32
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.6
Component: Plugins | Version: 4.1.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: performance
-------------------------------------+--------------------------
Changes (by dd32):
* owner: => dd32
* status: new => accepted
* milestone: Future Release => 4.6
Comment:
Other than not needing to check `$update` (`update_option()` will check if
the value has changed) [attachment:31625.diff] seems good to me.
You don't need to create a new patch for that though, can strip that out
during commit easily enough (feel free to upload a new one if you'd like)
> I incremented the current db version to an arbitrary 36999 as I wasn't
sure how it would be calculated.
We set it to the SVN Commit number of the commit we're making when the
patch is committed, so an arbitrary number is good :) although I usually
just use +1 (and then +1 again for the next test iteration.. etc)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:19:41 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:19:41 -0000
Subject: [wp-trac] [WordPress Trac] #36635: Issue with size_format
function when value is 0
In-Reply-To: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
References: <052.1647d70c1fbd7bc7faf444ddabd84960@wordpress.org>
Message-ID: <067.8e6ed457f835f067baba66ccdf376731@wordpress.org>
#36635: Issue with size_format function when value is 0
--------------------------------------+------------------
Reporter: bangelov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: General | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Comment (by swissspidy):
Thanks @SergeyBiryukov, totally missed those!
[attachment:36635.2.diff] combines the tests.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:24:21 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:24:21 -0000
Subject: [wp-trac] [WordPress Trac] #30686: Twenty
Fourteen/Thirteen/Twelve Navbar submenu behaviour
In-Reply-To: <054.619e3e6227b45fe7c038ff164f9f3d5a@wordpress.org>
References: <054.619e3e6227b45fe7c038ff164f9f3d5a@wordpress.org>
Message-ID: <069.832346bcd88c4ef01455042cba720642@wordpress.org>
#30686: Twenty Fourteen/Thirteen/Twelve Navbar submenu behaviour
---------------------------+-----------------------------
Reporter: trenzterra | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version: 4.0.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+-----------------------------
Changes (by karmatosed):
* keywords: early needs-patch => needs-patch
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:25:16 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:25:16 -0000
Subject: [wp-trac] [WordPress Trac] #33143: Twenty Fifteen uses jQuery
window.width() - which is not synced with used media queries
In-Reply-To: <048.6dfeee8a1eb95446c1f75b2a6f5d04ae@wordpress.org>
References: <048.6dfeee8a1eb95446c1f75b2a6f5d04ae@wordpress.org>
Message-ID: <063.c9a201a61bcc93c9f03939ed8a0fcc6e@wordpress.org>
#33143: Twenty Fifteen uses jQuery window.width() - which is not synced with used
media queries
---------------------------+-----------------------------
Reporter: th23 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version: 4.2.3
Severity: normal | Resolution:
Keywords: needs-testing | Focuses: javascript
---------------------------+-----------------------------
Changes (by karmatosed):
* keywords: needs-testing has-patch => needs-testing
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:25:46 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:25:46 -0000
Subject: [wp-trac] [WordPress Trac] #31625: Function
register_uninstall_hook doesn't have a method to remove the outdated data
In-Reply-To: <054.abd0186d3a81135aa1b83f65ce5af113@wordpress.org>
References: <054.abd0186d3a81135aa1b83f65ce5af113@wordpress.org>
Message-ID: <069.55d9d161e1ecffc04317dee6196c1512@wordpress.org>
#31625: Function register_uninstall_hook doesn't have a method to remove the
outdated data
-------------------------------------+--------------------------
Reporter: voron_eril | Owner: dd32
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.6
Component: Plugins | Version: 4.1.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: performance
-------------------------------------+--------------------------
Comment (by polevaultweb):
@dd32 Thanks for that. I've uploaded a new patch with the SVN commit
incremented (thanks for the info). I have removed the $update check, I did
know that honest ;)
I have added a check for the initial get option as well. Cheers!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:31:14 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:31:14 -0000
Subject: [wp-trac] [WordPress Trac] #36429: Twenty Eleven Ephemera
widget fails to prevent caching in Customizer preview
In-Reply-To: <055.4f026cd6a6c93ce3d15d2ccf844c1810@wordpress.org>
References: <055.4f026cd6a6c93ce3d15d2ccf844c1810@wordpress.org>
Message-ID: <070.dbff161e745b81e92e176c8fd1909f94@wordpress.org>
#36429: Twenty Eleven Ephemera widget fails to prevent caching in Customizer
preview
----------------------------------------+------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Bundled Theme | Version: 3.2
Severity: normal | Resolution:
Keywords: good-first-bug needs-patch | Focuses:
----------------------------------------+------------------
Changes (by karmatosed):
* milestone: Future Release => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:39:34 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:39:34 -0000
Subject: [wp-trac] [WordPress Trac] #36590: POST['nav-menu-data'] breaks
other POST values
In-Reply-To: <050.ab970dd7bc3b23eb58be85ba728866fb@wordpress.org>
References: <050.ab970dd7bc3b23eb58be85ba728866fb@wordpress.org>
Message-ID: <065.e095f29e90fc17b128831f1edd3da327@wordpress.org>
#36590: POST['nav-menu-data'] breaks other POST values
-------------------------------------+-------------------------------------
Reporter: Unyson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Menus | Version: 4.5
Severity: normal | Resolution:
Keywords: has-unit-tests has- | Focuses: javascript,
patch needs-testing | administration
-------------------------------------+-------------------------------------
Changes (by swissspidy):
* keywords: has-unit-tests has-patch needs-refresh => has-unit-tests has-
patch needs-testing
Comment:
Just uploaded two new patches, [attachment:36590-4.5.2.diff] for 4.5.2 and
[attachment:36590-trunk.diff] for (surprise) trunk.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:36:11 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:36:11 -0000
Subject: [wp-trac] [WordPress Trac] #31088: Post revisions in the
customizer
In-Reply-To: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
References: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
Message-ID: <074.1b5e650a57480104f650edf97620c6ee@wordpress.org>
#31088: Post revisions in the customizer
-----------------------------+------------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
-----------------------------+------------------------------
Comment (by karmatosed):
I think it is important to think why this would be more useful to users
and do some tests. I'm not totally sold people want to have revisions in
the customizer for posts - which I think is what is being suggested. I do
however think revisions for their changes in customizer they may want,
infact I've seen people wanting that in tests.
What is the background to this? Why is it being suggested? Is it based on
user testing? Some need? Would be great to get context and the research -
or to get research.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:41:56 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:41:56 -0000
Subject: [wp-trac] [WordPress Trac] #35936: Add validation for Custom
Structure permalinks
In-Reply-To: <057.017a21577d3803188d86fcfafd84b1b0@wordpress.org>
References: <057.017a21577d3803188d86fcfafd84b1b0@wordpress.org>
Message-ID: <072.6cdd3b0655a299fbd16306454952c1b7@wordpress.org>
#35936: Add validation for Custom Structure permalinks
--------------------------------------+-------------------------
Reporter: SteveNetRivet | Owner: rockwell15
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: Permalinks | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses: ui
--------------------------------------+-------------------------
Changes (by swissspidy):
* owner: => rockwell15
* status: new => assigned
Comment:
Replying to [comment:9 rockwell15]:
> @swissspidy Hows about "A structure tag is required when using custom
permalinks."
>
> Also, what do you think about changing the link to jump to the custom
permalinks section so it's easier to follow:
>
https://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure
Yeah that could work.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:44:04 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:44:04 -0000
Subject: [wp-trac] [WordPress Trac] #35915: Documentation of
`get_preview_post_link` declares missing return variable type information
In-Reply-To: <053.42e8eab3b0ffd0206ea4da352bbebcd7@wordpress.org>
References: <053.42e8eab3b0ffd0206ea4da352bbebcd7@wordpress.org>
Message-ID: <068.a6965073413e7be915002f0a088e8c8d@wordpress.org>
#35915: Documentation of `get_preview_post_link` declares missing return variable
type information
--------------------------------------+-------------------
Reporter: chris_dev | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: General | Version: 4.4
Severity: trivial | Resolution:
Keywords: has-patch has-unit-tests | Focuses: docs
--------------------------------------+-------------------
Changes (by swissspidy):
* milestone: Future Release => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:46:07 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:46:07 -0000
Subject: [wp-trac] [WordPress Trac] #27266: Front end search for
attachment title cannot succeed
In-Reply-To: <053.dc3cb163ef0457f72d882c3a9a9dd88f@wordpress.org>
References: <053.dc3cb163ef0457f72d882c3a9a9dd88f@wordpress.org>
Message-ID: <068.ce0d14e23f24b086dc32d4b53bcca9ea@wordpress.org>
#27266: Front end search for attachment title cannot succeed
--------------------------------------+------------------
Reporter: dglingren | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Query | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Changes (by swissspidy):
* keywords: early has-patch has-unit-tests => has-patch has-unit-tests
* milestone: Future Release => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:43:20 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:43:20 -0000
Subject: [wp-trac] [WordPress Trac] #10984: If content uses the nextpage
tag then only the first page is shown in feeds
In-Reply-To: <057.84637a36ee8f0f6bd18c3f0bc097c414@wordpress.org>
References: <057.84637a36ee8f0f6bd18c3f0bc097c414@wordpress.org>
Message-ID: <072.2ac83e175117efefd582861e46298aca@wordpress.org>
#10984: If content uses the nextpage tag then only the first page is shown in feeds
--------------------------------------+-----------------------------
Reporter: simonwheatley | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Feeds | Version: 2.8.4
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Changes (by swissspidy):
* owner: swissspidy =>
* status: accepted => assigned
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:47:24 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:47:24 -0000
Subject: [wp-trac] [WordPress Trac] #35021: Dashboard widgets doubled
"Configure" link
In-Reply-To: <051.d34d866eca4b2c60f741d207b6bc461c@wordpress.org>
References: <051.d34d866eca4b2c60f741d207b6bc461c@wordpress.org>
Message-ID: <066.85741c70b60ab5414cc9c310400e7169@wordpress.org>
#35021: Dashboard widgets doubled "Configure" link
-------------------------------------------------+-------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Widgets | Version: 4.4
Severity: normal | Resolution:
Keywords: has-screenshots good-first-bug has- | Focuses: ui,
patch dev-feedback | accessibility
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* milestone: Future Release => 4.6
Comment:
Would be great if we could fix this in 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:52:00 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:52:00 -0000
Subject: [wp-trac] [WordPress Trac] #23794: load_plugin_textdomain fails
if plugin is loaded from mu-plugins
In-Reply-To: <049.b9189884989f8f320df95ffd56736f6b@wordpress.org>
References: <049.b9189884989f8f320df95ffd56736f6b@wordpress.org>
Message-ID: <064.ba13cc42f04250c9bff98a6f126d8da1@wordpress.org>
#23794: load_plugin_textdomain fails if plugin is loaded from mu-plugins
-------------------------+-------------------------
Reporter: ideag | Owner: swissspidy
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: I18N | Version: 3.5.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+-------------------------
Changes (by swissspidy):
* owner: => swissspidy
* status: reopened => assigned
* milestone: Future Release => 4.6
Comment:
We could tackle this together with #34114 (Remove the requirement to call
load_plugin_textdomain() or load_theme_textdomain()), though it might also
make this enhancement obsolete. Anyway, it's not a big task.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 12:57:34 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 12:57:34 -0000
Subject: [wp-trac] [WordPress Trac] #33007: Add a dashboard widget that
encourages users to translate WordPress
In-Reply-To: <055.807465dde7c8f051f5e3c648959f31b5@wordpress.org>
References: <055.807465dde7c8f051f5e3c648959f31b5@wordpress.org>
Message-ID: <070.85ad6c661383b79c7a789477e7aa1741@wordpress.org>
#33007: Add a dashboard widget that encourages users to translate WordPress
-----------------------------+------------------------------
Reporter: joostdevalk | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-----------------------------+------------------------------
Comment (by swissspidy):
Admin notices are quite limited in space. What about adding this to the
welcome panel or perhaps the about screen?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 13:00:02 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 13:00:02 -0000
Subject: [wp-trac] [WordPress Trac] #35733: Avoid using HTML tags in
translation strings (wp-includes/wp-db.php)
In-Reply-To: <049.d3ca4380ad65206aa32a015868a485a4@wordpress.org>
References: <049.d3ca4380ad65206aa32a015868a485a4@wordpress.org>
Message-ID: <064.c04194bec62d8333cd7e89b2a006b6a3@wordpress.org>
#35733: Avoid using HTML tags in translation strings (wp-includes/wp-db.php)
-----------------------------+------------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch close | Focuses:
-----------------------------+------------------------------
Changes (by swissspidy):
* keywords: has-patch => has-patch close
Comment:
IMHO it makes sense to be able to translate the `username_` part.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 13:05:35 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 13:05:35 -0000
Subject: [wp-trac] [WordPress Trac] #35718: Avoid using HTML tags in
translation strings (wp-admin/maint/repair.php)
In-Reply-To: <049.dc3edf205a6db6d294251e96fdef978d@wordpress.org>
References: <049.dc3edf205a6db6d294251e96fdef978d@wordpress.org>
Message-ID: <064.438ff55f75c7131f3afb1c1627932e46@wordpress.org>
#35718: Avoid using HTML tags in translation strings (wp-admin/maint/repair.php)
--------------------------+------------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by swissspidy):
`https://api.wordpress.org/secret-key/1.1/salt/` isn't currently
translatable and I don't think it should be now. What would one translate
this to?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 13:02:59 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 13:02:59 -0000
Subject: [wp-trac] [WordPress Trac] #35729: Avoid using HTML tags in
translation strings (wp-includes/comment-template.php)
In-Reply-To: <049.842cc05093a366928c67777ebedee151@wordpress.org>
References: <049.842cc05093a366928c67777ebedee151@wordpress.org>
Message-ID: <064.b14bc799db7375b486527ba76293e16e@wordpress.org>
#35729: Avoid using HTML tags in translation strings (wp-includes/comment-
template.php)
--------------------------+------------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by swissspidy):
`__( '%s.' )` feels wrong, especially without a translator comment. Can we
get rid of that somehow?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 13:09:19 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 13:09:19 -0000
Subject: [wp-trac] [WordPress Trac] #32378: Image Uploads automatically
puts "Olympus Digital Camera" as caption
In-Reply-To: <053.b75d0913b801361fade4f45764a04f24@wordpress.org>
References: <053.b75d0913b801361fade4f45764a04f24@wordpress.org>
Message-ID: <068.4f9d31982bb32d35e1c5cfdc00d398b2@wordpress.org>
#32378: Image Uploads automatically puts "Olympus Digital Camera" as caption
-------------------------------------------------+-------------------------
Reporter: vparkhere | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Media | Release
Severity: normal | Version: 4.2
Keywords: dev-feedback needs-refresh 2nd- | Resolution:
opinion | Focuses:
-------------------------------------------------+-------------------------
Changes (by tpnotes):
* keywords: dev-feedback needs-refresh => dev-feedback needs-refresh 2nd-
opinion
Comment:
I stumbled upon this ticket yesterday and I am still startled, that anyone
is thinking about working around a bug in the software of a camera
manufacturer with a customization of Wordpress core. It is a default
setting of the image description metadata field of the EXIF, that can not
be changed in the camera settings of Olympus cameras. WordPress is working
correctly and puts the image description in the appropriate field.
I own an E-M1 myself and know about that issue, since I shot my first pics
with it. But instead of expecting any software I use should fix this for
me, I correct the EXIFs by myself in my image processing workflow. And I
strongly believe that's the right way to handle this.
BTW: has anyone got in touch with Olympus about that?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 13:46:52 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 13:46:52 -0000
Subject: [wp-trac] [WordPress Trac] #12706: Custom post status bugs in
the admin
In-Reply-To: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
References: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
Message-ID: <069.6925aa7525e20d8361529d089c3b8989@wordpress.org>
#12706: Custom post status bugs in the admin
-------------------------------------------------+-------------------------
Reporter: ptahdunbar | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version: 3.0
Keywords: has-patch westi-likes needs-testing | Resolution:
needs-unit-tests editorial-flow | Focuses:
-------------------------------------------------+-------------------------
Comment (by colinhahn):
I'm intrigued by @johnjamesjacoby suggestion for more complicated post
statuses, but I worry about whether that's feasible without a substantial
rewrite of the query structure. Currently, `post_status` is a simple query
parameter: find posts with X status. I have no idea how to construct a
query for "open message boards" that dynamically close 90 days after
inactivity without having to do a lot of ugly query modifications on the
fly.
In my mind, post status is about visibility: who can see the post, and in
what contexts (admin, frontend, REST, in a custom query for a frontend
element, etc.) As far as I can tell, that framework meets the needs of
almost every use case proposed in this thread, from releases to coupon
codes to breaking news to moderation. The one case I don't know if it
covers sufficiently is handling revisions to an already-published content
that are saved in progress but don't update the original yet (see comment
115 above).
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 13:53:25 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 13:53:25 -0000
Subject: [wp-trac] [WordPress Trac] #36123: "Desktop settings" not shown
on mobile
In-Reply-To: <057.44d05e340ab1bc3de686de5fbd5505e7@wordpress.org>
References: <057.44d05e340ab1bc3de686de5fbd5505e7@wordpress.org>
Message-ID: <072.18deeb9fa4dd7093db3519181765feec@wordpress.org>
#36123: "Desktop settings" not shown on mobile
-------------------------------+---------------------------------
Reporter: marco.marsala | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 4.4.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: ui, administration
-------------------------------+---------------------------------
Comment (by marco.marsala):
Exactly. I think this is a bug, because it stops you from doing some
things from mobile.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:09:38 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:09:38 -0000
Subject: [wp-trac] [WordPress Trac] #36648: Suppressed post-usernames
are being published on Flipboard user-magazines
In-Reply-To: <054.e589b5d91c4531467bec29405d7cb893@wordpress.org>
References: <054.e589b5d91c4531467bec29405d7cb893@wordpress.org>
Message-ID: <069.4c84256dfe857a172baab3d1bca16fb3@wordpress.org>
#36648: Suppressed post-usernames are being published on Flipboard user-magazines
--------------------------+------------------------------
Reporter: CDN WP GUY | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by CDN WP GUY):
Thanks for the reply Sergey.
I didn't realize the design philosophy is that usernames are public info,
so I get it. Suppressing the display of the username making a posting...
is purely for aesthetic reasons.
Logging into my wp site's dashboard, I had been considering the 'username'
field to be an additional security measure (in addition to the password)
since it was a blank field. I guess the username field could actually be
replaced with a drop down menu of existing valid usernames instead.
Thanks. CWG
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:10:21 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:10:21 -0000
Subject: [wp-trac] [WordPress Trac] #36646: Tests failing with MySQL
versions greater than 5.6.17, possibility to do with transactions?
In-Reply-To: <055.3ab63c02d383cb2282f4e495c8a2a71b@wordpress.org>
References: <055.3ab63c02d383cb2282f4e495c8a2a71b@wordpress.org>
Message-ID: <070.252fb4b51aef631a69b1fa59b4454c0e@wordpress.org>
#36646: Tests failing with MySQL versions greater than 5.6.17, possibility to do
with transactions?
------------------------------+------------------------------
Reporter: cookiesowns | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+------------------------------
Comment (by jdgrimes):
Can you isolate a particular test that we can use to reproduce this error?
I have a feeling that something may be causing the transactions to be
committed unexpectedly, but we can't be sure what it is until we identify
the specific code needed to reproduce this bug.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:10:46 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:10:46 -0000
Subject: [wp-trac] [WordPress Trac] #12706: Custom post status bugs in
the admin
In-Reply-To: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
References: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
Message-ID: <069.df497810b6433ff6fae073a70095ceaf@wordpress.org>
#12706: Custom post status bugs in the admin
-------------------------------------------------+-------------------------
Reporter: ptahdunbar | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version: 3.0
Keywords: has-patch westi-likes needs-testing | Resolution:
needs-unit-tests editorial-flow | Focuses:
-------------------------------------------------+-------------------------
Comment (by hearvox):
I'll throw in one more use case, needed for journalist sites: Morgue.
Articles with info that's out-of-date but has elements we wish to save.
Often the "morgued" post's URL is redirected to a newer related article.
But we still want to save the original, even if just for archival
purposes.
So the Morgue status public and search parameters are false, but the show-
in-lists params are true. That way we can list all Morgue posts quickly.
Not sure how general this need is, but in journalism the idea of an
article morgue is central. And born-digital news is being lost FASTER than
paper=printed news. So perhaps post-status can assist in
archival/preservation efforts.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:15:46 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:15:46 -0000
Subject: [wp-trac] [WordPress Trac] #36636: allow add_editor_style() to
include inline style
In-Reply-To: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
References: <054.bcfec8e1d46f0ebfc4a8e273ae056ec5@wordpress.org>
Message-ID: <069.da6f50404172cb9fe0ba7098b4f018ec@wordpress.org>
#36636: allow add_editor_style() to include inline style
-------------------------+----------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 3.0
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-------------------------+----------------------
Comment (by selnomeria):
Replying to [comment:6 swissspidy]:
>
> Apart from ................
swissspidy!!!!!!!!!!!!!!! WOW, THANKS! that was i was searching for!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:13:06 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:13:06 -0000
Subject: [wp-trac] [WordPress Trac] #14244: Upload file types should be
checked BEFORE uploading.
In-Reply-To: <051.a8cef98303bca46f4a8c0b59ed0cbd88@wordpress.org>
References: <051.a8cef98303bca46f4a8c0b59ed0cbd88@wordpress.org>
Message-ID: <066.4fccb78a723e0496bc0aa17f90654cd7@wordpress.org>
#14244: Upload file types should be checked BEFORE uploading.
-------------------------------------+-----------------------------
Reporter: ipstenu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------------
Changes (by polevaultweb):
* keywords: needs-patch => has-patch needs-testing
Comment:
Patch added that tells plupload the allowed mime types, and throws the
error early if the file upload is not allowed. To test, the file would
need to be dragged and dropped onto uploader, as plupload restricts the
selection of those file types with this implementation.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:32:47 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:32:47 -0000
Subject: [wp-trac] [WordPress Trac] #12706: Custom post status bugs in
the admin
In-Reply-To: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
References: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
Message-ID: <069.a28aec697461c287542b4859a6528dc1@wordpress.org>
#12706: Custom post status bugs in the admin
-------------------------------------------------+-------------------------
Reporter: ptahdunbar | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version: 3.0
Keywords: has-patch westi-likes needs-testing | Resolution:
needs-unit-tests editorial-flow | Focuses:
-------------------------------------------------+-------------------------
Comment (by Umbercode):
As I mentioned before; personally I would like this to be simple but
effective:
As I see it now, there are 4 (perhaps 5) 'states:
- to-be-published
- published
- has-been-published (optionally with a 301? redirect)
- trashed
- (optional:) never-to-be-published
Implement these and give the ability to create custom names coupled to any
of these states and allow those names to be shown in the UI.
Wouldn't this solve most (if not all) use-cases?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:31:44 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:31:44 -0000
Subject: [wp-trac] [WordPress Trac] #36320: PayPal 2016 merchant
security upgrades - Core defaults need to be changed
In-Reply-To: <052.2f26a3b7aff298d180737461cc108fc5@wordpress.org>
References: <052.2f26a3b7aff298d180737461cc108fc5@wordpress.org>
Message-ID: <067.4d0404439c182dbefc957005ab968af1@wordpress.org>
#36320: PayPal 2016 merchant security upgrades - Core defaults need to be changed
--------------------------+------------------------
Reporter: reidbusi | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: HTTP API | Version: 4.4.2
Severity: major | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Comment (by reidbusi):
I went ahead and created a tool that should be able to deal with this in
most situations and be helpful for diagnostics. It is not a plugin for
non-technical users. As mentioned in the description it is intended to be
for "advanced users, site administrators and developers", though a clever
user could be instructed how to use it. I may add further instruction to
the description intended for average users, such as example options for
services like Paypal and Moneris or perhaps pre-made rule-sets to be
configured at the press of a button.
https://wordpress.org/plugins/reid-plugins-curl-options/
The most interesting thing that I learned in the production of this plugin
is that '''cURL can be built with NSS instead of OpenSSL''' (as is the
case on the server I am using at my current host): PHP/5.4.45 - cURL/
7.19.7 - NSS/3.19.1.
I suspect that this fact may explain a lot of the confusion about this
issue and the behaviour observed on various servers as discussed above and
in the other ticket.
The other interesting thing to note is that some constant defines such as
CURL_SSLVERSION_TLSv1_2 has
only been available since PHP 5.5.19 and 5.6.3, though the integer value
does work on my servers setup. This is all mostly described in the plugin
description.
The other complication is cipher names, cipher suite strings and their
formats, it will be difficult to automate the determination of available
ciphers on a server, if possible at all.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:36:48 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:36:48 -0000
Subject: [wp-trac] [WordPress Trac] #36600: Selective refresh finds
selected selector throughout the whole theme/site.
In-Reply-To: <054.023114d6a20a226146cdfcf7c23a2649@wordpress.org>
References: <054.023114d6a20a226146cdfcf7c23a2649@wordpress.org>
Message-ID: <069.ddc5169c0c0ab43f7de9079d72b3f4c3@wordpress.org>
#36600: Selective refresh finds selected selector throughout the whole theme/site.
-------------------------------+------------------------------
Reporter: helloguna1 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: javascript
-------------------------------+------------------------------
Comment (by helloguna1):
heloo @westonruter,
Yes, thanks a lot!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:40:29 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:40:29 -0000
Subject: [wp-trac] [WordPress Trac] #36644: Make admin menu skip links
accessible to developers
In-Reply-To: <059.82d87ebc824a1d3fd310c4d6f0969005@wordpress.org>
References: <059.82d87ebc824a1d3fd310c4d6f0969005@wordpress.org>
Message-ID: <074.2464124039612b593465f632f8436816@wordpress.org>
#36644: Make admin menu skip links accessible to developers
------------------------------+--------------------------------------------
Reporter: littler.chicken | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs- | Focuses: accessibility, administration
docs |
------------------------------+--------------------------------------------
Comment (by littler.chicken):
Thank you so much, and appreciate the link! Patch has been updated, I
think, or new patch submitted.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:49:01 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:49:01 -0000
Subject: [wp-trac] [WordPress Trac] #36649: Right-hand CAST in a MySQL query
produces DB error
Message-ID: <053.fe2d8872b08b339b5ab93cd300a813d5@wordpress.org>
#36649: Right-hand CAST in a MySQL query produces DB error
--------------------------+-----------------------------
Reporter: ericlewis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
A right-hand CAST like this
{{{
#!php
get_results( "SELECT * FROM $wpdb->postmeta WHERE
meta_value=CAST('default' AS CHAR);");
});
}}}
produces this error
{{{
WordPress database error: [Illegal mix of collations
(utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for
operation '=']
SELECT * FROM wp_postmeta WHERE meta_value=CAST('default' AS CHAR);
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 14:49:38 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 14:49:38 -0000
Subject: [wp-trac] [WordPress Trac] #12706: Custom post status bugs in
the admin
In-Reply-To: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
References: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
Message-ID: <069.3bd3d5ceeaa3e78ace004dcfa02da037@wordpress.org>
#12706: Custom post status bugs in the admin
-------------------------------------------------+-------------------------
Reporter: ptahdunbar | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version: 3.0
Keywords: has-patch westi-likes needs-testing | Resolution:
needs-unit-tests editorial-flow | Focuses:
-------------------------------------------------+-------------------------
Comment (by johnjamesjacoby):
bbPress has a few custom statuses:
* Spam
* Pending
* Private
* Hidden
* Closed
* Orphaned
These are basically `states` that a forum/topic/reply will find themselves
in based on different criteria, and a moderator can force a state if they
wish.
A state is really a collection of properties, not dissimilar to how roles
have capabilities, and these properties need an easy way to build database
queries and limit their visibility.
Consider also that this is likely to be a solved problem already in other
open source projects. Has anyone made any progress beyond WordPress when
it comes to object states?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 15:23:06 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 15:23:06 -0000
Subject: [wp-trac] [WordPress Trac] #36600: Selective refresh finds
selected selector throughout the whole theme/site.
In-Reply-To: <054.023114d6a20a226146cdfcf7c23a2649@wordpress.org>
References: <054.023114d6a20a226146cdfcf7c23a2649@wordpress.org>
Message-ID: <069.1784d410bbf85732ee00abf213663237@wordpress.org>
#36600: Selective refresh finds selected selector throughout the whole theme/site.
-------------------------------+-------------------------
Reporter: helloguna1 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Customize | Version: 4.5
Severity: normal | Resolution: invalid
Keywords: reporter-feedback | Focuses: javascript
-------------------------------+-------------------------
Changes (by westonruter):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 15:27:16 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 15:27:16 -0000
Subject: [wp-trac] [WordPress Trac] #31088: Post revisions in the
customizer
In-Reply-To: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
References: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
Message-ID: <074.a0ab6ba57ba5402f3f1bc206efa91d5f@wordpress.org>
#31088: Post revisions in the customizer
-----------------------------+------------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
-----------------------------+------------------------------
Comment (by westonruter):
@karmatosed I recall a discussion about how the current revisions
interface is too dev-friendly (i.e. a diff view). Applying post revisions
to the Customizer preview would allow the user to see what the revision
actually looks like when rendered.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 15:23:31 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 15:23:31 -0000
Subject: [wp-trac] [WordPress Trac] #5455: Charset SQL Injection
Vulnerability
In-Reply-To: <053.248d5ea135b755f81817b2be88220b86@wordpress.org>
References: <053.248d5ea135b755f81817b2be88220b86@wordpress.org>
Message-ID: <068.fa12b50af4083389f3a9c7999045daa0@wordpress.org>
#5455: Charset SQL Injection Vulnerability
--------------------------+-------------------------
Reporter: pishmishy | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.8
Component: Security | Version: 2.5
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
--------------------------+-------------------------
Changes (by ericlewis):
* keywords: dev-feedback =>
* milestone: => 2.8
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 15:29:44 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 15:29:44 -0000
Subject: [wp-trac] [WordPress Trac] #36649: Right-hand CAST in a MySQL
query produces DB error
In-Reply-To: <053.fe2d8872b08b339b5ab93cd300a813d5@wordpress.org>
References: <053.fe2d8872b08b339b5ab93cd300a813d5@wordpress.org>
Message-ID: <068.3d4ec0890b9f78bba0e190bbc11eb4c8@wordpress.org>
#36649: Right-hand CAST in a MySQL query produces DB error
--------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 2.8
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by ericlewis):
* version: => 2.8
Comment:
Before r10597, the collation was always set and
[https://github.com/WordPress/WordPress/blob/4.5/wp-includes/wp-
db.php#L784-L787 still is] if `mysqli_set_charset()` is undefined or the
version of MySQL is < 5.0.7.
Setting charset via `mysql_set_charset()` has been preferred since r10597,
presumably to make `mysql_real_escape_string()` aware of the MySQL
connection charset for charset-specific escaping (see
[https://core.trac.wordpress.org/ticket/5455#comment:20 #5455#comment:20])
thus avoiding a security vulnerability. However, this does not set the
MySQL connection's collation.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 15:35:01 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 15:35:01 -0000
Subject: [wp-trac] [WordPress Trac] #36640: Customize: get_custom_logo
should allow the image tag to be filtered independently
In-Reply-To: <050.2861b75777bb0db2349da7a7538c4d98@wordpress.org>
References: <050.2861b75777bb0db2349da7a7538c4d98@wordpress.org>
Message-ID: <065.1bbd2f8ffbca4053b584e7964fef3ca3@wordpress.org>
#36640: Customize: get_custom_logo should allow the image tag to be filtered
independently
-------------------------+------------------------------
Reporter: achbed | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Comment (by achbed):
I supposed for accessibility and theming purposes, we could simply allow
filtering the image tag attributes. We can then enforce the {{{custom-
logo-link}}} class after the filter returns.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 15:40:32 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 15:40:32 -0000
Subject: [wp-trac] [WordPress Trac] #31088: Post revisions in the
customizer
In-Reply-To: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
References: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
Message-ID: <074.dee2e5b8a1d98457e2349636d3bb64b5@wordpress.org>
#31088: Post revisions in the customizer
-----------------------------+------------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
-----------------------------+------------------------------
Comment (by karmatosed):
@westonruter interesting. I'm not totally sold myself that putting it into
the Customizer does make it non-dev-friendly in itself. Interesting to
take a step back and see what the purpose is, what people are using
revisions for and where it works for them.
I do think seeing the revision is good. However, I am really not convinced
until we test and look at use cases, that putting it in the customizer
makes sense. Be great to investigate though and get some research as part
of the revisions UI review I'm working on.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 15:39:09 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 15:39:09 -0000
Subject: [wp-trac] [WordPress Trac] #36649: Right-hand CAST in a MySQL
query produces DB error
In-Reply-To: <053.fe2d8872b08b339b5ab93cd300a813d5@wordpress.org>
References: <053.fe2d8872b08b339b5ab93cd300a813d5@wordpress.org>
Message-ID: <068.d96cb25b261ae0f962295e346f7dc08d@wordpress.org>
#36649: Right-hand CAST in a MySQL query produces DB error
-------------------------------------------------+-------------------------
Reporter: ericlewis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Query | Review
Severity: normal | Version: 2.8
Keywords: has-patch needs-testing dev- | Resolution:
feedback | Focuses:
-------------------------------------------------+-------------------------
Changes (by ericlewis):
* keywords: => has-patch needs-testing dev-feedback
Comment:
In attachment:36649.diff, we can use `mysqli_set_charset()` so that
`mysqli_real_escape_string()` is aware of the character set (see the
Caution section in [http://php.net/manual/en/mysqli.real-escape-string.php
the `mysqli_real_escape_string()` docs]), and then set the character set
(again) but this time with the collation.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 16:12:12 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 16:12:12 -0000
Subject: [wp-trac] [WordPress Trac] #36650: inline link editor won't
disappear in Chrome and obscures text
Message-ID: <053.354d472578cc42b2609a6a8438429547@wordpress.org>
#36650: inline link editor won't disappear in Chrome and obscures text
--------------------------+-----------------------------
Reporter: mashupmom | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When I create a link using the new inline link editor in WP 4.5, the
inline link editor doesn't disappear and obscures text when I'm editing in
Chrome, and the only way to make it disappear is to save the post or to
create a new link elsewhere in the post and cancel out.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 16:19:09 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 16:19:09 -0000
Subject: [wp-trac] [WordPress Trac] #36651: need help with various problems
with WordPress 4.5
Message-ID: <056.9f9fe9a1b4c7b5699afa67e3fbb86d8a@wordpress.org>
#36651: need help with various problems with WordPress 4.5
--------------------------+-----------------------------
Reporter: bizcoachinfo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Please note I really appreciate the hard work everyone puts into
WordPress.
Unfortunately, as as non-technical person for the first time since 2009,
I've been unable to use the latest 4.5 update. I've tried to understand
comments by others but I've been unable to do so.
Basically, there's a bug has disabled the Visual mode. In addition, even
using the Text mode, 4.5 will not accept edits. Nor will it accept
images.
Thank you for your consideration. -Terry
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 16:39:46 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 16:39:46 -0000
Subject: [wp-trac] [WordPress Trac] #36649: Right-hand CAST in a MySQL
query produces DB error
In-Reply-To: <053.fe2d8872b08b339b5ab93cd300a813d5@wordpress.org>
References: <053.fe2d8872b08b339b5ab93cd300a813d5@wordpress.org>
Message-ID: <068.9466f0befb63f08331999627c251547a@wordpress.org>
#36649: Right-hand CAST in a MySQL query produces DB error
-------------------------------------------------+-------------------------
Reporter: ericlewis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Database | Review
Severity: normal | Version: 2.8
Keywords: has-patch needs-testing dev- | Resolution:
feedback | Focuses:
-------------------------------------------------+-------------------------
Changes (by boonebgorges):
* component: Query => Database
Comment:
cc @pento
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 16:53:56 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 16:53:56 -0000
Subject: [wp-trac] [WordPress Trac] #31088: Post revisions in the
customizer
In-Reply-To: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
References: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
Message-ID: <074.7bfed62964728634d307e14fa8e35ea9@wordpress.org>
#31088: Post revisions in the customizer
-----------------------------+------------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
-----------------------------+------------------------------
Comment (by celloexpressions):
This could also be made more interesting by the potential to eventually
have post editing in the customizer, since there would be a unified
interface where you could access revisions without a significant context
change from the editor.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 16:59:19 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 16:59:19 -0000
Subject: [wp-trac] [WordPress Trac] #35457: Theme installer upload
button improvements
In-Reply-To: <051.ac2f9873fcd6562a3024ced272ac5a54@wordpress.org>
References: <051.ac2f9873fcd6562a3024ced272ac5a54@wordpress.org>
Message-ID: <066.0a7af09ff02769d9d8f92c7d825c2d74@wordpress.org>
#35457: Theme installer upload button improvements
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots | javascript
-------------------------------------+-------------------------------------
Comment (by afercia):
Refreshed patch:
- makes the upload button a button
- adds an `aria-expanded` attribute on the button: as a consequence the
button text must always be "Upload Theme" since this button behaves like a
toggle
- no more complicated CSS selectors, uses a new CSS class `.hide-if-
upload-view` to hide elements
- restores the `themes.router.navigate()` "upload" route mistakenly
removed in [37221]
- adds a notice displayed only when JavaScript is off, as the Media
Library grid screen already does
- adds some `hide-if-no-js` to various elements
The part related to the Add Plugin screen should be handled in #35429,
going to reopen it.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 17:02:20 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 17:02:20 -0000
Subject: [wp-trac] [WordPress Trac] #35429: Allow new plugins to be
uploaded without having to go to a new page first.
In-Reply-To: <051.ca4b050f68b05e07d4639b80eb8b5bf2@wordpress.org>
References: <051.ca4b050f68b05e07d4639b80eb8b5bf2@wordpress.org>
Message-ID: <066.ae395914cbaa0831206fd4b8579323b0@wordpress.org>
#35429: Allow new plugins to be uploaded without having to go to a new page first.
-------------------------------------+-------------------------------------
Reporter: Ipstenu | Owner: afercia
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots | javascript
-------------------------------------+-------------------------------------
Changes (by afercia):
* owner: michaelarestad => afercia
* status: reopened => assigned
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 17:03:05 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 17:03:05 -0000
Subject: [wp-trac] [WordPress Trac] #12706: Custom post status bugs in
the admin
In-Reply-To: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
References: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
Message-ID: <069.237b03622dff9be2a678be60ff63619f@wordpress.org>
#12706: Custom post status bugs in the admin
-------------------------------------------------+-------------------------
Reporter: ptahdunbar | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version: 3.0
Keywords: has-patch westi-likes needs-testing | Resolution:
needs-unit-tests editorial-flow | Focuses:
-------------------------------------------------+-------------------------
Comment (by michael.ecklund):
Just throwing my `.02` here... Two of the biggest reasons I enjoy using
WordPress for my website platform of choice is for the simplicity and the
flexibility/customization.
I've been essentially limitless with WordPress so far. Between Custom Post
Types, Custom Taxonomies, Metaboxes (backend -- only), Meta
(user/post/term). Admin pages, Admin notifications, and HOOKS (let's not
forget about hooks!) etc... What CAN'T you customize in WordPress?
Which brings me back to this topic and something that bugs me... It's not
real simple or flexible to customize statuses in WordPress right now. I
would love to see improvement in this area and would most definitely would
make use of it more once improved.
I kind of like where [https://profiles.wordpress.org/johnjamesjacoby
@johnjamesjacoby] was going with his thoughts in
[https://core.trac.wordpress.org/ticket/12706#comment:211 response #211].
I do agree this area needs more thought and structure to better tie-in
multiple different aspects of WordPress but also (if possible) try to keep
it SIMPLE and FLEXIBLE for manipulation/customization as well.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 17:01:58 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 17:01:58 -0000
Subject: [wp-trac] [WordPress Trac] #35429: Allow new plugins to be
uploaded without having to go to a new page first.
In-Reply-To: <051.ca4b050f68b05e07d4639b80eb8b5bf2@wordpress.org>
References: <051.ca4b050f68b05e07d4639b80eb8b5bf2@wordpress.org>
Message-ID: <066.e1f002241117883419b52a0fe53b3abb@wordpress.org>
#35429: Allow new plugins to be uploaded without having to go to a new page first.
-------------------------------------+-------------------------------------
Reporter: Ipstenu | Owner: michaelarestad
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.6
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots | javascript
-------------------------------------+-------------------------------------
Changes (by afercia):
* status: closed => reopened
* resolution: fixed =>
Comment:
Reopening because the "toggle" behavior was modeled on the Add Theme
screen which is wrong since WordPress 4.4 :) see #35457. When the uploader
is open, all the plugins list and other stuff below should be hidden.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 17:03:15 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 17:03:15 -0000
Subject: [wp-trac] [WordPress Trac] #36651: need help with various
problems with WordPress 4.5
In-Reply-To: <056.9f9fe9a1b4c7b5699afa67e3fbb86d8a@wordpress.org>
References: <056.9f9fe9a1b4c7b5699afa67e3fbb86d8a@wordpress.org>
Message-ID: <071.f463eae83f6ae23d80cee2fa2454206d@wordpress.org>
#36651: need help with various problems with WordPress 4.5
--------------------------+----------------------
Reporter: bizcoachinfo | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 4.5
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by Clorith):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hi there, and welcome to Trac, Terry.
I'm sorry to say that Trac is not meant for support requests, for that we
do ask that you use our support forums at https://wordpress.org/support.
Making a new topic for your self there will ensure that people can provide
help with an approach that suits your level of experience as well.
Just to mention it, there is a 4.5.1 patch in the works which looks into
some image related tickets and an editor one, it is possible you are
affected by these (not easy to say without troubleshooting first) and that
the patch will be just what you need (Details can be seen at
https://make.wordpress.org/core/2016/04/22/4-5-1-release-candidate/)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 17:39:26 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 17:39:26 -0000
Subject: [wp-trac] [WordPress Trac] #32787: make_clickable filter
In-Reply-To: <055.8f4ffa3c3952f9c452460186f8a6676f@wordpress.org>
References: <055.8f4ffa3c3952f9c452460186f8a6676f@wordpress.org>
Message-ID: <070.1eca391c37193f7b6078c66799cb4057@wordpress.org>
#32787: make_clickable filter
-------------------------------------+------------------------------
Reporter: tlexcellent | Owner: johnjamesjacoby
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: Formatting | Version: 0.71
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses:
-------------------------------------+------------------------------
Changes (by johnjamesjacoby):
* keywords: needs-patch reporter-feedback => needs-patch 2nd-opinion
* owner: => johnjamesjacoby
* version: 4.2.2 => 0.71
* status: new => assigned
* milestone: Awaiting Review => 4.6
Comment:
I think I have a great example for adding a filter to `make_clickable` and
I'll offer up a patch soon also.
BuddyPress, bbPress, and the P2 theme all use their own (but similar)
approach to making usernames clickable using `@` as a control character.
If there were a filter in `make_clickable` vs. the currently hard-coded
callbacks, these three projects could eliminate some duplication, and use
a more reliable core filter vs. their own regex.
bbPress, for example, would deprecate 5 functions if this were possible.
Once patched, I'd like to champion for this to happen in 4.6. Performance
with a filter will be only slightly negligible, but any plugin wanting to
make anything in content blocks clickable with custom parameters will see
relatively good performance gains from the consolidation of their logic.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 18:22:36 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 18:22:36 -0000
Subject: [wp-trac] [WordPress Trac] #36650: inline link editor won't
disappear in Chrome and obscures text
In-Reply-To: <053.354d472578cc42b2609a6a8438429547@wordpress.org>
References: <053.354d472578cc42b2609a6a8438429547@wordpress.org>
Message-ID: <068.1afec3e37a893170ef879378e93e0bb9@wordpress.org>
#36650: inline link editor won't disappear in Chrome and obscures text
--------------------------+------------------------------
Reporter: mashupmom | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* component: General => Editor
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 18:36:13 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 18:36:13 -0000
Subject: [wp-trac] [WordPress Trac] #18146: Add user-level timezone
setting
In-Reply-To: <061.85e7f04d286d90d205073bd225c96afe@wordpress.org>
References: <061.85e7f04d286d90d205073bd225c96afe@wordpress.org>
Message-ID: <076.0b79c6c72a687dd5968a17d1d3db2c69@wordpress.org>
#18146: Add user-level timezone setting
-------------------------------+-----------------------------
Reporter: RanYanivHartstein | Owner:
Type: feature request | Status: reopened
Priority: normal | Milestone: Future Release
Component: Users | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------------+-----------------------------
Comment (by ravikatha):
I have recently created a plugin which has a similar functionality as this
feature. The plugin is [https://wordpress.org/plugins/wp-user-timezone/ WP
User Timezone].
To completely implement this feature, we can create a new plugin which
provides the timezone selection somewhere in the user profile. The
timezone thus selected can be applied to the '''WP User Timezone''' plugin
using its '''wp_user_timezone_id''' filter.
The '''wp_user_timezone_id''' filter can also be used to apply any
timezone id to the front-end interface.
Please go through it and give your valuable feedback.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 18:51:26 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 18:51:26 -0000
Subject: [wp-trac] [WordPress Trac] #35718: Avoid using HTML tags in
translation strings (wp-admin/maint/repair.php)
In-Reply-To: <049.dc3edf205a6db6d294251e96fdef978d@wordpress.org>
References: <049.dc3edf205a6db6d294251e96fdef978d@wordpress.org>
Message-ID: <064.c44b8eaa1e859976cbe31f68ebc75220@wordpress.org>
#35718: Avoid using HTML tags in translation strings (wp-admin/maint/repair.php)
--------------------------+----------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: I18N | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch | Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
The original string seems perfectly fine here.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 19:27:10 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 19:27:10 -0000
Subject: [wp-trac] [WordPress Trac] #36652: Use meta_value in a meta query
to decide type format in SQL clause
Message-ID: <053.ef08533147a5d0a0ccb6bf5a877d601a@wordpress.org>
#36652: Use meta_value in a meta query to decide type format in SQL clause
-------------------------+-----------------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
The SQL clause generated for a meta query
[https://github.com/WordPress/WordPress/blob/4.5/wp-includes/class-wp-
meta-query.php#L628 quotes the `meta_value` in a string].
This means that if there's a post with a postmeta field for likes set to 2
and you run the query looking for posts with 10 or more likes
{{{
#!php
array(
array(
'key' => 'likes',
'value' => 10,
'compare' => '>='
)
)
) );
}}}
the query will return the post with 2 likes. This is because the SQL is
doing a string comparison, as both the column value and the compared-to
value are strings.
The fix for the developer is to supply a `type` parameter like `NUMERIC`
in the meta query clause which coerces a numeric MySQL comparison.
We could use the meta_value's type to decide the type format the value
takes in the SQL clause, so that a query like this works as expected
without the `type` parameter.
This was [https://core.trac.wordpress.org/ticket/27272#comment:13
suggested] by @boone in #27272.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 19:31:14 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 19:31:14 -0000
Subject: [wp-trac] [WordPress Trac] #36652: Use meta_value in a meta
query to decide type format in SQL clause
In-Reply-To: <053.ef08533147a5d0a0ccb6bf5a877d601a@wordpress.org>
References: <053.ef08533147a5d0a0ccb6bf5a877d601a@wordpress.org>
Message-ID: <068.1eb5dd187c854cda7abe8a1813518cfe@wordpress.org>
#36652: Use meta_value in a meta query to decide type format in SQL clause
-------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Description changed by ericlewis:
Old description:
> The SQL clause generated for a meta query
> [https://github.com/WordPress/WordPress/blob/4.5/wp-includes/class-wp-
> meta-query.php#L628 quotes the `meta_value` in a string].
>
> This means that if there's a post with a postmeta field for likes set to
> 2 and you run the query looking for posts with 10 or more likes
>
> {{{
> #!php
> $query = new WP_Query( array(
> 'meta_query' => array(
> array(
> 'key' => 'likes',
> 'value' => 10,
> 'compare' => '>='
> )
> )
> ) );
> }}}
>
> the query will return the post with 2 likes. This is because the SQL is
> doing a string comparison, as both the column value and the compared-to
> value are strings.
>
> The fix for the developer is to supply a `type` parameter like `NUMERIC`
> in the meta query clause which coerces a numeric MySQL comparison.
>
> We could use the meta_value's type to decide the type format the value
> takes in the SQL clause, so that a query like this works as expected
> without the `type` parameter.
>
> This was [https://core.trac.wordpress.org/ticket/27272#comment:13
> suggested] by @boone in #27272.
New description:
The SQL clause generated for a meta query
[https://github.com/WordPress/WordPress/blob/4.5/wp-includes/class-wp-
meta-query.php#L628 quotes the `meta_value` in a string].
This means that if there's a post with a postmeta field for likes set to 2
and you run the query looking for posts with 10 or more likes
{{{
#!php
array(
array(
'key' => 'likes',
'value' => 10,
'compare' => '>='
)
)
) );
}}}
the query will return the post with 2 likes. This is because the SQL is
doing a string comparison, as both the column value and the compared-to
value are strings.
The fix for the developer is to supply a `type` parameter like `NUMERIC`
in the meta query clause which coerces a numeric MySQL comparison.
We could use the meta_value's type to decide the type format the value
takes in the SQL clause, so that a query like this works as expected
without the `type` parameter.
This was [https://core.trac.wordpress.org/ticket/27272#comment:13
suggested] by @boone in #27272.
--
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 19:37:49 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 19:37:49 -0000
Subject: [wp-trac] [WordPress Trac] #27272: WP meta queries comparing
apples to oranges
In-Reply-To: <061.fb21d963c4ea4fb62d0fd79dc98b31e5@wordpress.org>
References: <061.fb21d963c4ea4fb62d0fd79dc98b31e5@wordpress.org>
Message-ID: <076.ead9433197ff73b79eb30031f61e18fe@wordpress.org>
#27272: WP meta queries comparing apples to oranges
-------------------------------+-----------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.8.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------------+-----------------------------
Comment (by ericlewis):
It seems the original bug reported by this ticket is not a bug (see
comment:13). I suggest we close this ticket as worksforme after tying up
loose ends, as a few engaging points have been brought up.
* @boonebgorges wrote a unit test to express that the original bug report
is invalid. Was that intended as a prop for confirming the bug wasn't a
bug, or should we consider merging that test?
* There's some thought about using the `meta_type` do decide which numeric
format to use when building the SQL query (@wonderboymusic's
attachment:27272.2.diff which @gitlost has kept fresh). This is a separate
issue from the original bug report, although related. We should consider
using the type of the value passed in the meta query too for a good
default that doesn't require a `type` parameter (basically what
@boonebgorges suggested in comment:13). I've opened #36652 to that end.
* @gitlost reported a bug in its own right in comment:14. @gitlost ? can
you create a separate ticket and outline the problem?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 19:56:35 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 19:56:35 -0000
Subject: [wp-trac] [WordPress Trac] #36123: Screen Options not shown on
mobile (was: "Desktop settings" not shown on mobile)
In-Reply-To: <057.44d05e340ab1bc3de686de5fbd5505e7@wordpress.org>
References: <057.44d05e340ab1bc3de686de5fbd5505e7@wordpress.org>
Message-ID: <072.14d72b365001cb7c0c86726538aa884e@wordpress.org>
#36123: Screen Options not shown on mobile
----------------------------+---------------------------------
Reporter: marco.marsala | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration
----------------------------+---------------------------------
Changes (by SergeyBiryukov):
* keywords: reporter-feedback =>
* component: Menus => Administration
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 19:57:30 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 19:57:30 -0000
Subject: [wp-trac] [WordPress Trac] #14244: Upload file types should be
checked BEFORE uploading.
In-Reply-To: <051.a8cef98303bca46f4a8c0b59ed0cbd88@wordpress.org>
References: <051.a8cef98303bca46f4a8c0b59ed0cbd88@wordpress.org>
Message-ID: <066.7919583f4b1c5bfd2f4a7f4e1c589500@wordpress.org>
#14244: Upload file types should be checked BEFORE uploading.
-------------------------------------+------------------
Reporter: ipstenu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------
Changes (by SergeyBiryukov):
* milestone: Future Release => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 19:57:57 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 19:57:57 -0000
Subject: [wp-trac] [WordPress Trac] #27272: WP meta queries comparing
apples to oranges
In-Reply-To: <061.fb21d963c4ea4fb62d0fd79dc98b31e5@wordpress.org>
References: <061.fb21d963c4ea4fb62d0fd79dc98b31e5@wordpress.org>
Message-ID: <076.fa7550994a3a0ca31574871617440358@wordpress.org>
#27272: WP meta queries comparing apples to oranges
-------------------------------+-----------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.8.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------------+-----------------------------
Comment (by gitlost):
@ericlewis wilco...
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 20:49:36 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 20:49:36 -0000
Subject: [wp-trac] [WordPress Trac] #36645: Media file descriptions: no
support for foreign characters!
In-Reply-To: <053.6eb30568b86c765aff7053707536234c@wordpress.org>
References: <053.6eb30568b86c765aff7053707536234c@wordpress.org>
Message-ID: <068.6a4edf289e78d4c8a98d2f727e0ecfc1@wordpress.org>
#36645: Media file descriptions: no support for foreign characters!
--------------------------+-----------------------
Reporter: webbeetle | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Media | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------
Changes (by webbeetle):
* status: closed => reopened
* resolution: duplicate =>
Comment:
This is NOT necessarily the same as the ticket
[https://core.trac.wordpress.org/ticket/22363]. The ticket refers to
'''media file names''', I'm talking about '''media descriptions'''!
Different cup of tea. The description is being read by the site visitor.
How do you think will people of other languages react when they see a name
in their language spelt wrongly because WP can't handle international
characters in descriptions? In the end it doesn't even help the blog in
question to look trust worthy...
Regards
J?rgen, who was born in L?denscheid
(not Jurgen born in Ludenscheid)
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 20:46:52 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 20:46:52 -0000
Subject: [wp-trac] [WordPress Trac] #36585: Editor: wptextpattern:
space-triggered patterns are unreliable
In-Reply-To: <051.58d79a7e865e688e9bf01c3479a47c0f@wordpress.org>
References: <051.58d79a7e865e688e9bf01c3479a47c0f@wordpress.org>
Message-ID: <066.50702cbbefe37340d46ceb5fe186909e@wordpress.org>
#36585: Editor: wptextpattern: space-triggered patterns are unreliable
--------------------------------------+-----------------------------
Reporter: jnylen0 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: TinyMCE | Version: 4.3
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: javascript
--------------------------------------+-----------------------------
Changes (by jnylen0):
* keywords: has-patch needs-unit-tests => has-patch has-unit-tests
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 22:29:26 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 22:29:26 -0000
Subject: [wp-trac] [WordPress Trac] #35600: Hooks for post sticky status
changes
In-Reply-To: <050.cc401779481fe721bd25bcc322a55851@wordpress.org>
References: <050.cc401779481fe721bd25bcc322a55851@wordpress.org>
Message-ID: <065.00567db566ab6b7e0fc3c8fdbcd915a0@wordpress.org>
#35600: Hooks for post sticky status changes
--------------------------------------+------------------
Reporter: ojrask | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Posts, Post Types | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Comment (by ojrask):
I see, let me adjust the patch accordingly.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 22:32:43 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 22:32:43 -0000
Subject: [wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5
Upgrade
In-Reply-To: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
References: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
Message-ID: <071.dd278dc070e1e679b58fb0638e95dd27@wordpress.org>
#36534: Media Upload Issue Since 4.5 Upgrade
--------------------------+------------------------
Reporter: unicornbacon | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5.2
Component: Media | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Comment (by tmm63):
Replying to [comment:25 aldon]:
I added this the lines to my functions.php file and it worked. I would
like to understand exactly what this is doing. :-) And a permanent fix
would be desireable. Thank you @unicornbacon for reporting the issue!
> also check the http error when uploading photos on media. some working
fixes:
>
> on functions.php on theme add this
> {{{
> add_filter( 'wp_image_editors', 'change_graphic_lib' );
>
> function change_graphic_lib($array) {
> return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
> }
> }}}
> ____
>
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 22:48:15 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 22:48:15 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
In-Reply-To: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
References: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
Message-ID: <064.4ca9c67914850e89b91dd0d37ba4b49c@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-------------------------
Reporter: walbo | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.5.2
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by AUMW-Jay):
There's an additional issue, besides the display of _wp_link_placeholder,
and that is the inline link tool does not go away. It stays visible,
obscuring text until you either reload the page or insert another link
elsewhere (perpetuating the non-closing link tool, but further down the
page.)
askapache might have others, but some of my UX issues are that the tool
adds clicks to the workflow. It now requires two clicks to go to the
advanced link area (needed for opening the link in new window/tab, and
rel=nofollow checkboxes, versus a single click in the pre 4.5 link editor.
The new tool might (if it worked correctly and closed when the link was
inserted) be better for some users, but it's made life worse for folks
that care about SEO.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 23:24:54 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 23:24:54 -0000
Subject: [wp-trac] [WordPress Trac] #31088: Post revisions in the
customizer
In-Reply-To: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
References: <059.a8ad725aaabf3b95402555b03b6cdc45@wordpress.org>
Message-ID: <074.60b93bbf20bca1b881cfa99fa93b5738@wordpress.org>
#31088: Post revisions in the customizer
-----------------------------+------------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
-----------------------------+------------------------------
Comment (by westonruter):
Agreed. I also just realized the Customize Posts plugin has an issue filed
for this: [https://github.com/xwp/wp-customize-posts/issues/17 Integrate
with post revisions to preview a revert]
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sat Apr 23 23:36:23 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sat, 23 Apr 2016 23:36:23 -0000
Subject: [wp-trac] [WordPress Trac] #36582: Export main query from
Customizer preview
In-Reply-To: <055.3d6bd601d933f77bf246ef5394a9f40f@wordpress.org>
References: <055.3d6bd601d933f77bf246ef5394a9f40f@wordpress.org>
Message-ID: <070.dd6c6fca339fc156fcb0267b208fe550@wordpress.org>
#36582: Export main query from Customizer preview
-------------------------+------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------
Description changed by westonruter:
Old description:
> Controls, sections, and panels in the Customizer support the concept of
> an active state (#27993) which controls whether or not the control is
> contextual to the current query. Controls may want more information than
> whether to hide/show, but to show contextual information based on which
> kind of query is loaded in the Customizer preview, such as if it
> `is_singular` or which post specifically was queried. This information
> should be exposed from the Customizer preview to the pane as well.
>
> An initial implementation of this has been implemented in the Customize
> Posts feature plugin: https://github.com/xwp/wp-customize-posts
>
> See Slack: https://wordpress.slack.com/archives/core-
> customize/p1461011732000103
New description:
Controls, sections, and panels in the Customizer support the concept of an
active state (#27993) which controls whether or not the control is
contextual to the current query. Controls may want more information than
whether to hide/show, but to show contextual information based on which
kind of query is loaded in the Customizer preview, such as if it
`is_singular` or which post specifically was queried. This information
should be exposed from the Customizer preview to the pane as well.
An initial implementation of this has been implemented in the Customize
Posts feature plugin: https://github.com/xwp/wp-customize-posts
When the preview syncs the `WP_Query` data from the preview to the pane,
the data should get sent along with the `ready` message along with the
`activeControls`, `activeSections`, and `activePanels` data. When the data
is received by the pane, it should get populated into a model which can
have events attached to it. For example, a `wp.customize.Values` instance
could be used as a collection to represent the query_vars. Or there could
be one single `wp.customize.Value` that stores the exported `WP_Query`
data in like `wp.customize.previewedQuery` which plugins could then listen
to changes on. For example:
{{{#!js
wp.customize.previewedQuery.bind( function( newQuery, oldQuery ) {
if ( newQuery.is_singular !== oldQuery.is_singular ) {
if ( newQuery.is_singular ) {
// We switched to a singular template!
} else {
// We switched to a non-singular template!
}
}
} );
}}}
Some thought will need to be given to how a JavaScript object is used to
represent `WP_Query`.
See Slack: https://wordpress.slack.com/archives/core-
customize/p1461011732000103
--
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 02:02:06 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 02:02:06 -0000
Subject: [wp-trac] [WordPress Trac] #31420: license.txt and readme.html
being unwritable shouldn't block a Background Update
In-Reply-To: <048.b4572fa07f9862f8654a349dc820e1ce@wordpress.org>
References: <048.b4572fa07f9862f8654a349dc820e1ce@wordpress.org>
Message-ID: <063.911390655fe1a0915efdd4790b92886e@wordpress.org>
#31420: license.txt and readme.html being unwritable shouldn't block a Background
Update
-------------------------------------+-----------------------
Reporter: dd32 | Owner: dd32
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.6
Component: Upgrade/Install | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------
Changes (by dd32):
* owner: => dd32
* status: new => accepted
* milestone: Future Release => 4.6
Comment:
@polevaultweb Interesting approach there :)
I think we should probably go for a hard-coded list of files instead
myself, as it'll make the code a little more readable and explicit.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 02:58:07 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 02:58:07 -0000
Subject: [wp-trac] [WordPress Trac] #36645: Media file descriptions: no
support for foreign characters!
In-Reply-To: <053.6eb30568b86c765aff7053707536234c@wordpress.org>
References: <053.6eb30568b86c765aff7053707536234c@wordpress.org>
Message-ID: <068.84792366d9ffa2f1afc11f5083a415cf@wordpress.org>
#36645: Media file descriptions: no support for foreign characters!
-------------------------------+------------------------------
Reporter: webbeetle | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.5
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by dd32):
* keywords: => reporter-feedback
* milestone: => Awaiting Review
Comment:
@webbeetle Are you able to duplicate this at all?
There's no known issues with adding non-ascii/english characters to
descriptions, and I can't duplicate any myself.
The only known issue is filenames in #22363
There's a good potential that whatever is happening here is caused by a
plugin or the theme on the site, and not WordPress itself.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 05:29:58 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 05:29:58 -0000
Subject: [wp-trac] [WordPress Trac] #36525: Replace a PNG image to SVG
in Emoji
In-Reply-To: <054.2b3f61e8ee4d3e0fd84f296eb22f1d6f@wordpress.org>
References: <054.2b3f61e8ee4d3e0fd84f296eb22f1d6f@wordpress.org>
Message-ID: <069.c7a4374043666a797f2b9896e6dc984b@wordpress.org>
#36525: Replace a PNG image to SVG in Emoji
-------------------------+----------------------------
Reporter: webliberty | Owner: peterwilsoncc
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: Emoji | Version: 4.2
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+----------------------------
Comment (by peterwilsoncc):
I'm indecisive so two possibilities attached.
In [attachment:36525.a.diff]:
The settings include both a bitmap and a vector CDN. The JavaScript
detects if SVG is supported and uses the vectorCDN if it is.
In [attachment:36525.b.diff]:
Paths for the SVG and bitmaps are added to the settings, if the default
CDN is used the paths are added to the CDN's base URL.
If the CDN url is filtered, the paths are set to null for the developer to
set explicitly. This is for backcompat, we can't assume a developer using
their own CDN has included both bitmap and SVG images.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 05:59:54 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 05:59:54 -0000
Subject: [wp-trac] [WordPress Trac] #36653: Lost password Form not
recognizing usernames that contains @ character
Message-ID: <054.eb19c1e66d1530478e20d8c18458ceff@wordpress.org>
#36653: Lost password Form not recognizing usernames that contains @ character
------------------------------------+-----------------------------
Reporter: machelinos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.4.2
Severity: normal | Keywords:
Focuses: administration |
------------------------------------+-----------------------------
I have some users that on the username use the character @, for example
"name @sitename" . Then if those users want to reset their passwords on
the lost password form if they entered their username to get the reset
link, it doesn't work. It marks the following error
ERROR: There is no user registered with that email address.
I think the form is interpreting for the @ character that is an email
address and only searches for email addresses on the database and not
usernames. It's really weird behavior but it only happens to my sites for
usernames with the @ character, if i enter the email of the user the form
works correctly, also for usernames that do not contain the @ character it
works fine.
It can be a bug since WordPress allows for usernames to have the @
character but then on the lost password form it doesn't recognize those
usernames.
I have deactivated every plugin and used the regular twenty sixteen theme.
I discovered this on Wordpress 4.4.2 but i have updated and it's doing the
same on 4.5
Thanks for your help!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 05:55:15 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 05:55:15 -0000
Subject: [wp-trac] [WordPress Trac] #36637: Inline linking inserts
`_wp_link_placeholder`
In-Reply-To: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
References: <049.3c13de6627fc69573e7a9df3c60001b1@wordpress.org>
Message-ID: <064.cfcf46ad23d3891685a24fdde4bbb784@wordpress.org>
#36637: Inline linking inserts `_wp_link_placeholder`
--------------------------+-------------------------
Reporter: walbo | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.5.2
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by SergeyBiryukov):
Replying to [comment:8 AUMW-Jay]:
> There's an additional issue, besides the display of
_wp_link_placeholder, and that is the inline link tool does not go away.
It stays visible, obscuring text until you either reload the page or
insert another link elsewhere (perpetuating the non-closing link tool, but
further down the page.)
Related: #36650
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 06:13:07 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 06:13:07 -0000
Subject: [wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5
Upgrade
In-Reply-To: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
References: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
Message-ID: <071.d3f3d23fd4fac71a321e18ffe37aa201@wordpress.org>
#36534: Media Upload Issue Since 4.5 Upgrade
--------------------------+------------------------
Reporter: unicornbacon | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5.2
Component: Media | Version: 4.5
Severity: major | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------
Changes (by jiuzton):
* keywords: has-patch => needs-patch
* severity: normal => major
Comment:
I installed a fresh wordpress today, this is an issue. I tried a
combination of every solution listed here (.htaccess/functions.php/.diff
modification) as well as other techniques around. But I still have the
issue. Mobile app won't upload either. peace.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 06:30:34 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 06:30:34 -0000
Subject: [wp-trac] [WordPress Trac] #31420: license.txt and readme.html
being unwritable shouldn't block a Background Update
In-Reply-To: <048.b4572fa07f9862f8654a349dc820e1ce@wordpress.org>
References: <048.b4572fa07f9862f8654a349dc820e1ce@wordpress.org>
Message-ID: <063.9f4fcd2ee82e6ff87be4856a154032e3@wordpress.org>
#31420: license.txt and readme.html being unwritable shouldn't block a Background
Update
-------------------------------------+-----------------------
Reporter: dd32 | Owner: dd32
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.6
Component: Upgrade/Install | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------
Comment (by polevaultweb):
@dd32 thanks - i think! :)
I was going for the wildcard filename / extension check as you had
mentioned the complication of translated filenames. Wouldn't we need to
update the list each time a new language for WP was added?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 06:38:08 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 06:38:08 -0000
Subject: [wp-trac] [WordPress Trac] #31420: license.txt and readme.html
being unwritable shouldn't block a Background Update
In-Reply-To: <048.b4572fa07f9862f8654a349dc820e1ce@wordpress.org>
References: <048.b4572fa07f9862f8654a349dc820e1ce@wordpress.org>
Message-ID: <063.a7a138e499db9bc4afca53ce0db69cd2@wordpress.org>
#31420: license.txt and readme.html being unwritable shouldn't block a Background
Update
-------------------------------------+-----------------------
Reporter: dd32 | Owner: dd32
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.6
Component: Upgrade/Install | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------
Comment (by dd32):
Replying to [comment:4 polevaultweb]:
> @dd32 thanks - i think! :)
>
> I was going for the wildcard filename / extension check as you had
mentioned the complication of translated filenames. Wouldn't we need to
update the list each time a new language for WP was added?
I completely forgot about that :) Looks good to me then, I'll look at
getting this in soon
Thanks!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 10:10:35 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 10:10:35 -0000
Subject: [wp-trac] [WordPress Trac] #36654: New function `has_terms`
Message-ID: <060.31b55bdcd3cf592ec1fb563142fb42f9@wordpress.org>
#36654: New function `has_terms`
------------------------------+-----------------------------
Reporter: sebastian.pisula | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
I suggest add new function:
{{{
if(has_terms('category')) {
the_terms(x, 'category');
}
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 10:31:46 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 10:31:46 -0000
Subject: [wp-trac] [WordPress Trac] #36653: Lost password Form not
recognizing usernames that contains @ character
In-Reply-To: <054.eb19c1e66d1530478e20d8c18458ceff@wordpress.org>
References: <054.eb19c1e66d1530478e20d8c18458ceff@wordpress.org>
Message-ID: <069.5eebc926c125351a2ca59c0d19b9a62d@wordpress.org>
#36653: Lost password Form not recognizing usernames that contains @ character
-------------------------------------+------------------------------
Reporter: machelinos | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.4.2
Severity: normal | Resolution: duplicate
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+------------------------------
Changes (by websupporter):
* status: new => closed
* resolution: => duplicate
Comment:
Duplicate of #22367.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 10:27:36 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 10:27:36 -0000
Subject: [wp-trac] [WordPress Trac] #36653: Lost password Form not
recognizing usernames that contains @ character
In-Reply-To: <054.eb19c1e66d1530478e20d8c18458ceff@wordpress.org>
References: <054.eb19c1e66d1530478e20d8c18458ceff@wordpress.org>
Message-ID: <069.2c7663b08e2e4e1bf54f634c35b44ee3@wordpress.org>
#36653: Lost password Form not recognizing usernames that contains @ character
-------------------------------------+------------------------------
Reporter: machelinos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.4.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+------------------------------
Changes (by websupporter):
* keywords: => has-patch needs-testing
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 10:33:55 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 10:33:55 -0000
Subject: [wp-trac] [WordPress Trac] #36653: Lost password Form not
recognizing usernames that contains @ character
In-Reply-To: <054.eb19c1e66d1530478e20d8c18458ceff@wordpress.org>
References: <054.eb19c1e66d1530478e20d8c18458ceff@wordpress.org>
Message-ID: <069.88a6968410bea261cec957dfe9e02dbc@wordpress.org>
#36653: Lost password Form not recognizing usernames that contains @ character
-------------------------------------+------------------------------
Reporter: machelinos | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.4.2
Severity: normal | Resolution: duplicate
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+------------------------------
Comment (by websupporter):
Hi @machelinos,
thanks for reporting this. I think, it is already reported here:
https://core.trac.wordpress.org/ticket/22367
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 11:03:56 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 11:03:56 -0000
Subject: [wp-trac] [WordPress Trac] #22367: Usernames with "@" char are
assumed email addresses, causing incorrect look-up in several places
In-Reply-To: <059.12f5a4b2002c81e3272b6b7749d6f4c1@wordpress.org>
References: <059.12f5a4b2002c81e3272b6b7749d6f4c1@wordpress.org>
Message-ID: <074.61f98f6ce89725eff63231a5f4e58a5f@wordpress.org>
#22367: Usernames with "@" char are assumed email addresses, causing incorrect
look-up in several places
-----------------------------+------------------------------
Reporter: johnjamesjacoby | Owner: johnjamesjacoby
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
-----------------------------+------------------------------
Comment (by websupporter):
I've just checked for #36653 the following:
I can login with the username `admin at example.com` since the login via
`wp_authenticate_email_password()` is hooked into `wp_authenticate` after
`wp_authenticate_username_password()` and returns the `$user` if its a
user object. But I still can't reset my password or find
`admin at example.com` by conducting a search on the user page in `wp-admin/`
The patch for the password reset still seems to work. Didn't check for the
search though.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 12:08:20 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 12:08:20 -0000
Subject: [wp-trac] [WordPress Trac] #36653: Lost password Form not
recognizing usernames that contains @ character
In-Reply-To: <054.eb19c1e66d1530478e20d8c18458ceff@wordpress.org>
References: <054.eb19c1e66d1530478e20d8c18458ceff@wordpress.org>
Message-ID: <069.b09859db79d2f6df369db48c9fd1b8b9@wordpress.org>
#36653: Lost password Form not recognizing usernames that contains @ character
-------------------------------------+-----------------------------
Reporter: machelinos | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Login and Registration | Version: 4.4.2
Severity: normal | Resolution: duplicate
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review =>
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 15:04:53 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 15:04:53 -0000
Subject: [wp-trac] [WordPress Trac] #36655: Enhancement: Add datetime column
to options table.
Message-ID: <050.bbc0b2875c05fbe10fefccd43fc43d23@wordpress.org>
#36655: Enhancement: Add datetime column to options table.
--------------------------------+-----------------------------
Reporter: nerrad | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
== Proposal ==
The options table in WordPress is a great key/value storage option for a
wide variety of different data used by core and plugins. One improvement
that would increase its utility for faster time based queries on data
stored there is to add a DATETIME column.
== Some examples where this benefit could be realized: ==
=== Example 1: Transient storage. ===
Currently, when there is no object-cache in use, transients are stored to
the wp_options table. However, for each transient there are two records.
One for the actual key/value pair and then one for any timestamp set as
the transient expiry. Having a datetime column would allow the transient
to always only consist of one record and thus make any queries interacting
with transients much simpler.
=== Example 2: Arbitrary plugin data using the options table for its own
scheduled tasks. ===
A lot of plugins are using the transient system wrong because it's not
intended for indicating minimum age. Having a datetime column would
provide the database schema in WordPress core that allows for plugins to
implement their own "minimum/maximum age" apis.
=== Example 3: Tracking creation/modification times. ===
Having a datetime column would allow for indicating when a key/value pair
was created and/or modified which could be useful for plugins that have
need to do so.
=== Example 4: Scheduled settings/options. ===
Having a datetime column could allow for scheduled changes with a sites
configuration and thus more advanced previews/site preparation, (think
adding scheduled changes to site title, or site description via the
customizer). Having a datetime column makes such schedules simpler to
implement.
== Implementation ==
=== Schema ===
{{{
option_date datetime NOT NULL default '0000-00-00 00:00:00'
}}}
=== Iterations: ===
1. Add the column and modify options api to expose the new column to
queries (get_option, update_option, site option functions etc).
2. Convert transient API to implement new option_date column for setting
expiries when object-cache is not in use.
== Who and When ==
I'd be willing to spearhead putting some patches together and getting the
initial code going but before I invest some time in this I'm just testing
the waters to see if this is even something that would be
considered/welcomed for core. I'm not aware of any potential conflicts
this may pose with the purpose for the option table but if there are any
I'm sure I'll find out!
I definitely don't see this as going in 4.6 but it might have potential
for 4.7 if work begins fairly soon.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 17:03:50 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 17:03:50 -0000
Subject: [wp-trac] [WordPress Trac] #36656: Improve UX on Add New User screen
Message-ID: <054.31cc756b5d5428f5db7c09ed077d885a@wordpress.org>
#36656: Improve UX on Add New User screen
-------------------------------------------+-----------------------------
Reporter: swissspidy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Keywords:
Focuses: ui, administration, multisite |
-------------------------------------------+-----------------------------
While working with Multisite recently, I noticed that the Add New User
screen can be quite cumbersome to work with.
The screen currently serves two purposes:
1. Add existing user to site
2. Create a new user and add them to the site
It may make sense to have two different forms for that, but these are
currently nearly identical, leading to user confusion. Here's an example:
[[Image(https://cldup.com/FSMdB2Gtdp.png)]]
I'd love to improve the UX on this screen, ideally by combining these
forms and then use some JavaScript to conditionally display/hide the email
field only needed when creating a new user. Alternatively, tabs could be
leveraged to have each form on a separate page.
Thoughts?
Note: I also wrote a simple proof-of-concept plugin called
[https://wordpress.org/plugins/simple-user-adding/ Simple User Adding]
that could be used as a playground for this enhancement.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 17:07:30 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 17:07:30 -0000
Subject: [wp-trac] [WordPress Trac] #36302: wp_update_comment needs a
filter
In-Reply-To: <052.6fb055fe58c7f07dba5fc9545b10e1ec@wordpress.org>
References: <052.6fb055fe58c7f07dba5fc9545b10e1ec@wordpress.org>
Message-ID: <067.8128990453f529c70b72a7cb33d7a889@wordpress.org>
#36302: wp_update_comment needs a filter
-------------------------+------------------------------
Reporter: frankiet | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.4.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+------------------------------
Changes (by dshanske):
* keywords: => needs-patch
Comment:
What about replacing:
{{{
// Merge old and new fields with new fields overwriting old ones.
$commentarr = array_merge($comment, $commentarr);
}}}
with:
{{{
/**
* Filter the comment before it is updated in the database.
* By Default, merge the old and new fields with new overwriting old.
*
* @since x.x.x
*
* @param string $comment The old comment data
* @param string $commentarr The new comment data
*/
$commentarr = apply_filter( 'pre_edit_comment', array_merge($comment,
$commentarr), $comment, $commentarr);
}}}
That would basically allow the new comment array to be edited.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 17:52:07 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 17:52:07 -0000
Subject: [wp-trac] [WordPress Trac] #36657: Live Responsive Preview buttons
not aligned
Message-ID: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
#36657: Live Responsive Preview buttons not aligned
--------------------------+-----------------------------
Reporter: zarkod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.5
Severity: normal | Keywords:
Focuses: ui |
--------------------------+-----------------------------
Go To: Appearance -> Customize
[[Image(http://i.imgur.com/p0qiJML.png)]]
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 18:42:13 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 18:42:13 -0000
Subject: [wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5
Upgrade
In-Reply-To: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
References: <056.69d1852912e2557f6eb545aaf2f08e2e@wordpress.org>
Message-ID: <071.253bc84297a6de5a09a4b997287db724@wordpress.org>
#36534: Media Upload Issue Since 4.5 Upgrade
--------------------------+------------------------
Reporter: unicornbacon | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5.2
Component: Media | Version: 4.5
Severity: major | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------
Comment (by guibernardi):
Any news about this issue?
Yesterday I installed the WP 4.5 and I'm having trouble with this bug.
I don't want to edit the files listed on the solution listed above, so is
there any comming update to fix it?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 19:33:50 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 19:33:50 -0000
Subject: [wp-trac] [WordPress Trac] #36657: Live Responsive Preview
buttons not aligned
In-Reply-To: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
References: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
Message-ID: <065.b1f5cd431a8ebcbc3544bb6e1e08dbeb@wordpress.org>
#36657: Live Responsive Preview buttons not aligned
--------------------------+------------------------------
Reporter: zarkod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses: ui
--------------------------+------------------------------
Comment (by mrahmadawais):
Replying to [comment:1 westonruter]:
> @mrahmadawais isn't this something you noticed as well?
Yes, I did. In the RC right before the release of 4.5 but after the
release it was all fine. So, I didn't look into it.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 19:32:22 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 19:32:22 -0000
Subject: [wp-trac] [WordPress Trac] #36657: Live Responsive Preview
buttons not aligned
In-Reply-To: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
References: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
Message-ID: <065.6b4923124966f6289637e6c3619546ae@wordpress.org>
#36657: Live Responsive Preview buttons not aligned
--------------------------+------------------------------
Reporter: zarkod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses: ui
--------------------------+------------------------------
Comment (by westonruter):
@mrahmadawais isn't this something you noticed as well?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 21:24:16 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 21:24:16 -0000
Subject: [wp-trac] [WordPress Trac] #36657: Live Responsive Preview
buttons not aligned
In-Reply-To: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
References: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
Message-ID: <065.c384cd6231aa9343554dc059fc50e576@wordpress.org>
#36657: Live Responsive Preview buttons not aligned
-------------------------------------------+------------------------------
Reporter: zarkod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: needs-patch reporter-feedback | Focuses: ui
-------------------------------------------+------------------------------
Changes (by westonruter):
* keywords: => needs-patch reporter-feedback
Comment:
@zarkod anything in particular about your browser that causes this issue?
What browser are you using? What is your screen size? What OS are you
running? Do you have a non-default zoom or font size?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 21:24:35 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 21:24:35 -0000
Subject: [wp-trac] [WordPress Trac] #36657: Live Responsive Preview
buttons not aligned
In-Reply-To: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
References: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
Message-ID: <065.8e966d4528d82f6cca9e0e5dff0aa3ef@wordpress.org>
#36657: Live Responsive Preview buttons not aligned
-------------------------------------------+--------------------
Reporter: zarkod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: needs-patch reporter-feedback | Focuses: ui
-------------------------------------------+--------------------
Changes (by westonruter):
* milestone: Awaiting Review => 4.5.2
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 21:35:12 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 21:35:12 -0000
Subject: [wp-trac] [WordPress Trac] #36657: Live Responsive Preview
buttons not aligned
In-Reply-To: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
References: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
Message-ID: <065.4461b11d9c610981286b84f28a049e5f@wordpress.org>
#36657: Live Responsive Preview buttons not aligned
-------------------------------------------+--------------------
Reporter: zarkod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: needs-patch reporter-feedback | Focuses: ui
-------------------------------------------+--------------------
Comment (by zarkod):
Replying to [comment:3 westonruter]:
> @zarkod anything in particular about your browser that causes this
issue? What browser are you using? What is your screen size? What OS are
you running? Do you have a non-default zoom or font size?
Checked in two browsers Chrome 50.0 and Firefox 44.0.2, OS X El Capitan
10.11.1, 13" screen (1440px width), no specific font or zoom setup, all
default.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 22:07:48 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 22:07:48 -0000
Subject: [wp-trac] [WordPress Trac] #35457: Theme installer upload
button improvements
In-Reply-To: <051.ac2f9873fcd6562a3024ced272ac5a54@wordpress.org>
References: <051.ac2f9873fcd6562a3024ced272ac5a54@wordpress.org>
Message-ID: <066.07a7c129874be2cd542716948b5e0f61@wordpress.org>
#35457: Theme installer upload button improvements
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots ui-feedback | javascript
-------------------------------------+-------------------------------------
Changes (by afercia):
* keywords: has-patch has-screenshots => has-patch has-screenshots ui-
feedback
Comment:
Looking back at this, I'm not so convinced hiding the list of themes (same
for Plugins) is the best option. This is also inconsistent with what
happens in the Media Library grid view, where all the attachments stay
visible (see screenshot below). I'd greatly appreciate UI/design feedback.
Personally, I'd say Themes, Plugins, Media screens should behave in the
same way. Any thoughts more than welcome.
[[Image(https://cldup.com/q4bNlLSwBq.png)]]
Side note: in the Media screen, the "drop zone" should probably be moved
above the toolbar.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 22:41:31 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 22:41:31 -0000
Subject: [wp-trac] [WordPress Trac] #22080: add_theme_support should
merge post-thumbnail post types by default (currently stomps)
In-Reply-To: <055.276c8d72cbf8c8c39ae5095cedeac31b@wordpress.org>
References: <055.276c8d72cbf8c8c39ae5095cedeac31b@wordpress.org>
Message-ID: <070.e4e04e914cc4954d063968f93c332fde@wordpress.org>
#22080: add_theme_support should merge post-thumbnail post types by default
(currently stomps)
-------------------------------------+-----------------------------
Reporter: alexkingorg | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Post Thumbnails | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+-----------------------------
Comment (by jmichaelward):
I'm digging back into this issue, and I think some conversation is
warranted with regard to exactly how this functionality should work before
moving forward with any potential code fixes. The original issue and my
response six months ago may not be entirely evident, so I'm hoping to
provide a bit more clarity here so we can confirm whether this is in fact
an issue at all and instead desired functionality by the
`add_theme_support()` mechanism.
The Codex states that, as of version 2.9, developers can indicate that
they wish to add post thumbnails support to their theme.
[https://core.trac.wordpress.org/ticket/22080#comment:5 As Alex King
reported four years ago], they can do so by either writing
`add_theme_support( 'post-thumbnails' );` in their `functions.php` file,
or by optionally passing an array of post types they wish to support.
[https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
According to the Codex], users "can optionally pass a second argument with
an array of the Post Types for which you want to enable this feature.".
When adding theme support without this optional array, there are no
issues. However, when an array is passed, WordPress is told only to
support post thumbnails for the provided post types.
To the original issue submission,
[https://core.trac.wordpress.org/ticket/22080#comment:2 @scribu asked],
"...more importantly, why are you calling add_theme_support() from a
plugin? It makes zero sense to me." Naturally, plugins such as WooCommerce
desire to do exactly this, so they can provide post thumbnail supports for
their product pages. Unfortunately, they're activating post thumbnails for
all post types (without passing a parameter), when I believe their
intention is to add theme support only for their product post type, but
that's merely a related issue, though it may be a byproduct of this one.
In WooCommerce's case, because they activate post thumbnails for all post
types, developers don't need to add support for them to their theme at
all. '''But this is actually the crux of the issue.''' A less-experienced
developer may read the Codex and opt to pass an array of post types that
don't include those that WooCommerce (or other third-party plugin
developers) registered, and thus, override the post type support for all
post types in which it was previously enabled.
At this point, there is a question of intent. A developer who calls, for
instance, `add_theme_support( 'post-thumbnails, array( 'post' ) );` may in
fact be intending to disable post thumbnails for all other post types
where it was previously supported, but as
[https://core.trac.wordpress.org/ticket/22080#comment:9 @scribu
indicated], there is another method to do that:
`remove_post_type_support()`.
I agree with @nacin's assessment that intent here is key, particularly
when we're working with plugins that register post types outside of the
theme (and if we're wanting to continue to promote user's ability to
switch between themes without losing their content, this is important).
Toward that end, `add_theme_support()` needs to correctly add support for
a post type when an array is passed, and not squash any previously-added
types, such as WooCommerce's thumbnail support for product.
`remove_post_type_support()` works as it should, and if a developer adds
it to their functions.php file, it's clear that their intent was to remove
thumbnail support for that type (again, such as for WooCommerce's product
post type).
Thus, I propose updating `add_theme_support()` to build an array of post
types that support post thumbnails, and will take on the work of doing so
once I hear feedback from others.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 22:44:41 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 22:44:41 -0000
Subject: [wp-trac] [WordPress Trac] #22080: add_theme_support should
merge post-thumbnail post types by default (currently stomps)
In-Reply-To: <055.276c8d72cbf8c8c39ae5095cedeac31b@wordpress.org>
References: <055.276c8d72cbf8c8c39ae5095cedeac31b@wordpress.org>
Message-ID: <070.ff119d49673cc6db8fd1def9ba006771@wordpress.org>
#22080: add_theme_support should merge post-thumbnail post types by default
(currently stomps)
-------------------------------------+-----------------------------
Reporter: alexkingorg | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Post Thumbnails | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+-----------------------------
Comment (by jmichaelward):
The easiest way to replicate this issue is as follows:
1. Install and activate WooCommerce. It registers a custom post type
called `product` and adds post thumbnail support to all post types (so you
can go to a Page, Post, or Product and see that you can attach an image).
2. Create a new theme with a functions.php file, and enter
`add_theme_support( 'post-thumbnail', array( 'post' ) );`.
3. Click into a new or existing post, and confirm that you're able to
attach a featured image.
4. Click into a new or existing page or WooCommerce product, and note that
you no longer have the ability to attach a featured image to these types.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Sun Apr 24 23:16:00 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Sun, 24 Apr 2016 23:16:00 -0000
Subject: [wp-trac] [WordPress Trac] #36657: Live Responsive Preview
buttons not aligned
In-Reply-To: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
References: <050.ee3c8b2b2f48e6e76d80fde65b9272af@wordpress.org>
Message-ID: <065.972de26525737242d0be10eb75a4521a@wordpress.org>
#36657: Live Responsive Preview buttons not aligned
-------------------------------------------+--------------------
Reporter: zarkod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: needs-patch reporter-feedback | Focuses: ui
-------------------------------------------+--------------------
Comment (by celloexpressions):
My best guess would be some sort of CSS caching issue, or a plugin with
conflicting CSS. Does it still happen with all plugins disabled and a
bundled theme?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 01:55:11 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 01:55:11 -0000
Subject: [wp-trac] [WordPress Trac] #35592: Description of button 'Clear
inactive widgets' not hiding when closing section
In-Reply-To: <052.bacdaddc5563a2e6c421972d64076dd4@wordpress.org>
References: <052.bacdaddc5563a2e6c421972d64076dd4@wordpress.org>
Message-ID: <067.efc0f51da5bf47fc1c680351a025dac7@wordpress.org>
#35592: Description of button 'Clear inactive widgets' not hiding when closing
section
------------------------------------+-----------------------------
Reporter: mahu2401 | Owner: welcher
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Widgets | Version: 4.4.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: administration
------------------------------------+-----------------------------
Changes (by welcher):
* keywords: has-patch => has-patch dev-feedback
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 02:17:01 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 02:17:01 -0000
Subject: [wp-trac] [WordPress Trac] #36658: Adding method to reset the
mocked phpmailer instance
Message-ID: <051.f4eb90dc742e2d4583cfb3940ebc0e06@wordpress.org>
#36658: Adding method to reset the mocked phpmailer instance
------------------------------+------------------------------------
Reporter: welcher | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords: has-patch dev-feedback
Focuses: |
------------------------------+------------------------------------
Added a new decorator method to rest the mock phpmailer object to make it
more clear as to what the code is doing. Also, I removed the `tests_`
prefix from the `retrieve_phpmailer_instance` method as it is not needed
and may cause confusion as it does not contain any tests.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 02:37:35 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 02:37:35 -0000
Subject: [wp-trac] [WordPress Trac] #36533: Doesn't work browse media
libary on Frontend
In-Reply-To: <054.8a4d8bd7558a8eb96a710a9681121a0b@wordpress.org>
References: <054.8a4d8bd7558a8eb96a710a9681121a0b@wordpress.org>
Message-ID: <069.1c4c77795d37d8ef6c436cab2b24b981@wordpress.org>
#36533: Doesn't work browse media libary on Frontend
--------------------------+-------------------------
Reporter: purevtsooj | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Media | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by boonebgorges):
I came across this issue while following up on some support requests for a
plugin of mine.
It's worth noting that the CSS in question (see [comment:19 swissspidy's
comment]) is present in Twenty Thirteen, which may make this a more
serious regression.
[attachment:media-views.diff] does fix the problem in my specific test
case, but I'll leave it to others to judge whether it's worth patching WP
to cover a jQuery regression like this one.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 04:24:48 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 04:24:48 -0000
Subject: [wp-trac] [WordPress Trac] #36633: Customizer Doesn't Save
Defaults in The Database for a Theme
In-Reply-To: <056.79bc72026bc0a01de06d3c1b8b46ad91@wordpress.org>
References: <056.79bc72026bc0a01de06d3c1b8b46ad91@wordpress.org>
Message-ID: <071.c9b4b8f84334984f60f1816de65daf8e@wordpress.org>
#36633: Customizer Doesn't Save Defaults in The Database for a Theme
--------------------------------+------------------------------
Reporter: mrahmadawais | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback close | Focuses:
--------------------------------+------------------------------
Comment (by mrahmadawais):
Replying to [comment:5 westonruter]:
> @mrahmadawais thanks for explaining. Yes, I can see how this would be
confusing. If this were to be fixed, the approach I'd
> .....
Yup! The default array makes a lot of sense. That way if I really want to
initialize the options, I can otherwise it simplifies things.
P.S. This is what I am doing at the moment with the defaults array.
{{{#!php
get_setting( $id );
$value = get_theme_mod( $id );
if ( ! isset( $value ) || false == $value ) {
set_theme_mod( $setting->id,
$setting->default );
}
} // foreach ended.
} // vr_customizer_init_defaults() ended.
} // function_exists() ended.
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 05:17:41 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 05:17:41 -0000
Subject: [wp-trac] [WordPress Trac] #22080: add_theme_support should
merge post-thumbnail post types by default (currently stomps)
In-Reply-To: <055.276c8d72cbf8c8c39ae5095cedeac31b@wordpress.org>
References: <055.276c8d72cbf8c8c39ae5095cedeac31b@wordpress.org>
Message-ID: <070.3e1b6cb031ce451ce9c33a7c9f748b76@wordpress.org>
#22080: add_theme_support should merge post-thumbnail post types by default
(currently stomps)
-------------------------------------+-----------------------------
Reporter: alexkingorg | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Post Thumbnails | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+-----------------------------
Comment (by jmichaelward):
I just uploaded a proposed patch to this issue. It checks for two cases
when users attempt to add post-thumbnail support to a theme:
1. If `get_theme_support( 'post-thumbnails' )` returns a boolean value of
`true`, the function returns. Post thumbnails have already been declared
for all post types.
2. Next, if the arguments are an array and the global `$_wp_theme_features
['post-thumbnails']` value is an array, those values will get merged and
non-unique values will be discarded. These new arguments get applied at
the end of the function.
In the third-party realm, this code change can cause some compatibility
issues depending on the checks that are being run. In WooCommerce's case,
they're only calling `add_theme_support( 'post-thumbnails' )` if the
current theme supports post thumbnails. With the fixed case, this would be
true when a user adds, for instance, `add_theme_support( 'post-
thumbnails', array( 'post' ) );` to `functions.php`, as post thumbnails
would no longer be available to WooCommerce's product post type because
the check would return `true`. This can be fixed by Woo by updating their
conditional check from:
{{{
function add_thumbnail_support() {
if ( ! current_theme_supports( 'post-thumbnails' ) ) {
add_theme_support( 'post-thumbnails' );
}
add_post_type_support( 'product', 'thumbnail' );
}
}}}
to:
{{{
function add_thumbnail_support() {
if ( ! current_theme_supports( 'post-thumbnails' ) || ! in_array(
'product', get_theme_support( 'post-thumbnails' ) ) ) {
add_theme_support( 'post-thumbnails', array( 'product' ) );
}
add_post_type_support( 'product', 'thumbnail' );
}
}}}
The caveat here is there's no telling how many plugins might be running
similar checks. I'd appreciate any feedback or insight others can provide
into this issue.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 06:26:43 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 06:26:43 -0000
Subject: [wp-trac] [WordPress Trac] #36659: Add Media Not seleting when we
are tab using keybord
Message-ID: <056.c1bdff5f2e36e40817f07c57d5627101@wordpress.org>
#36659: Add Media Not seleting when we are tab using keybord
--------------------------+-----------------------------
Reporter: mynamevenu24 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
In edit page add media button not selecting while using tab, tab is going
only edit and right sections only
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 07:46:19 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 07:46:19 -0000
Subject: [wp-trac] [WordPress Trac] #36658: Adding method to reset the
mocked phpmailer instance
In-Reply-To: <051.f4eb90dc742e2d4583cfb3940ebc0e06@wordpress.org>
References: <051.f4eb90dc742e2d4583cfb3940ebc0e06@wordpress.org>
Message-ID: <066.e01a6ec97168c15211eb79a5cb58fa1f@wordpress.org>
#36658: Adding method to reset the mocked phpmailer instance
------------------------------------+------------------
Reporter: welcher | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review => 4.6
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 08:10:27 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 08:10:27 -0000
Subject: [wp-trac] [WordPress Trac] #36659: Add Media Not seleting when
we are tab using keybord
In-Reply-To: <056.c1bdff5f2e36e40817f07c57d5627101@wordpress.org>
References: <056.c1bdff5f2e36e40817f07c57d5627101@wordpress.org>
Message-ID: <071.dc78f1ae7863ad485d499116c8dc6af5@wordpress.org>
#36659: Add Media Not seleting when we are tab using keybord
------------------------------+--------------------------------------------
Reporter: mynamevenu24 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post | Version: 4.5
Types | Resolution:
Severity: normal | Focuses: accessibility, administration
Keywords: |
------------------------------+--------------------------------------------
Changes (by swissspidy):
* focuses: => accessibility, administration
* component: General => Posts, Post Types
Comment:
Can anyone confirm this is a regression in 4.5 and has been working
properly before?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 09:17:11 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 09:17:11 -0000
Subject: [wp-trac] [WordPress Trac] #36659: Add Media Not seleting when
we are tab using keybord
In-Reply-To: <056.c1bdff5f2e36e40817f07c57d5627101@wordpress.org>
References: <056.c1bdff5f2e36e40817f07c57d5627101@wordpress.org>
Message-ID: <071.a13760ad3863c81fc983e2650efa27d7@wordpress.org>
#36659: Add Media Not seleting when we are tab using keybord
------------------------------+--------------------------------------------
Reporter: mynamevenu24 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post | Version: 4.5
Types | Resolution:
Severity: normal | Focuses: accessibility, administration
Keywords: |
------------------------------+--------------------------------------------
Comment (by mynamevenu24):
Getting same issue on previous version also, not selecting tab 'add media'
button while using keyboard
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 09:35:44 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 09:35:44 -0000
Subject: [wp-trac] [WordPress Trac] #28216: Allow to register
pre-instantiated widgets
In-Reply-To: <061.0ea190400284153726bf26f274930ca9@wordpress.org>
References: <061.0ea190400284153726bf26f274930ca9@wordpress.org>
Message-ID: <076.1d5b87b91ab4063c4643f27e8c9659b7@wordpress.org>
#28216: Allow to register pre-instantiated widgets
-------------------------------+--------------------------
Reporter: Denis-de-Bernardy | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.6
Component: Widgets | Version: 3.9.1
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+--------------------------
Comment (by PeterRKnight):
Replying to [comment:11 mdwheele]:
> I've added two possible implementations that vary on whether branching
or exiting-early is preferred in the widget factory register and
unregister methods. This includes a test that has been tagged with this
ticket number. Tests are passing. The third patch updates the
`register_widget` and `unregister_widget` functions to reflect the change
in argument type expectation.
Your patch allows for pre-initialized widgets but if you try to
instantiate multiple widgets of a certain class with arguments, they
overwrite each other as far as I can see. So it doesn't cover the example
given by @Denis-de-Bernardy here
https://core.trac.wordpress.org/ticket/28216?replyto=11#comment:3
I would love to see core support for creating dynamic widgets make it into
4.6!
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 10:04:48 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 10:04:48 -0000
Subject: [wp-trac] [WordPress Trac] #36618: Move WP_Upgrader and
WP_Upgrader_Skin subclasses into separate files
In-Reply-To: <051.2ca556c6c540a645abd0a7cb47aa053f@wordpress.org>
References: <051.2ca556c6c540a645abd0a7cb47aa053f@wordpress.org>
Message-ID: <066.d47e2fbb692dd2e9cd0367e7c585b58d@wordpress.org>
#36618: Move WP_Upgrader and WP_Upgrader_Skin subclasses into separate files
-------------------------------+------------------
Reporter: ocean90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion early | Focuses:
-------------------------------+------------------
Changes (by ocean90):
* keywords: 2nd-opinion => 2nd-opinion early
Comment:
Noting here that this needs some extensive testing on how it could affect
a core upgrade.
@dd32 Any thoughts on this?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 10:09:43 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 10:09:43 -0000
Subject: [wp-trac] [WordPress Trac] #36618: Move WP_Upgrader and
WP_Upgrader_Skin subclasses into separate files
In-Reply-To: <051.2ca556c6c540a645abd0a7cb47aa053f@wordpress.org>
References: <051.2ca556c6c540a645abd0a7cb47aa053f@wordpress.org>
Message-ID: <066.25cdb8cdde75d3f21ff1fd8df0e5d8c0@wordpress.org>
#36618: Move WP_Upgrader and WP_Upgrader_Skin subclasses into separate files
-------------------------------+------------------
Reporter: ocean90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion early | Focuses:
-------------------------------+------------------
Comment (by dd32):
I have no objections, to either the main file just including everything
else, or using a autoloader (probably in the future - Sorry there wasn't a
common prefix!)
The only potential issue would be an incomplete failed update which then
couldn't be completed from within wp-admin. As it is, the chances of a
failed *major* update leaving WordPress in a state that WordPress can
update itself again is rather slim.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 10:34:10 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 10:34:10 -0000
Subject: [wp-trac] [WordPress Trac] #36656: Improve UX on Add New User
screen
In-Reply-To: <054.31cc756b5d5428f5db7c09ed077d885a@wordpress.org>
References: <054.31cc756b5d5428f5db7c09ed077d885a@wordpress.org>
Message-ID: <069.cbb49e4456b9cabb636bd2112616a1e3@wordpress.org>
#36656: Improve UX on Add New User screen
------------------------------+--------------------------------------------
Reporter: swissspidy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: ui-feedback ux- | Focuses: ui, administration, multisite
feedback |
------------------------------+--------------------------------------------
Changes (by karmatosed):
* keywords: => ui-feedback ux-feedback
Comment:
@swissspidy totally agree this area could do with some consideration. I
would suggest though that tabs maybe aren't the solution that's best - it
could be, but we just don't have the evidence yet to say that. What I
would love to see would be some research into what this has as common
uses. What is needed? What isn't needed? Maybe also ask beyond one
interpretation?
I'm going to add some feedback / design tags to this as would love to see
some explorations as to what this could iterate to.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 11:34:29 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 11:34:29 -0000
Subject: [wp-trac] [WordPress Trac] #36306: Smiley in shortcode
attribute breaks the parsing
In-Reply-To: <050.eb525e8b8c88e5c6ed1ce0da0e319396@wordpress.org>
References: <050.eb525e8b8c88e5c6ed1ce0da0e319396@wordpress.org>
Message-ID: <065.8fb58fd5a90703e140f5df6962b26b47@wordpress.org>
#36306: Smiley in shortcode attribute breaks the parsing
--------------------------+-----------------------
Reporter: Unyson | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Emoji | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses: template
--------------------------+-----------------------
Comment (by Unyson):
Thank you
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 11:35:03 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 11:35:03 -0000
Subject: [wp-trac] [WordPress Trac] #36660:
WP_Customize_Widgets::preview_sidebars_widgets() can return false
Message-ID: <051.adc9be83d0111c98fd4cd9d636ba2062@wordpress.org>
#36660: WP_Customize_Widgets::preview_sidebars_widgets() can return false
--------------------------+-----------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Customize | Version: 4.5
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------
Seeing this PHP notice on dotorg:
{{{
?E_WARNING: /wp-includes/class-wp-customize-widgets.php:385 -
array_merge(): Argument #3 is not an array
array_merge(): Argument #3 is not an array
Timestamp: Mon, 25 Apr 2016 08:52:29 +0000 (1461574349)
File: /wp-includes/class-wp-customize-widgets.php
Line: 385
}}}
This seems to be caused by [37166] where the `sidebars_widgets` callback
was moved before the `wp_get_sidebars_widgets()` call.
`WP_Customize_Widgets::preview_sidebars_widgets()` is using `get_option(
'sidebars_widgets' )` without defining a default value so it falls back to
`false` in case the site has no widgets.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 11:39:39 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 11:39:39 -0000
Subject: [wp-trac] [WordPress Trac] #36306: Smiley in shortcode
attribute breaks the parsing
In-Reply-To: <050.eb525e8b8c88e5c6ed1ce0da0e319396@wordpress.org>
References: <050.eb525e8b8c88e5c6ed1ce0da0e319396@wordpress.org>
Message-ID: <065.bdf99b453517e85b47ab6ecfa052982f@wordpress.org>
#36306: Smiley in shortcode attribute breaks the parsing
--------------------------+-----------------------
Reporter: Unyson | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Emoji | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses: template
--------------------------+-----------------------
Comment (by Unyson):
@pento Please add a comment next to that priority or a link to this
ticket, so others will know why there is set priority `20` and will not
change it in future.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 11:46:47 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 11:46:47 -0000
Subject: [wp-trac] [WordPress Trac] #22952: WP_HTTP can cause PHP
Warnings during attempted decompression
In-Reply-To: <048.099e3a916c6906dc4366f19fe9f9ca89@wordpress.org>
References: <048.099e3a916c6906dc4366f19fe9f9ca89@wordpress.org>
Message-ID: <063.bc58f3e09b35f55ffd93d72368abe58e@wordpress.org>
#22952: WP_HTTP can cause PHP Warnings during attempted decompression
-------------------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: HTTP API | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------------
Comment (by pkostadinov):
The error is still present in WP 4.5:
{{{
Warning: gzinflate(): data error in /wp-includes/class-wp-http-
encoding.php on line 58
}}}
Here is my trace:
{{{
----------------------------------------------------------------
# Date ::: 2016-04-25 11:42:11
----------------------------------------------------------------
Array
(
[0] => Warning: gzinflate(): data error in /wp-includes/class-wp-http-
encoding.php on line 58
[1] => Array
(
[file] =>
[line] =>
[function] => crb_ignore_plugins_errors2
)
[2] => Array
(
[file] => \wp-includes\class-wp-http-encoding.php
[line] => 58
[function] => gzinflate
)
[3] => Array
(
[file] => \wp-includes\class-wp-http-curl.php
[line] => 293
[function] => decompress
)
[4] => Array
(
[file] => \wp-includes\class-http.php
[line] => 433
[function] => request
)
[5] => Array
(
[file] => \wp-includes\class-http.php
[line] => 342
[function] => _dispatch_request
)
[6] => Array
(
[file] => \wp-includes\http.php
[line] => 153
[function] => request
)
[7] => Array
(
[file] => \wp-content\plugins\jetpack\class.jetpack-client.php
[line] => 162
[function] => wp_remote_request
)
[8] => Array
(
[file] => \wp-content\plugins\jetpack\class.jetpack-client.php
[line] => 118
[function] => _wp_remote_request
)
[9] => Array
(
[file] => \wp-content\plugins\jetpack\class.jetpack-ixr-
client.php
[line] => 34
[function] => remote_request
)
[10] => Array
(
[file] => \wp-content\plugins\jetpack\class.jetpack.php
[line] => 5819
[function] => query
)
[11] => Array
(
[file] => \wp-content\plugins\jetpack\class.jetpack.php
[line] => 6072
[function] => get_cloud_site_options
)
[12] => Array
(
[file] => \wp-content\plugins\jetpack\class.jetpack-sync.php
[line] => 173
[function] => is_staging_site
)
[13] => Array
(
[file] =>
[line] =>
[function] => sync
)
[14] => Array
(
[file] => \wp-includes\plugin.php
[line] => 525
[function] => call_user_func_array
)
[15] => Array
(
[file] => \wp-includes\load.php
[line] => 638
[function] => do_action
)
[16] => Array
(
[file] =>
[line] =>
[function] => shutdown_action_hook
)
)
}}}
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 13:27:46 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 13:27:46 -0000
Subject: [wp-trac] [WordPress Trac] #36306: Smiley in shortcode
attribute breaks the parsing
In-Reply-To: <050.eb525e8b8c88e5c6ed1ce0da0e319396@wordpress.org>
References: <050.eb525e8b8c88e5c6ed1ce0da0e319396@wordpress.org>
Message-ID: <065.2ca4fe1e23ebb8d900ab03a390234059@wordpress.org>
#36306: Smiley in shortcode attribute breaks the parsing
--------------------------+-----------------------
Reporter: Unyson | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Emoji | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses: template
--------------------------+-----------------------
Comment (by pento):
Thanks for the feedback on the patch, @Unyson!
There's no need to add a comment, as all custom priorities in `default-
filters.php` are assumed to be there for a good reason, and shouldn't be
changed without careful consideration. If it ever came up in the future,
part of that consideration would be to look through the
[https://core.trac.wordpress.org/browser/trunk/src/wp-includes/default-
filters.php?annotate=blame&rev=37298#L133 annotated source] for why it was
changed. A comment pointing at this ticket would be superfluous.
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 14:23:17 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 14:23:17 -0000
Subject: [wp-trac] [WordPress Trac] #36619: Error when adding a URL to
Editor Screen !
In-Reply-To: <051.df270153cc2459a15582b353e1ec8fcf@wordpress.org>
References: <051.df270153cc2459a15582b353e1ec8fcf@wordpress.org>
Message-ID: <066.592b0342dc1d44983fabd58ab5d20f32@wordpress.org>
#36619: Error when adding a URL to Editor Screen !
--------------------------+------------------------------
Reporter: mcjambi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by c3mdigital):
I'm not able to reproduce. Could you provide steps to reproduce the
error? Are you using the add link button in TinyMce or directly inserting
it into the post? Also are you getting any javascript errors in the
console when this happens?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 14:42:44 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 14:42:44 -0000
Subject: [wp-trac] [WordPress Trac] #35055: Custom Meta for
nav_menu_items
In-Reply-To: <058.b114fb5384a4ccd4e5d8a1a57c148fa4@wordpress.org>
References: <058.b114fb5384a4ccd4e5d8a1a57c148fa4@wordpress.org>
Message-ID: <073.020bdf35eb348cfab3f2138c133884f2@wordpress.org>
#35055: Custom Meta for nav_menu_items
-----------------------------+------------------------------
Reporter: vincentastolfi | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by stewarty):
I just want to throw my hat in and say this would be great to get resolved
as well.
I don't think we need to go as far a a full add_meta_box style API but
even some filters in the form to be ale to manipulate the HTML output
would be great.
Here is another very old example of how this has been done -
https://gist.github.com/westonruter/3802459
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 14:46:42 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 14:46:42 -0000
Subject: [wp-trac] [WordPress Trac] #36619: Error when adding a URL to
Editor Screen !
In-Reply-To: <051.df270153cc2459a15582b353e1ec8fcf@wordpress.org>
References: <051.df270153cc2459a15582b353e1ec8fcf@wordpress.org>
Message-ID: <066.53273a3a9295a2cc41525938e006d5f7@wordpress.org>
#36619: Error when adding a URL to Editor Screen !
--------------------------+------------------------------
Reporter: mcjambi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by mcjambi):
I am using Chrome to write, using "add link" button in TinyMCE, all old
version never happended like this !
Just sometime error appear, in Debug consor has no error, i do not know
why, maybe a small bug in new "add link" button, or other plugin cause
this error, i will post a screenshot or video if error appear again !
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 15:21:54 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 15:21:54 -0000
Subject: [wp-trac] [WordPress Trac] #36617: String gendering functions
In-Reply-To: <050.d3f0726a16ee55eb9e167a5cc93de560@wordpress.org>
References: <050.d3f0726a16ee55eb9e167a5cc93de560@wordpress.org>
Message-ID: <065.b4899d73af08d098a943f72e6dc51f5b@wordpress.org>
#36617: String gendering functions
-----------------------------+------------------------------
Reporter: bastho | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by bastho):
Regarding [comment:7 thomaswm]'s comment:
> No, they don't. For instance, the word "cat" is female in German (eine
Katze), but male in French (un chat).
> Also, German has three genders instead of two. Abstract objects can be
either male, female or neutral.
It is more rational to focus on user's gender since objects can have there
specific strings.
Contrary to #18003 which concerns contributors (which only interests
developers), user's gender concerns the large population of WordPress end
users. As accessibility and localization, this is an important vector for
a better user experience.
Should we first try in a plugin ?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 15:48:57 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 15:48:57 -0000
Subject: [wp-trac] [WordPress Trac] #36661: Improve
`wp_get_attachment_image()` and `wp_get_attachment_image_attributes` docs.
Message-ID: <051.d8fca903f281b5d1481c7ee809401347@wordpress.org>
#36661: Improve `wp_get_attachment_image()` and
`wp_get_attachment_image_attributes` docs.
-------------------------+-----------------------------
Reporter: juanfra | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5
Severity: normal | Keywords:
Focuses: docs |
-------------------------+-----------------------------
Hey there,
While looking for a solution for another ticket I've seen that there's not
much documentation for `wp_get_attachment_image()`, specifically for the
string|array of the `$atts` parameter. I know, that you can get through
the code and see that some of them are automatically generated (src,
class, alt, srcset, sizes) and that you override them and at the same time
you can define an unlimited amount of `$atts`, but perhaps there's other
people trying to use the function and they do not know that. We might end
up seeing ugly implementations of people trying to add data attributes to
images, etc. This function is not documented in the codex, only in the
Code Reference site.
I think the most important part to explain is the `scrset` attribute as
many people usually tries to use this type of function to deliver
different images depending on the device in which the site is seen (Also,
this is kind of covered by core in some ways now, but it is poorly
documented). Or that you can add classes for retina support.
The same is happening with the `wp_get_attachment_image_attributes` filter
within that function. It is not listing the list of attributes that you
get by default.
I consider it is worth it to modify the phpdoc (at least) in the hook
description, but I'm not sure if the phpdoc should be modified for the
function. That's why I wanted to have some feedback before sending a
patch.
What do you think? Shall we add docs within the code or we should we leave
notes on the code reference site?
--
Ticket URL:
WordPress Trac
WordPress publishing platform
From noreply at wordpress.org Mon Apr 25 16:04:52 2016
From: noreply at wordpress.org (WordPress Trac)
Date: Mon, 25 Apr 2016 16:04:52 -0000
Subject: [wp-trac] [WordPress Trac] #12706: Custom post status bugs in
the admin
In-Reply-To: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
References: <054.c09f97064f461b00f9960b633c3dc4d8@wordpress.org>
Message-ID: <069.9f7ab4563d6fb78912f46ede7a54a30e@wordpress.org>
#12706: Custom post status bugs in the admin
-------------------------------------------------+-------------------------
Reporter: ptahdunbar | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version: 3.0
Keywords: has-patch westi-likes needs-testing | Resolution:
needs-unit-tests editorial-flow | Focuses:
-------------------------------------------------+-------------------------
Comment (by fjarrett):
Rather than patching a 6-year old custom status API that was never fully
completed, I'm more inclined to see the @johnjamesjacoby `WP_Status`
object dream come true.
I'd be very excited to contribute and collaborate on this.
The before-publish state is necessary for the "try-before-you-buy"
direction that the Customizer and other initiatives within core have been
aiming for. Providing a mechanism in which other objects can transition
from before-publish to publish would allow virtually ''anything'' to be
staged and previewed before going live.
Imagine being able to create draft placeholder Users or Terms that are
inactive/unpublished until a certain date?
The "after-publish" state has been an itch needing to be scratched for a
while, which is why I released a feature plugin for it last year. Lots of
hacky nonsense was needed to pull it off in a way that maintained a
consistent UX with existing post transitioning flows.
https://wordpress.org/plugins/archived-post-status/
--
Ticket URL:
WordPress Trac