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
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
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
John Blackbourn
a4db31f9a4
Prevent scrolling beneath modals on mobile devices by removing overflow from #wpwrap
when a modal is open.
...
Fixes #29909
Props avryl
git-svn-id: https://develop.svn.wordpress.org/trunk@30707 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 08:08:25 +00:00
John Blackbourn
f6a51e7ff3
Don't fix the position of the admin toolbar submenus when the viewport is below 600px. This avoids them becoming detached from the admin toolbar when scrolling.
...
Fixes #29905
Props avryl
git-svn-id: https://develop.svn.wordpress.org/trunk@30706 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 06:48:24 +00:00
John Blackbourn
3f2827c5be
Admin help text changes for the General Settings screen, post editing screen, network settings screen, and user editing screen.
...
Fixes #30547
Props kpdesign
git-svn-id: https://develop.svn.wordpress.org/trunk@30705 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 05:14:38 +00:00
Drew Jaynes (DrewAPicture)
18f101b4bf
Using let's properly in inline comments lets us move on to more pressing matters of inline documentation.
...
Props trepmal.
Fixes #30570 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30703 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 04:42:17 +00:00
John Blackbourn
294b608879
Revert r30115 which was a breaking change for code which interacts with the return value of get_metadata()
when no meta key is specified.
...
See #15030
git-svn-id: https://develop.svn.wordpress.org/trunk@30701 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 03:34:13 +00:00
John Blackbourn
b510780a53
Correct the width of the background vignette in the plugin info modal.
...
Fixes #28229
git-svn-id: https://develop.svn.wordpress.org/trunk@30700 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 03:19:00 +00:00
Gary Pendergast
34f8e4d433
WPDB: When looking up the character set for a table or column, make sure we send the table name to MySQL in the correct case, as MySQL can be configured with case sensitive table names.
...
Fixes #30538 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30699 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 02:59:36 +00:00
Helen Hou-Sandi
5539cf7511
Don't over-target buttons in the publish meta box.
...
This selector caused breakage for any custom buttons added.
props ericlewis.
fixes #30035 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30698 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 02:34:32 +00:00
John Blackbourn
16ec77cd70
Prevent the deletion of a theme while it has an active child theme.
...
Fixes #29580
Props karpstrucking, jesin
git-svn-id: https://develop.svn.wordpress.org/trunk@30697 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 02:20:14 +00:00
John Blackbourn
0216b01a69
Ensure the theme and plugin update checks are always in sync with the current theme and plugin versions before fetching cached update data. This change only triggers a request to the update API when necessary.
...
Fixes #13071
Props bswatson
git-svn-id: https://develop.svn.wordpress.org/trunk@30696 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 01:51:10 +00:00
Drew Jaynes (DrewAPicture)
205a43ed05
Correctly capitalize JavaScript throughout core docs.
...
Fixes #30569 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30695 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 00:30:59 +00:00
Andrew Ozz
4eb3c5960f
TinyMCE: update the wpView toolbar to look the same as the new image toolbar.
...
Fixes #30561 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30694 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 00:25:15 +00:00
Andrew Ozz
eb2f29f1c3
Editor DFW v2: do not fade out on using keyboard shortcuts in TinyMCE (Alt+Shift+letter).
...
Fixes #30539 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30693 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 22:52:46 +00:00
Ian Stewart
4a3bceaea9
Twenty Fifteen: correct stylesheet dependencies.
...
Props ocean90, fixes #30532 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30692 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 19:40:12 +00:00
Drew Jaynes (DrewAPicture)
2f64100369
Improve inline documentation for four methods in WP_Widget
: get_field_id()
, display_callback()
, update_callback()
, and form_callback()
.
...
Props jazzs3quence for the initial patch.
See #30315 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30691 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 19:34:25 +00:00
Ian Stewart
e8ac9b21df
Twenty Fifteen: broader selection of avatars that should catch any plugins adding avatars that use the avatar class.
...
Props iamtakashi, fixes #30541 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30690 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 19:33:19 +00:00
Ian Stewart
4598e80675
Twenty Fifteen: correct list indentation inside blockquotes.
...
Props iamtakashi, fixes #30543 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30689 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 19:30:56 +00:00
John Blackbourn
fe4b0c7f14
Remove the sortable functionality from the selection editing toolbar at the bottom of the media manager.
...
Fixes #29934
See #24352
Props jessepollak
git-svn-id: https://develop.svn.wordpress.org/trunk@30686 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 04:17:53 +00:00
John Blackbourn
d8dd2e4a77
Clarify the text for the 'Edit Selection' link when multiple media items are selected in the media manager.
...
Props adamsilverstein
See #24325
git-svn-id: https://develop.svn.wordpress.org/trunk@30685 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 04:14:06 +00:00
John Blackbourn
cedecf8033
Allow brackets in a URL when it's sanitised for a redirect. Brackets are valid in query parameters.
...
Fixes #30308
Props voldemortensen
git-svn-id: https://develop.svn.wordpress.org/trunk@30684 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 03:20:13 +00:00
John Blackbourn
b57c4ae165
Allow square brackets in a URL when it's sanitised for a redirect. Square brackets are valid in query parameters and IPv6 addresses.
...
Fixes #17052
Props voldemortensen
git-svn-id: https://develop.svn.wordpress.org/trunk@30683 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 03:15:24 +00:00
Scott Taylor
095bfabfa9
Improve various @param
docs.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30682 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 02:16:36 +00:00
Scott Taylor
4d46475b3d
Improve various @param
docs for src/wp-includes/*
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30681 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 01:33:34 +00:00
Scott Taylor
8a4fa5662b
Improve various @param
docs for src/wp-admin/*
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30680 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 00:59:43 +00:00
Scott Taylor
c0045bda84
Improve various @param
docs for List Tables.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30679 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 00:32:19 +00:00
Scott Taylor
7a7bb0d6b4
Improve various @param
docs for src/wp-admin/includes/class-wp-filesystem-*.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30678 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 00:12:05 +00:00
Gary Pendergast
6eebbc5750
WPDB: Before fetching results, make sure we have a valid result resource to fetch them from.
...
Fixes #27982 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30677 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 00:02:55 +00:00
Scott Taylor
5817aa262d
Improve various @param
docs for src/wp-includes/class-wp-customize*.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30676 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 23:32:31 +00:00
Andrew Ozz
45f4403dd0
TinyMCE: update to 4.1.7, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt . Fixes #30560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30675 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 23:27:23 +00:00
Scott Taylor
0632a3de68
Improve various @param
docs.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30674 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 23:23:37 +00:00
Scott Taylor
ee388b9852
Improve various @param
docs.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30673 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:55:08 +00:00
Scott Taylor
6bb2a4ce36
Improve the @param
docs for src/includes/theme.php
and src/includes/update.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30672 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:43:27 +00:00
Scott Taylor
4de850c8ff
Improve the @param
docs for src/wp-includes/post*.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30671 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:37:00 +00:00
Andrew Ozz
3c558b7436
TinyMCE: update translatable strings, see #30560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30670 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:26:56 +00:00
Scott Taylor
43885a303e
Improve the @param
docs for src/includes/rewrite.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30669 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:24:49 +00:00
Scott Taylor
3008fe1060
Improve the @param
docs for src/wp-admin/includes/plugin.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30668 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:22:33 +00:00
Scott Taylor
4bf6ad11fb
Improve the @param
docs for src/wp-includes/pluggable*
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30667 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:18:33 +00:00
Scott Taylor
c7ce0a4d55
Improve the @param
docs for src/wp-includes/user.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30666 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:10:12 +00:00
Scott Taylor
9e6096c89a
Improve the @param
docs for src/wp-includes/widgets.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30665 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:04:23 +00:00
Scott Taylor
35358b0e26
Improve the @param
docs for src/wp-includes/wp-db.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30664 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 21:54:08 +00:00
Scott Taylor
2bf092065a
Add missing @param
s to src/wp-includes/pomo
files.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30663 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 21:40:53 +00:00
Scott Taylor
1da6be4868
Improve the @param
docs for trackback_response()
and validate_another_blog_signup()
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30662 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 21:22:07 +00:00
Scott Taylor
9c95e2bb81
Use sanitize_mime_type()
instead of urlencode()
when string-building <option>
values in ->get_views()
for media list tables.
...
`urlencode()` was introduced in [28553] via _duck and yours truly.
Got weirder after [29625].
Props birgire.
Fixes #30123 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30661 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 20:22:23 +00:00
Scott Taylor
35708f61f8
Use round()
instead of floor()
when resizing image dimensions.
...
Updates unit tests.
Props SergeyBiryukov, kitchin.
Fixes #18532 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30660 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 19:53:18 +00:00
Scott Taylor
dad44082a7
The menu items for users.php
and profile.php
that require the promote_users
cap should be wrapped in an is_multisite()
conditional a la user-new.php
.
...
Props SergeyBiryukov.
Fixes #30526 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30659 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 19:17:44 +00:00
Dominik Schilling (ocean90)
2f3fed5a52
Make notices added in [30459] less ugly.
...
see #25569 , #25571 , [30505].
git-svn-id: https://develop.svn.wordpress.org/trunk@30657 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 12:20:04 +00:00
Drew Jaynes (DrewAPicture)
e587324180
Docs Formatting: Backtick-escape inline code for all remaining dynamic hook docs in wp-includes/*.
...
Affects DocBlocks for the following hooks:
* `auth_post_meta_{$meta_key}`
* `term_links-$taxonomy`
* `customize_render_control_ . $this->id`
* `customize_render_panel_{$this->id}`
* `customize_render_section_{$this->id}`
* `customize_preview_{$this->id}`
* `customize_save_ . $this->id_data[ 'base' ]`
* `customize_update_ . $this->type`
* `customize_value_ . $this->id_data[ 'base' ]`
* `customize_sanitize_js_{$this->id}`
* `comment_form_field_{$name}`
* `comment_{$old_status}_to_{$new_status}`
* `comment_{$new_status}_{$comment->comment_type}`
* `extra_{$context}_headers`
* `get_template_part_{$slug}`
* `get_the_generator_{$type}`
* `get_{$adjacent}_post_join`
* `get_{$adjacent}_post_where`
* `get_{$adjacent}_post_sort`
* `{$adjacent}_post_rel_link`
* `{$adjacent}_post_link`
* `{$adjacent}_image_link`
* `blog_option_{$option}`
* `$permastructname . _rewrite_rules`
* `{$type}_template`
* `theme_mod_{$name}`
* `pre_set_theme_mod_$name`
* `current_theme_supports-{$feature}`
* `get_user_option_{$option}`
* `edit_user_{$field}`
* `pre_user_{$field}`
* `user_{$field}`
See #30552 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30656 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 12:09:56 +00:00
Drew Jaynes (DrewAPicture)
e8bc58459e
Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/meta.php.
...
Affects DocBlocks for the following hooks:
* `add_{$meta_type}_metadata`
* `add_{$meta_type}_meta`
* `added_{$meta_type}_meta`
* `update_{$meta_type}_metadata`
* `update_{$meta_type}_meta`
* `updated_{$meta_type}_meta`
* `delete_{$meta_type}_metadata`
* `delete_{$meta_type}_meta`
* `deleted_{$meta_type}_meta`
* `get_{$meta_type}_metadata`
* `delete_{$meta_type}meta`
* `deleted_{$meta_type}meta`
* `sanitize_{$meta_type}_meta_{$meta_key}`
See #30552 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30655 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 12:02:44 +00:00
Drew Jaynes (DrewAPicture)
2546b46f62
Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/taxonomy.php.
...
Affects DocBlocks for the following hooks:
* `get_$taxonomy`
* `edit_term_{$field}`
* `edit_{$taxonomy}_{$field}`
* `pre_term_{$field}`
* `pre_{$taxonomy}_{$field}`
* `term_{$field}_rss`
* `{$taxonomy}_{$field}_rss`
* `term_{$field}`
* `{$taxonomy}_{$field}`
* `delete_$taxonomy`
* `create_$taxonomy`
* `edit_$taxonomy`
* `edited_$taxonomy`
See #30552 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30654 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 11:59:26 +00:00