Andrew Ozz
08021593f3
TinyMCE, improve accessibility:
...
- Return focus to the editor on pressing Escape while the image toolbar is focused.
- Add a Close button to the Help modal and close it on Escape.
- Override the title on the editor iframe (read by screen reader apps), replace with the Alt+Shift+H shortcut.
- Add focus shortcuts descriptions to the Help modal.
Fixes #27642 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30757 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 23:52:25 +00:00
Drew Jaynes (DrewAPicture)
716984e94d
Add a blank line preceding a Markdown-formatted ordered list in the DocBlock for the admin_body_class
filter.
...
Props kpdesign.
See #30558 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30756 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 23:20:12 +00:00
Drew Jaynes (DrewAPicture)
fffbee4ac7
Fix a typo in the return description for get_sample_permalink()
.
...
Props TobiasBg.
Fixes #30591 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30755 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 21:45:12 +00:00
John Blackbourn
7082b703b2
Improve various hook and filter docs so they are correctly parsed for the code reference.
...
Fixes #30558
Props DrewAPicture
git-svn-id: https://develop.svn.wordpress.org/trunk@30754 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 21:31:41 +00:00
Drew Jaynes (DrewAPicture)
7187da0b32
Convert various uses of (optional)
in core parameter descriptions to use the style prescribed in the inline documentation standards for PHP.
...
The style for marking parameters optional in inline PHP docs is: `@param type $var Optional. Description. Accepts. Default.`, where Accepts can be omitted on a case-by-case basis.
Props coffee2code.
Fixes #30591 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30753 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 21:23:52 +00:00
Mark Jaquith
71bb091cc3
Revert [28719] and no longer math-process multiplication of negative numbers
...
see #19308
fixes #30445
props rmccue
git-svn-id: https://develop.svn.wordpress.org/trunk@30752 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 21:23:12 +00:00
Boone Gorges
5d259386be
Remove <code>
tags from translatable string in WP_Date_Query
.
...
This was missed in [30300]. See #25834 .
Props ramiy.
Fixes #30612 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30751 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 02:37:49 +00:00
Boone Gorges
5b6c00274d
Use wp_checkdate()
when checking date validity in WP_Date_Query
.
...
See #25834 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30750 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 02:28:41 +00:00
Andrew Ozz
578a50acca
Editor DFW v2: fade out the Screen Options/Help tabs when open. Props avryl, fixes #30593 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30749 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 00:49:21 +00:00
Andrew Ozz
6f43327574
TinyMCE: manually fire ExecCommand
when aligning images as we do preventDefault()
on BeforeExecCommand
for them. Props avryl, fixes #30565 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30748 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 00:32:18 +00:00
Andrew Ozz
a3367bcee3
Themes screen: fix the position of the search field. Props jesin, fixes #29556 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30747 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-06 00:12:25 +00:00
Andrew Ozz
501206feef
Twenty Twelve: menu on touch devices: fix jQuery selector for menu items with submenus. props babbardel, fixes #24767 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30746 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-05 22:58:12 +00:00
Drew Jaynes (DrewAPicture)
4315ce7f9d
Document the default arguments for register_sidebar()
in the hash notation style.
...
Props coffee2code.
See #28298 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30745 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-05 03:37:48 +00:00
Drew Jaynes (DrewAPicture)
46bbcf649a
Add missing documentation for the xmlrpc_element_limit
hook in wp-includes/class-IXR.php.
...
Props ankitgadertcampcom, kpdesign.
Fixes #29977 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30744 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-05 03:27:02 +00:00
Andrew Ozz
492b8db722
Editor: fix initial state for editor-expand when TinyMCE is disabled or not supported. Props avryl, fixes #30592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30743 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-05 01:52:46 +00:00
Andrew Nacin
96dee2af62
Adjust [29806] and revert [29807] to restore placeholder and email copy order.
...
Avoids unnecessarily changing a (large, carefully formatted) translated string from 4.0.
fixes #21089 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30742 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-05 01:14:03 +00:00
Ian Stewart
04029d8ce2
Twenty Fifteen: updating customizer label text for more clarity.
...
Props iamtakashi, fixes #30545 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30741 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-04 22:56:31 +00:00
Helen Hou-Sandi
10d40a7801
Filter bar: Better field display on smaller screens.
...
props TacoVerdo, jesin.
fixes #29556 and #29495 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30740 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-04 22:22:26 +00:00
John Blackbourn
99c61f2201
Correct the default value of the show_split_view
argument for revisions so they are correctly displayed side by side ins
...
tead of inline.
Fixes #24908
git-svn-id: https://develop.svn.wordpress.org/trunk@30739 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-04 14:35:02 +00:00
Scott Taylor
23a0766a6d
Add some inline JS docs for Customizer.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30738 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-04 02:03:30 +00:00
Scott Taylor
29bcbb62e1
Show title, album, and artist info for audio files displayed in WP_Customize_Upload_Control()
.
...
See #21483 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30737 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-04 01:58:56 +00:00
Scott Taylor
2ec473b538
Monkey-patch MediaElement to restore H264 support to Chromium.
...
Documented here:
https://core.trac.wordpress.org/ticket/30281#comment:9
See #30281 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30736 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-04 00:58:13 +00:00
Scott Taylor
e37fb988b1
Give up on making uninterrupted hierarchies work in get_page_children()
for now, reverts [30159], [30246], [30636].
...
Props boonebgorges.
See #14477 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30735 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-04 00:23:47 +00:00
Andrew Ozz
86c494d1b5
Update better description of the Screen Options checkbox for DFW v2 and editor-expand. Props johnbillion, kpdesign, fixes #30557 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30734 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 21:59:53 +00:00
Andrew Ozz
b15ba3b995
TinyMCE: remove <address>
from the block formats drop-down. Props avryl, mor10. Fixes #30132 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30733 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 20:30:09 +00:00
Ian Stewart
ddb7c8e942
Twenty Fifteen: updating one point oh version number in .pot.
...
Props ocean90, see #30502 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30732 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 18:31:15 +00:00
Ian Stewart
69feb647e5
Twenty Fifteen: updating everything to one point oh.
...
See #30502 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30731 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 18:23:20 +00:00
Andrew Ozz
836b980715
Editor show the DFW v2 pointer for users that have disabled the visual editor. Fixes #30458 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30730 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 18:17:37 +00:00
Ian Stewart
864334547b
Twenty Fifteen: It's about time we call it one point oh.
...
Closes #30502 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30729 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 18:07:35 +00:00
Ian Stewart
ace042cfe5
Twenty Fifteen: removing unused styles.
...
Props iamtakashi, fixes #30578 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30728 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 18:02:05 +00:00
Sergey Biryukov
8329b6f2a6
Fix a typo in [30546].
...
see #30473 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30727 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 13:55:01 +00:00
Drew Jaynes (DrewAPicture)
480f817a7e
Only backtick-escape individual HTML entities in the DocBlock for wp_kses_normalize_entities()
.
...
Props TobiasBg.
Fixes #30473 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30726 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 11:46:30 +00:00
Drew Jaynes (DrewAPicture)
d167ce0070
Improve formatting of inline documentation for get_pages()
.
...
Adds missing default values, corrects several argument types, backtick-escapes argument names used in descriptions.
See #28298 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30725 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 10:30:55 +00:00
Drew Jaynes (DrewAPicture)
c12cce581e
Use the correct hash notation syntax for the wp_insert_term()
DocBlock.
...
See #28298 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30724 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 10:16:04 +00:00
Drew Jaynes (DrewAPicture)
0fee97e110
Use the correct hash notation syntax for the get_pages()
DocBlock.
...
See #28298 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30723 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 10:15:08 +00:00
Drew Jaynes (DrewAPicture)
e3957f278e
Use the correct hash notation syntax for the WP_Filesystem_Base::dirlist()
DocBlock.
...
See #28298 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30722 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 10:10:07 +00:00
Drew Jaynes (DrewAPicture)
a5ad473d00
Remove some now-unnecessary double quotes around HTML entities used in DocBlock comments.
...
See #30473 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30721 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 08:48:34 +00:00
Drew Jaynes (DrewAPicture)
bf8544d9fa
Backtick-escape three sets of HTML entities used in DocBlock descriptions in wp-includes/kses.php.
...
Without the escaping, the Code Reference/browser may inadvertently attempt to convert and display entities.
Fixes #30473 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30720 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 08:46:31 +00:00
Jeremy Felt
6213bb9689
Split tests for get_blog_id_from_url()
...
Breaks the many assertions for `get_blog_id_from_url()` into individual tests.
See #30080
git-svn-id: https://develop.svn.wordpress.org/trunk@30719 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-03 05:51:33 +00:00
Andrew Ozz
9adaec183e
Update the description of the Screen Options checkbox for turning editor-expand on/off to include DFW v2. Props kpdesign, fixes #30557 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30718 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 23:22:52 +00:00
Andrew Ozz
f8a478af9d
Update the DFW v2 pointer text. Props kpdesign, DrewAPicture, johnbillion. Fixes #30458 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30717 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 23:10:52 +00:00
Dominik Schilling (ocean90)
abe2a7ae21
Customizer: Move private helper functions to wp.customize.utils
so they can be unit tested.
...
Includes unit tests.
props ryankienstra, westonruter.
see #28709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30716 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 22:55:48 +00:00
Jeremy Felt
a23c468ac8
Split and improve multisite tests for upload quota
...
Break a single test with many assertions into many tests with single assertions.
In the process, provide separate and comprehensive tests for `upload_is_user_over_quota()`, `is_upload_space_available()`, and `get_space_allowed()`.
Also removes a check for `BLOGSUPLOADDIR`, a constant that never existed. New tests will need to be introduced to handle the ms-files group.
See #30080
git-svn-id: https://develop.svn.wordpress.org/trunk@30715 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 22:55:30 +00:00
Dominik Schilling (ocean90)
104b31ae54
Customizer: Add panel/section type as CSS class to the HTML container.
...
see #28709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30714 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 22:15:33 +00:00
Dominik Schilling (ocean90)
c0b15e6b6d
Toolbar: Make Customize support classes work on narrow viewports too.
...
fixes #30571 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30713 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 22:00:48 +00:00
Dominik Schilling (ocean90)
5158511ceb
Customizer: Enhance Background Image/Upload controls.
...
* Adopt the Header Image layout to the Background Image/Upload control.
* Remove templates for interactive audio/video previews. They haven't worked yet.
* Don't show a "Remove" button when the default value is set.
* Avoid calculating of container/placeholder heights which are unrelated to custom headers.
see #21483 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30712 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 21:54:42 +00:00
Andrew Ozz
36dd60705f
Editor: hide the DFW v2 button when editor-expand is off. Fixes #30568 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30711 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 20:39:13 +00:00
Andrew Ozz
9dba6cd0a7
Editor, DFW v2: use a 2D transform to force repaint of the admin toolbar, only on #wp-toolbar
. Fixes calculating the position of the right sidebar on fade-in and removes any performance and stacking implications.
...
Props joemcgill, see #30516 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30710 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 20:24:07 +00:00
Ian Stewart
f026b91515
Twenty Fifteen: removing unused styles inherited from Twenty Fourteen.
...
Props iamtakashi, fixes #30572 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30709 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 16:04:11 +00:00
John Blackbourn
def41c61ee
Apply a no-op CSS transformation to the admin toolbar (among other elements) in order to trigger hardware acceleration when focus/DFW deactivates. This helps prevent rendering issues seen in browsers on Retina devices.
...
See #30516
Props joemcgill
git-svn-id: https://develop.svn.wordpress.org/trunk@30708 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 14:17:59 +00:00