Scott Taylor
2812cc9595
In page_attributes_meta_box()
, add an action, 'page_attributes_meta_box_template'
to allow callbacks to be performed and HTML to be inserted after the title of the Template section.
...
Props sgrant.
Fixes #33625 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34340 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-20 02:39:31 +00:00
Scott Taylor
a3cb19c52e
MediaElement: apply monkey patch to include a PR which fixes a breaking change made upstream on a public interface:
...
ccba8d0b6a
Props bradyvercher.
Fixes #33798 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34339 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-20 02:30:06 +00:00
Scott Taylor
2ccbc51d1e
Login: apply the same margin to the top and bottom of the Back to {Blog} link.
...
Props MikeHansenMe.
Fixes #29249 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34338 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-20 01:40:42 +00:00
Drew Jaynes
12ce04a95e
Docs: Add descriptions for $wp_query
global phpDoc references in wp-includes/query.php, partially documented in [32620].
...
Fixes #32139 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34337 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-20 00:04:48 +00:00
Scott Taylor
b55de4e5f8
Feeds/Links: fix feed links for unattached attachments.
...
Adds unit tests.
Props wonderboymusic, iworks.
Fixes #33693 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34336 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 20:09:05 +00:00
Scott Taylor
d258115a28
After [34334], update unit tests.
...
See #33930 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34335 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 20:06:52 +00:00
Scott Taylor
633b119fd3
Site Icon: for consistency, make all 4 HTML tags in wp_site_icon()
self-closing.
...
Props Corphi.
Fixes #33930 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34334 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 19:06:03 +00:00
Scott Taylor
0fdbaecbc6
Export: Add late-escaping to the contents of several nodes to avoid creating invalid XML and XML parse errors.
...
Props westonruter.
Fixes #33732 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34333 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 18:52:27 +00:00
Scott Taylor
f9c67159d4
Updates: in Theme list table, set white-space
to normal
for theme titles at appropriate breakpoint to avoid horizontal scrolling on small screens.
...
Fixes #33831 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34332 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 18:42:45 +00:00
Scott Taylor
d075313f5b
Post List Table: 'All' view should be selected when appropriate for paged responses.
...
Props kraftbj, wonderboymusic.
Fixes #33923 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34331 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 18:16:31 +00:00
Scott Taylor
f4445d75c4
Add a 'menu_id'
argument to wp_page_menu()
so that fallback menus have the same attributes as wp_nav_menu()
.
...
Props lancewillett, ocean90, wonderboymusic.
Fixes #31656 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34330 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 18:06:49 +00:00
Scott Taylor
1b550d9fb2
Reinstate [34327]. minus the unit test deletion.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@34329 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 17:48:18 +00:00
Scott Taylor
1e7832cc3b
Revert [34327] to fix the accidental deletion of some unit tests.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@34328 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 17:45:46 +00:00
Scott Taylor
750c22abf8
Export: Add a filer, 'export_wp_filename'
to change the filename of the file to download when exporting.
...
Props MikeHansenMe, wonderboymusic.
Fixes #29500 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34327 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 17:43:52 +00:00
Scott Taylor
3624366045
Export: allow Media to exported separately from other types.
...
Props PhilipLakin.
Fixes #32230 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34326 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 16:46:17 +00:00
Scott Taylor
d9b58bd4ac
Admin: when toggling select/deselect "all" via JS - :visible
needs to be bound to not toggle disabled inputs.
...
Props tywayne.
Fixes #32309 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34325 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 16:40:34 +00:00
Scott Taylor
6d51562d72
Edit Post: When a post is "Pending Review", the "View Post" link should behave like ot does for drafts and generate a preview link.
...
Props wpdev101.
Fixes #33541 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34324 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 16:31:38 +00:00
Scott Taylor
1ca6eee748
List Tables: Ensure that sorting indicators have layout when cell widths are being calculated.
...
See #27743 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34323 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 16:14:59 +00:00
Scott Taylor
3cf5d40b9d
Update Core: In list_plugin_updates()
, when listing plugin updates related to $core_update_version
, don't skip the check for $info->tested
.
...
Props MikeHansenMe.
Fixes #27883 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34322 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 16:09:40 +00:00
Konstantin Obenland
bfc9fc4040
Menus: Remove whitespace between nav menu items.
...
Avoids CSS hacks like floating menu items or setting the parent element's
font-size to 0 in order to display nav menus horizontally.
Props jjeaton.
Fixes #27762 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34321 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 11:39:39 +00:00
Weston Ruter
7bdfb4917f
Customize: Flesh out phpdoc for WP_Customize_Manager
.
...
* Add missing phpdoc for class member variables.
* Supply missing `@return` descriptions from [34269].
* Add missing `@since` tags.
* Remove unused `$customized` protected class member variable.
Fixes #33898 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34320 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 06:39:09 +00:00
Scott Taylor
1c5f85e1a4
When applying the 'editable_slug'
filter, add a second param that provides more context.
...
Props MikeSchinkel, jesin.
Fixes #31568 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34319 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 05:48:30 +00:00
Scott Taylor
09e3149b7a
Add a 'clean_user_cache'
action at the end of clean_user_cache()
. This is mighty similar to clean_post_cache()
.
...
Props elliott-stocks, wonderboymusic.
Fixes #31918 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34318 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-19 05:40:22 +00:00
Andrew Ozz
51078c32ec
TinyMCE: remove word-break: break-word;
from the default editor CSS to prevent irregular spaces when typing in RTL languages.
...
Props iehsanir, alireza1375, ankit-k-gupta.
Fixes #33868 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34317 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 23:57:56 +00:00
Dominik Schilling (ocean90)
9b546efc1b
Theme Compat: Remove commented out code.
...
See #31867 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34316 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 21:37:09 +00:00
Dominik Schilling (ocean90)
7eb0317968
Don't use <code>
in translation strings in wp-admin/options.php
.
...
Props ramiy, wonderboymusic.
Fixes #31861 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34315 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 20:42:20 +00:00
Dominik Schilling (ocean90)
f5eacb71d6
Don't use <code>
in translation strings in wp-admin/includes/plugin.php
.
...
Props ramiy.
Fixes #31856 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34314 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 20:28:23 +00:00
Dominik Schilling (ocean90)
0c642e4730
Use correct @since
tag for wp_ajax_generate_password()
.
...
See #33450 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34313 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 20:18:22 +00:00
Scott Taylor
1299974e7d
Profile: when clicking "Cancel" after clicking "Generate Password", request and generate a new password to present to the user.
...
Props adamsilverstein, wonderboymusic.
Fixes #33450 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34312 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 20:13:34 +00:00
Scott Taylor
a5f62a6cd5
Media: add a filter, 'mejs_settings'
, to allow devs to pass more config settings to MediaElement.
...
Fixes #33506 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34311 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 19:59:43 +00:00
Boone Gorges
2fd81992bc
Split the comment query.
...
`WP_Comment_Query` now fetches comments in two stages: (1) a query to get the
IDs of comments matching the query vars, and (2) a query to populate the
objects corresponding to the matched IDs. The two queries are cached
separately, so that sites with persistent object caches will continue to have
complete cache coverage for normal comment queries.
Splitting the query allows our cache strategy to be more modest and precise, as
full comment data is only stored once per comment. It also makes it possible
to introduce logic for paginated threading, which is necessary to address
certain performance problems.
See #8071 .
data is only stored once per comment, instead of along with
git-svn-id: https://develop.svn.wordpress.org/trunk@34310 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 19:27:39 +00:00
Scott Taylor
b0b36bc346
Add a 'get_sample_permalink' filter.
...
Props SergeyBiryukov, wenthemes, JustinSainton.
Fixes #22338 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34309 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 19:27:24 +00:00
Scott Taylor
27eb1ac0da
Add title_reply_before
and title_reply_after
args to comment_form()
to allow the "Leave a Reply" heading level to be changed.
...
Props tyxla.
Fixes #33775 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34308 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 19:17:19 +00:00
Scott Taylor
b862280404
After [34280], rename menu_tag
arg to container
, fix docs.
...
Props DrewAPicture.
Fixes #10968 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34307 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 19:04:18 +00:00
Sergey Biryukov
c43a62bde7
Include placeholder in translator comment.
...
See #31863 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34306 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 19:02:37 +00:00
Sergey Biryukov
039ce30818
Include placeholder in translator comment.
...
See #31864 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34305 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 19:00:20 +00:00
Sergey Biryukov
21a41c100f
Include placeholders in translator comments.
...
See #31857 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34304 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:57:01 +00:00
Scott Taylor
394e9ac21a
Don't use HTML tags in translation strings in edit-tags.php
.
...
Props ramiy.
Fixes #31863 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34303 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:52:48 +00:00
Scott Taylor
de077ac377
Don't use HTML tags in translation strings in wp_ajax_add_user()
.
...
Props ramiy.
Fixes #31864 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34302 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:50:04 +00:00
Sergey Biryukov
5cfdae8b2b
Add missing translator comment after [34295].
...
See #31853 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34301 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:49:40 +00:00
Sergey Biryukov
bcc165791f
Add missing translator comments after [34294].
...
See #31852 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34300 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:45:40 +00:00
Sergey Biryukov
48c6d925cd
Add missing translator comment after [34292].
...
See #31840 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34299 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:39:20 +00:00
Sergey Biryukov
f90ee7b348
Add missing translator comments after [34293].
...
See #31851 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34298 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:38:54 +00:00
Scott Taylor
310dc18167
Don't use HTML tags in translation strings for "In Reply To" links for comments in the admin.
...
Props ramiy.
Fixes #31857 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34297 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:35:16 +00:00
Scott Taylor
13889763af
Don't use HTML tags in translation strings in wp-admin/includes/update.php
.
...
Props ramiy.
Fixes #31855 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34296 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:30:26 +00:00
Scott Taylor
c10019ec70
Don't use <code>
in translation strings in edit-form-comment.php
.
...
Props ramiy.
Fixes #31853 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34295 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:27:29 +00:00
Scott Taylor
df149fddff
Don't use <code>
in translation strings in options-general.php
.
...
Props ramiy, SergeyBiryukov.
Fixes #31852 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34294 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:23:19 +00:00
Scott Taylor
d2b4e0c728
Don't use <code>
in translation strings in wp-admin/includes/schema.php
.
...
Props ramiy.
Fixes #31851 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34293 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:20:46 +00:00
Scott Taylor
f6d2c30fa7
Network Setup: don't use <code>
in translation strings in wp-admin/network
files.
...
Props ramiy.
Fixes #31840 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34292 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 18:17:26 +00:00
Aaron Jorbin
308179c232
Remove support for my-hacks.php
...
For the last 10 years, my-hacks has been deprecated and has been throwing a deprecation notice. For the last six years, you haven't been able to enable my-hacks.php in the admin UI. That should be enough time to give developers notice. Plugins and themes seem like they might have staying power.
Fixes #33741
Props bobbingwide
git-svn-id: https://develop.svn.wordpress.org/trunk@34291 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-18 17:05:28 +00:00