Commit Graph

28443 Commits

Author SHA1 Message Date
Dion Hulse
1a43dda77b WP_HTTP: Revert r30491 which updated the bundled root certificates. There's a report that this is breaking under certain PHP/OpenSSL versions (which we've encountered before), and we're safer with a slighty out of date CA bundle than breaking HTTPS communication on affected sites.
See #30434


git-svn-id: https://develop.svn.wordpress.org/trunk@30765 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 03:12:14 +00:00
Andrew Ozz
549006887b Admin toolbar: remove unneeded overrides of z-index and left on screens narrower than 782px. Props avryl, babbardel. Fixes #29867.
git-svn-id: https://develop.svn.wordpress.org/trunk@30764 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 03:00:35 +00:00
Andrew Ozz
958fa3180d Twenty Fifteen: clean up of twentyfifteen_color_scheme_css_template() in customizer.php. Props iamtakashi. Fixes #30601.
git-svn-id: https://develop.svn.wordpress.org/trunk@30763 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 02:39:22 +00:00
Andrew Ozz
fce20e9784 Better docs for Plugin_Upgrader::deactivate_plugin_before_upgrade(). Props DrewAPicture. Fixes #29088.
git-svn-id: https://develop.svn.wordpress.org/trunk@30762 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 01:18:21 +00:00
Andrew Ozz
d948f0bf32 Always return a value in Plugin_Upgrader::deactivate_plugin_before_upgrade(). Props jdgrimes. Fixes #29088.
git-svn-id: https://develop.svn.wordpress.org/trunk@30761 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 00:52:06 +00:00
Andrew Ozz
af5c93a432 Customizer - Widgets: add feedback for screen readers when moving up or down. Props adamsilverstein, afercia. Fixes #28892.
git-svn-id: https://develop.svn.wordpress.org/trunk@30760 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 00:44:49 +00:00
Drew Jaynes (DrewAPicture)
ae45b7462b Restore missing line in DocBlock for WP_Tax_Query::get_sql_for_clause().
Props kpdesign.
See [30622], #30469.


git-svn-id: https://develop.svn.wordpress.org/trunk@30759 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 00:38:48 +00:00
Drew Jaynes (DrewAPicture)
3cdbc730d3 Add missing DocBlocks and parameter descriptions for a wide variety of properties and methods in WP_Upgrader, Plugin_Upgrader, Theme_Upgrader, Language_Pack_Upgrader, Core_Upgrader, and File_upload_Upgrader.
Props jdgrimes, DrewAPicture.

See #29086.


git-svn-id: https://develop.svn.wordpress.org/trunk@30758 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 00:25:44 +00:00
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