nacin
5404d9933f
Gallery Views: Avoid JS errors when image attachments lack metadata.
...
props gcorne.
fixes #27691 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28008 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:24:02 +00:00
Drew Jaynes (DrewAPicture)
c765ed8832
Inline documentation fixes related to the determine_current_user
filter
...
See #26706 , #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28007 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:17:44 +00:00
Drew Jaynes (DrewAPicture)
372e6c5c94
Inline documentation improvements in wp-includes/ms-load.php for 3.9 functionality.
...
Clarifies some mixed type parameters, spacing and comment style, and language fixes.
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28006 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:58:11 +00:00
Dominik Schilling (ocean90)
6b007e8345
Widget Customizer: Update icons to new Dashicons.
...
props melchoyce.
see #27400 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28005 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:49:40 +00:00
Drew Jaynes (DrewAPicture)
9131bc6cbf
General PHPDoc improvements in wp-includes/media.php for 3.9 functionality.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28004 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:37:17 +00:00
Drew Jaynes (DrewAPicture)
3011b3efef
Space vs tab in function descriptions for wp_underscore_audio_template()
and wp_underscore_video_template()
.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28003 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:28:05 +00:00
Andrew Nacin
f9e150c068
wpdb: Don't pass a second argument to mysqli_fetch_field().
...
props pento.
fixes #27693 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28002 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:21:16 +00:00
DrewAPicture
9415376529
Improve PHPDoc formatting for get_the_permalink()
.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28001 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:21:02 +00:00
Drew Jaynes (DrewAPicture)
c48069343d
Use suggested language conventions in the hook docs description for the theme_page_templates
filter.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28000 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:17:55 +00:00
Andrew Nacin
e724e1b06f
Don't try to resolve symlinks for single-file plugins. plugins_url() should not be used in this context anyway.
...
props rmccue.
fixes #16953 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27999 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:14:34 +00:00
Drew Jaynes (DrewAPicture)
4d4921a9ac
Use the correct parameter variables in the hook docs for wp_upgrade
.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27998 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:13:00 +00:00
Drew Jaynes (DrewAPicture)
3b7d881f3c
Align parameters in the hook docs for the attachment_thumbnail_args
filter.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27997 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:10:01 +00:00
Drew Jaynes (DrewAPicture)
95294a170e
Add missing parameter descriptions to the PHPDocs for WP_Upgrader_Skin::decrement_update_count()
and Bulk_Upgrader_Skin::decrement_update_count()
.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27996 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:01:35 +00:00
Dominik Schilling (ocean90)
6e3b6066e5
Widget Customizer: Cleanup wp.customize.Widgets.SidebarControl
.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27995 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 19:59:49 +00:00
Andrew Nacin
06152cbe6f
Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
...
props kovshenin.
see [27964], see #27452 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27990 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 17:58:37 +00:00
Dominik Schilling (ocean90)
51d6831f14
Update Dashicons.
...
New icons: `.dashicons-external`, `.dashicons-editor-contract` and `.dashicons-universal-access-alt`.
Updated icons: `.dashicons-code`, `.dashicons-universal-access`, `.dashicons-arrow-x-alt` and `.dashicons-arrow-x-alt2`.
Restores also `.dashicons-post-trash` as an alias for `.dashicons-trash`, which is the new one.
props melchoyce, empireoflight.
see #26936 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27989 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 17:51:44 +00:00
Dominik Schilling (ocean90)
ce4961c9f7
Widget Customizer: Cleanup wp.customize.Widgets.WidgetControl
.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27988 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 16:31:52 +00:00
Scott Taylor
4322e0c50a
Browsers other than Firefox need a timeout when parsing audio and video shortcodes into MCE views.
...
See [27655].
git-svn-id: https://develop.svn.wordpress.org/trunk@27987 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 15:11:04 +00:00
Dominik Schilling (ocean90)
18d485fb32
Widget Customizer: Make the available widgets panel a Backbone view.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27986 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 14:09:53 +00:00
Dominik Schilling (ocean90)
da677f34aa
Widget Customizer: Move WidgetCustomizer
to wp.customize.Widgets
. First pass.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27985 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 09:03:18 +00:00
Dominik Schilling (ocean90)
b0ba84a25c
Remove trailing whitespace from [27982].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27984 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 09:02:06 +00:00
Andrew Ozz
8b3f6ef9fa
TinyMCE: couple more small css tweaks for the menubar and tabs in native modals, see #27279
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27983 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 07:10:14 +00:00
Andrew Ozz
658b5a5e15
Add a note that wpView is "experimental", see #26959
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27982 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 06:58:58 +00:00
Andrew Ozz
9c3da74353
Heartbeat: no longer "experimental", see #25272
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27981 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 06:32:52 +00:00
Scott Taylor
f48e74e789
Only set the poster
attribute automatically for videos when the image does not match the default mime-type icon. wp_prepare_attachment_for_js()
is used in multiple contexts. This context requires disambiguation.
...
See [27659].
git-svn-id: https://develop.svn.wordpress.org/trunk@27980 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 06:19:51 +00:00
Scott Taylor
d11d19a2b7
[27640] supported a caption for audio and video shortcodes as part of a UX iteration for the related MCE views. These captions have since be excluded, so the extra code should be removed (it was there for this sole reason).
...
See #27320 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27979 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 06:12:06 +00:00
Andrew Ozz
53ce07bf36
TinyMCE:
...
- Tighten up button styles, add :hover for .mce-active buttons.
- Pad only the first toolbar row and remove the padding in both toolbars if the editor doesn't have a DFW mode.
Part props avryl, see #27279
git-svn-id: https://develop.svn.wordpress.org/trunk@27978 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 01:09:38 +00:00
Andrew Nacin
3fbe1ba7b7
Apply checks in [27964] to wp_write_post(), which is unused and due for dismantling and deprecation.
...
see #27452 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27975 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 22:07:02 +00:00
Scott Taylor
5d3e7be690
When dynamically instantiating MediaElementPlayer
instances in JS, preload="metadata"
is extremely wonky. preload="none"
lets the file play right away.
...
This has already been addressed for audio|video shortcodes, but also needs to be the case for playlists. When loading a playlist from a DOM cache or via AJAX, and when the sources match those already pre-loaded, the browser will sometimes donkey-punch the HTTP request for the first cached track selected.
Set `preload="none"` for the empty `<audio|video>` tag for playlists.
See commits related to #26779 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27974 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 21:33:00 +00:00
Dominik Schilling (ocean90)
e4d4e0020b
Widget Customizer: Remove leading/trailing whitespace to prevent jQuery migrate warning.
...
props gcorne.
fixes #27689 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27973 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 20:39:33 +00:00
Dominik Schilling (ocean90)
020e3ef811
Update TinyMCE help for pasting content.
...
props chiragswadia.
see #27100 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27972 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:45:07 +00:00
Dominik Schilling (ocean90)
0e8bd0b455
Header images: Revert unnecessary tabindex="0"
from [27947].
...
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27971 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:35:24 +00:00
Dominik Schilling (ocean90)
2f0a34dbb8
Header images: Improve accessibility of Randomize buttons.
...
props ehg.
see #27598 , #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27970 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:27:40 +00:00
Dominik Schilling (ocean90)
ab8f7f7afd
Widgets: Trigger jQuery events for widget updates.
...
* `widget-added` when a widget is added to a sidebar
* `widget-updated` when a widget is updated
A jQuery object of the widget is passed along to the event handler. Same events are used in the Widget Customizer, see [27909].
fixes #19675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27969 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:05:03 +00:00
Dominik Schilling (ocean90)
8708a44d4a
Widget Customizer: Minor code cleanup.
...
* Remove type hinting from `WP_Customize_Widgets`
* Rename `inject_preview_css` to `print_preview_css`
* Remove stray `@todo`
fixes #27534 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27968 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 18:53:31 +00:00
Dominik Schilling (ocean90)
bccc4ea750
Fix whitespace around $GLOBALS['_wp_deprecated_widgets_callbacks']
.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27967 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 18:49:48 +00:00
Dominik Schilling (ocean90)
a2c020e068
WP_Widget: Introduce is_preview()
method.
...
With the Widget Customizer it's possible that previewed widgets can leak data outside of Customizer, when the widget uses the cache API.
The Customizer calls the regular update callback which should already refresh the cache. Since cache additions aren't blocked yet the cache can be filled with preview data.
To prevent this issue `WP_Widget::is_preview()` will return true, when `$wp_customize->is_preview()` returns true. If `is_preview()` is true, cache additions are suspended via `wp_suspend_cache_addition()`. Make sure your object cache drop-in has implemented `wp_suspend_cache_addition()`.
`is_preview()` can/should also be used inside `WP_Widget::widget()`, see WP_Widget_Recent_Posts or WP_Widget_Recent_Comments for examples.
For more info see IRC logs: http://irclogs.wordpress.org/chanlog.php?channel=wordpress-dev&day=2014-04-02&sort=asc#m824279
props westonruter.
fixes #27538 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27966 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 18:47:46 +00:00
Drew Jaynes (DrewAPicture)
789305948e
Inline documentation for remaining hooks in wp-admin/includes/upgrade.php.
...
Props jackreichert, vancoder.
Fixes #27646 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27965 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 22:29:41 +00:00
Andrew Nacin
14d96748c7
Better checks for contributors when saving posts.
...
props dd32, kovshenin, plocha.
see #27452 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27964 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 21:18:44 +00:00
Andrew Nacin
12f66b9859
Theme Installer: Separate API from an event handler to avoid issues where a false return value stops the event.
...
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27963 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:45:37 +00:00
Andrew Nacin
e40de50197
Theme Installer: Don't encode description entities/HTML.
...
props johnbillion.
fixes #27641 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27962 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:29:44 +00:00
Andrew Nacin
ba9e3d2bc3
Theme Installer: Use JSONP for api.wordpress.org requests.
...
fixes #27639 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27961 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:27:56 +00:00
Scott Taylor
1ff1343a82
Revert the changes made to data.title
in playlist Underscore templates in [27869]. {{ data.title }}
causes the title to be double-encoded on the front end.
...
See #27574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27960 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:05:04 +00:00
Andrew Nacin
5863d7874d
Theme Installer: Better responsive styles for feature filters.
...
props matveb.
fixes #27661 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27959 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:03:41 +00:00
Andrew Nacin
c4d09e4736
Theme Installer: Fix displaying of errors.
...
props SergeyBiryukov.
fixes #27640 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27958 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 19:25:20 +00:00
Andrew Nacin
631b55ac0b
Don't pass variables by reference.
...
props markjaquith.
fixes #27656 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27957 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 18:16:45 +00:00
Andrew Nacin
84c4332b3e
RTL: Fix taxonomy quick edit list alignment.
...
props SergeyBiryukov.
fixes #27629 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27956 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 18:13:11 +00:00
Dominik Schilling (ocean90)
8c28ef2b7c
Fix typo in hook description for async_upload_{$type}
.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27955 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 14:11:38 +00:00
Dominik Schilling (ocean90)
fc34a6e63e
Customizer: Add height: auto;
for select[multiple]
.
...
fixes #27662 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27954 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 13:11:39 +00:00
Sergey Biryukov
4a197c45a2
Avoid an undefined index notice in wp_http_validate_url().
...
props jesin.
fixes #27684 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27953 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 12:44:19 +00:00
Drew Jaynes (DrewAPicture)
6c7aabda19
Fix a typo in the PHPDoc description for the WP_Http_Curl->max_body_length
property.
...
Props eightface.
Fixes #27681 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27952 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 05:47:54 +00:00
Andrew Ozz
30cdc10180
When autosaving a new post for the first time after a title was typed, cancel the autosave if the user is submitting the form. (Includes a precommit fix for customize-controls.css.) Props Nessworthy, davidmarichal, fixes #27657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27951 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 01:28:35 +00:00
Andrew Ozz
36f0a60829
Throw a user notice when the editor ID used for TinyMCE contains brackets, props nacin, fixes #27601
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27950 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 01:10:19 +00:00
Andrew Ozz
548772fcc1
TinyMCE: update the default style for html5-captions, props obenland fixes #26642
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27949 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 23:11:21 +00:00
Andrew Ozz
63bf25ec1f
Edit image modal: check if full size exists before trying to use it for setting aspect ratio, props gcorne, see #27366
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27948 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 18:00:04 +00:00
Andrew Nacin
6ec7a5a52b
Header images: Accessibility and style improvements. Headers no longer jump around when chosen.
...
props mcsf, ehg.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27947 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 15:48:34 +00:00
Andrew Nacin
96e15acb2e
Header images: Handle cropping failures.
...
props ehg.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27946 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 15:47:43 +00:00
Andrew Nacin
996a502103
Add missing space between strings.
...
props rachelbaker.
fixes #27597 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27945 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 13:16:15 +00:00
Andrew Ozz
48269a7c29
TinyMCE: add image backgrounds for more and nextpage tags (also jshint fix for theme.js). Fixes #27106
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27944 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 05:22:47 +00:00
Drew Jaynes (DrewAPicture)
e9f0de0951
Remove a blank line and @global reference in the PHPDoc for comment_author_email_link()
.
...
Props norcross, ocean90.
Fixes #27655 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27943 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 04:35:20 +00:00
Andrew Ozz
ee33326f32
Edit image modal:
...
- Make the calculation of the aspect ratio more robust.
- Better getting of the image height and width.
Props gcorne, see #27366
git-svn-id: https://develop.svn.wordpress.org/trunk@27942 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 01:48:24 +00:00
Andrew Ozz
ec18e88dee
TinyMCE: better calculation for editor height when switching Text to Visual and back. Add stopping of editor resizing when the mouse leaves the browser window. See #27279
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27941 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 01:30:11 +00:00
Andrew Nacin
e8ad1fbf6c
Theme Installer: Center spinner, remove plural string.
...
fixes #27581 . see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27940 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 00:45:13 +00:00
Sergey Biryukov
96563b4143
Clarify tooltips on Edit Image screen.
...
props siobhan.
fixes #27651 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27939 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 00:02:22 +00:00
Sergey Biryukov
a97e9018c4
Fix typo in verify_file_md5() description. see [25541].
...
props siobhan.
see #27651 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27938 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 00:02:12 +00:00
Andrew Nacin
b29ccb5656
Theme Installer: Fix sorting, counts, keyboard navigation; add prev/next to previews.
...
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27937 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 23:52:45 +00:00
Andrew Nacin
e73e290712
Themes: Hide 'Add New' with no JS. see #27055 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27936 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 23:05:01 +00:00
Andrew Nacin
ccb4f3714a
Database: Fall back from ext/mysqli to ext/mysql if the connection fails.
...
This allows us to avoid breaking a site that works under ext/mysql but is misconfigured for ext/mysqli.
props pento.
see #21663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27935 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 21:57:22 +00:00
Andrew Ozz
641f9f9a93
TinyMCE: improve setting disabled/enabled/activated states on the Unlink button, fixes #27309
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27934 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 20:04:44 +00:00
Dominik Schilling (ocean90)
de2c9e23cf
Plupload wrapper: Call init callback on PostInit event.
...
Fixes the background image uploader in Customizer, which was broken after [27316].
fixes #27620 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27933 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 19:43:53 +00:00
Dominik Schilling (ocean90)
d817c574a3
Fix styling for plugin update details Thickbox.
...
see #26952 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27932 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 14:07:42 +00:00
Sergey Biryukov
ed139644be
Use multiplication sign instead of a colon for selection size when editing an image.
...
props siobhan.
fixes #27652 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27931 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 09:45:44 +00:00
Dion Hulse
ce76432676
Background Updates: Fix a PHP Warning caused by a Upgrader instance being passed into the Theme & Plugin $extra_stats parameter. See #27633
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27928 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 05:32:02 +00:00
Andrew Ozz
f57853519f
TinyMCE: update translatable strings, see #27453 , #24067
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27927 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 05:15:59 +00:00
Lance Willett
8dcec58f2a
Twenty Thirteen and Fourteen: style to support the new HTML5 line-break-less galleries. Props obenland, see #27637 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27926 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 04:46:23 +00:00
Andrew Nacin
0faaacc7c8
Database: Add $allow_bail argument to wpdb::check_connection() to match the connect method.
...
props DrProtocols, pento.
fixes #27240 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27925 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 04:05:31 +00:00
Andrew Ozz
74ec183ee7
TinyMCE:
...
- Bring back loading of /langs/[locale].js and /langs/[locale]_dlg.js from PHP. Prevents errors with missing translation files when custom plugins use requireLangPack() without second argument.
- Back to using ISO 639-1 (two letter) locales as the locale is used as part of the translation file name.
See #24067 , fixes #27610
git-svn-id: https://develop.svn.wordpress.org/trunk@27922 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 03:39:21 +00:00
Andrew Ozz
26391af850
Edit Image modal:
...
- Fix issue with adding a link to an image that didn't have one previously.
- Adjust the look-and-feel of the advance options toggle so that it becomes a section heading that can be open/closed.
- Add a Custom Size option to the size drop-down that reveals fields for soft-resizing the image inserted into the post.
Props gcorne, and props sdasse for the design help, see #27366
git-svn-id: https://develop.svn.wordpress.org/trunk@27918 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 03:20:40 +00:00
Andrew Nacin
66f20812b9
Remove old links_recently_updated_* DB options that never had a UI.
...
fixes #27649 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27916 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 03:09:59 +00:00
Andrew Nacin
87bc851561
Remove <br> elements for HTML5 galleries.
...
props obenland.
fixes #27637 , see #26697 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27914 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 21:49:38 +00:00
Dominik Schilling (ocean90)
63a83c88f8
Widget Customizer: Restore deferral of previewer-loading
class removal until preview is synced.
...
props westonruter.
fixes #27635 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27913 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 19:24:18 +00:00
Dominik Schilling (ocean90)
41c2ce306a
Widget Customizer: Don't use opacity for the update spinner.
...
`opacity` isn't supported in IE8 and makes the spinner always visible.
see #27485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27912 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 19:19:53 +00:00
Dominik Schilling (ocean90)
c65af080fd
Update suggest.min.js for [26333].
...
see #26110 , #27599 .
fixes #27621 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27911 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 19:04:56 +00:00
Dominik Schilling (ocean90)
b0fae8aa2a
Widget Customizer: Remove leading underscores from public methods.
...
Fix also an incorrect hook name in `stop_capturing_option_updates()`.
props DrewAPicture.
see #27534 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27910 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 18:30:06 +00:00
Dominik Schilling (ocean90)
9f3976baf2
Widget Customizer: Improve support for dynamically-created inputs.
...
* Re-work how and when widget forms get updated.
* Replace ad hoc hooks system with jQuery events,
* Add `widget-updated`/`widget-synced` events for widget soft/hard updates.
* Enter into a non-live form update mode, where the Apply button is restored when a sanitized form does not have the same fields as currently in the form, and so the fields cannot be easily updated to their sanitized values without doing a complete form replacement. Also restores live update mode if sanitized fields are aligned with the existing fields again.
Note: jQuery events are *not* final yet, see #19675 .
props westonruter.
see #27491 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27909 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 18:20:00 +00:00
Scott Taylor
f17d9491b1
Fix a regression caused by [27622] in prepend_attachment()
by passing all attachments that are not audio or video to the else
clause.
...
Fixes #27634 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27908 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 17:13:09 +00:00
Dominik Schilling (ocean90)
b5780fa7b8
Widget Customizer: Improve plugin compatibility.
...
Some plugins are using custom scripts and styles for there widgets. These are available on the Widgets screens, but not in the Customizer yet.
Scripts and styles can be enqueued via:
* `admin_enqueue_scripts`
* `admin_print_scripts` and `admin_print_scripts-widgets.php`
* `admin_print_styles` and `admin_print_styles-widgets.php`
* `admin_print_footer_scripts` and `admin_footer-widgets.php`
All this hooks are now called in the Customizer too.
Previously we have add the `#widgets-right` ID to a container div via jQuery. Remember: `#widgets-right` exists on the Widgets screen and is used by many plugins to do event delegation from that element.
But since our script files are loaded in the footer, the JavaScript way is a bit late for some plugins.
We have decided to add a `div#widgets-right` container element to customizer. "Less hacky hack."
props westonruter, ocean90. Thanks dpe415 for testing.
fixes #27619 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27907 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 17:03:14 +00:00
Dion Hulse
c86d9021c5
Background Updates: Fix two variable typos in r27905
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27906 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 13:12:28 +00:00
Dion Hulse
48025fabd5
Background Updates: Record Plugin & Theme update statistics like we for for Core updates, Pass Plugin/Theme update objects into the Background updater for consistency with Core & Translations. See #27633
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27905 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 13:04:30 +00:00
Drew Jaynes (DrewAPicture)
adf5fb1fe1
Coding standards and readability spacing for WP_Customize_Widgets.
...
Also explicitly re-mark `_capture_filter_pre_update_option()` and `_capture_filter_pre_get_option()` as public.
See #27534 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27904 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 06:11:49 +00:00
Drew Jaynes (DrewAPicture)
0db976f610
Second-pass inline documentation improvements for WP_Customize_Widgets.
...
See #27534 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27903 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 05:44:54 +00:00
Drew Jaynes (DrewAPicture)
d615eb4ee2
Improve some inline documentation for class properties in WP_Customize_Section
.
...
Props leewillis77 for the initial patch.
Fixes #26245 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27902 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 03:01:31 +00:00
Andrew Ozz
7b272d3a26
Drag and drop files on the editor to upload: add new argument to wp_editor() to enable, fixes #27465
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27901 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 02:41:24 +00:00
Andrew Ozz
c28fff3b65
wpLink: fix spinners selectors and add some throttling when searching with AJAX while the user is typing, fixes #27615
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27900 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 02:26:12 +00:00
Andrew Ozz
c5f7f95979
Gallery preview: add a "No items found" state which is displayed when rendering the gallery wpview and no attachments are found. Props gcorne, fixes #27558
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27899 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 02:17:39 +00:00
Andrew Ozz
d4f99c2142
Edit Image modal:
...
- Move all advanced options under a single “Show advanced options” toggle that mirrors the behavior and look-and-feel of the wplink modal.
- Switch to using <select> for the Size and Link To.
- Bring back the field for CSS Class for the image, but don’t incorporate the internally managed WordPress classes (size-, wp-image-, etc…).
- On larger screen sizes, float labels to the left. When the width drops below 900px, stack the label above the fields.
- Keep image at top on screen sizes where the two columns are stacked into a single column.
- Don't replace the nodes in the editor DOM so we don't stomp on any custom attributes that the user may have added via the Text editor or some other mechanism.
Props gcorne, see #27366
git-svn-id: https://develop.svn.wordpress.org/trunk@27898 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 01:53:56 +00:00
Andrew Ozz
5977c4332e
TinyMCE: update to 4.0.21, see #24067
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27897 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 22:46:00 +00:00
Andrew Nacin
5b4287b991
Theme Installer fixes:
...
* Better more filters section. props sonjanyc for some mockups.
* Better handling of no results.
* Use # for hrefs.
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27896 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 22:19:51 +00:00
Scott Taylor
b1122743c8
Call MediaElement's shim method for setSrc()
when dynamically updating the playing source in playlists, which will properly set the source for mobile.
...
Make the labels for playlist items slightly smaller to account for size on mobile.
Fixes #27625 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27895 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 19:03:24 +00:00
Scott Taylor
13a0532006
Make <audio>
elements in playlists responsive.
...
See #27625 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27894 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 18:46:18 +00:00
Dominik Schilling (ocean90)
3046451bf7
Cleanup [27892].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27893 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 15:29:34 +00:00
Dominik Schilling (ocean90)
11f6751d51
Widget Customizer: Use postMessage to highlight widgets in preview or sections/controls in Customizer.
...
fixes #27622 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27892 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 15:25:56 +00:00
Dominik Schilling (ocean90)
bb7c7e06c0
Widget Customizer: Remove WidgetCustomizer.showFirstSidebarIfRequested().
...
It's currently unused and needs another iteration.
see #27290 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27891 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 12:37:43 +00:00
Dominik Schilling (ocean90)
ab5b649243
Revert [27654] for strings.
...
props westonruter.
fixes #27485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27890 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 11:07:59 +00:00
Drew Jaynes (DrewAPicture)
33acf29a46
Clarify PHPDoc return description for media_handle_upload()
.
...
Props jdgrimes.
Fixes #27519 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27880 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 22:32:47 +00:00
Drew Jaynes (DrewAPicture)
1bd14badd5
Clarify inline documentation for the 'html5' case and PHPDoc return in add_theme_support()
.
...
Props jond3r.
Fixes #27278 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27879 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 22:20:01 +00:00
Andrew Nacin
239ac6e830
Forward pingback IP during pingback verification.
...
props tellyworth, nacin.
fixes #27613 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27872 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 20:42:41 +00:00
Scott Taylor
9771a5aa78
Re-instantiate the MediaElementPlayer
instance when switching mime types in playlists.
...
Fixes #27608 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27871 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 15:34:23 +00:00
Drew Jaynes (DrewAPicture)
cfaf65d392
Inline documentation for hooks in wp-includes/widgets.php.
...
Props eliorivero and Nessworthy for the initial patches. Props kpdesign.
Fixes #27129 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27870 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 07:29:29 +00:00
Scott Taylor
d8d26a4f79
Cleanup up the display, escaping, and handling of ID3 data for media. Rename wp_get_relevant_id3_keys()
to wp_get_attachment_id3_keys()
.
...
Props nacin.
See #27574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27869 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 05:15:39 +00:00
Scott Taylor
882df9f94a
Favor escaping over interpolation in Underscore templates for media. Translate some strings directly instead of passing via JS.
...
Props nacin.
See #27574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27868 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 05:12:29 +00:00
Scott Taylor
bce67739ff
Bump the MediaElement version in script-loader.php
to 2.14.1
.
...
See [27861].
git-svn-id: https://develop.svn.wordpress.org/trunk@27867 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 22:19:30 +00:00
Andrew Nacin
70beef6c31
Use correct formatting function. see [27864], see #27574 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27866 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 22:11:58 +00:00
Scott Taylor
35306513dc
Using percentages for playlist font-sizing was ambitious, but fell prey to editor-style.css
in the admin. We have switched to using pixels. The editor styles were also forcing MediaElement players to inherit font-family
, which was undesirable. And while we're at it, remove the top and bottom border from the playlist's list of tracks, which adds a dash of lovely to the playlist's default styles.
...
Props nacin for the addition of `—` in the playlist track list.
Fixes #27600 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27865 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 22:11:46 +00:00
Andrew Nacin
877ffc087f
Cleanups for audio/video metadata, see [27862].
...
see #27574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27864 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 21:07:04 +00:00
Scott Taylor
2846655164
In wp_generate_attachment_metadata()
, when an audio or video files contains upload-able image bits in its ID3 tags, only upload it if the image has not already been uploaded. Determine this by checking for a _cover_hash
value in post meta that matches the md5
representation of the bits.
...
This prevents uploading an album of 10 songs and subsequently uploading 10 copies of the same album cover.
Props GregLone for the new filter/filter docs: `'attachment_thumbnail_args'`.
Fixes #27573 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27863 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 20:53:21 +00:00
Scott Taylor
149f36ed35
Metadata for audio and video files:
...
* Make attachment metadata for audio files editable by providing a metabox on the Edit Media page
* Standardize on using the attachment title everywhere
* Label the Caption and Description fields for audio and video appropriately
* Make the playlist Underscore templates more straightforward
See #27574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27862 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 19:27:31 +00:00
Scott Taylor
a9d54abfed
MEjs has been fixed upstream: 1a75559c9d
...
No more infinite loop.
This restores MediaElement to a clean build: `2.14.0`.
Fixes #27582 .
Thanks to jeremyfelt for tracking this down.
git-svn-id: https://develop.svn.wordpress.org/trunk@27861 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 17:50:08 +00:00
Dominik Schilling (ocean90)
c0373b288c
Widget Customizer: Add a label to widget search.
...
props SergeyBiryukov.
fixes #27590 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27860 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 15:46:28 +00:00
Andrew Nacin
2e5586ee19
Only show test cookie warnings on submit as caching/proxies may intercept the test cookie for GET requests.
...
Introduce a new string for when headers are sent and link them to http://codex.wordpress.org/Cookies (new page).
props SergeyBiryukov.
fixes #27373 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27859 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 00:40:43 +00:00
Andrew Ozz
02a46f5368
Add class wp-core-ui
to DFW and wpLink as it is required by buttons.css. Props avryl, see #27279
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27858 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 00:36:12 +00:00
Andrew Ozz
d6e6560980
Editor:
...
- Use standard button styles for the Quicktags buttons.
- Better style for the TinyMCE buttons (hover/focus/active/disabled).
- Move the fullscreen (DFW) button to the right.
- Better style for the Visual/Text buttons in DFW.
Props avryl, see #27279
git-svn-id: https://develop.svn.wordpress.org/trunk@27857 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 23:57:13 +00:00
Dominik Schilling (ocean90)
d9a2370aab
Customizer: Style "Cheatin’ uh?" message like wp_die().
...
props jackreichert.
fixes #27490
git-svn-id: https://develop.svn.wordpress.org/trunk@27856 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 23:18:54 +00:00
Dominik Schilling (ocean90)
64f5807b32
Adjust colors in wp_die() and install.css.
...
Missed in [26788] and [26837], see #25858 .
fixes #27589 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27855 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 23:05:12 +00:00
Dominik Schilling (ocean90)
9fb6f9557b
Widget Customizer: Remove strings from WP_Error returns and go with just IDs.
...
fixes #27419 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27854 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 21:43:39 +00:00
Scott Taylor
238459a604
Revert mediaelement-and-player.min.js
to a usable build that doesn't cause an infinite loop. Still 2.14.0
, minus the offending pull request: a7f67b7180
...
Reported upstream. `2.14.0` is necessary for playing `m4a` files properly. `2.14.0` with the offending pull request is unusable in Chrome.
See #27582 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27853 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 21:35:58 +00:00
Helen Hou-Sandi
edee5feaab
Restore some CSS rules that are necessary for non-default schemes. see #18380 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27852 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 17:47:08 +00:00
Andrew Nacin
b29fe2764c
Post beta3 version bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27851 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 11:39:25 +00:00
Andrew Nacin
39972a8887
3.9-beta3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27850 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 11:14:49 +00:00
Andrew Nacin
5f98beb862
Custom Headers: Simplify and consolidate the querying of custom headers for the customizer.
...
props mcsf.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27849 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 10:52:17 +00:00
Andrew Nacin
3b11bb9e36
Theme Installer: Avoid race condition during pagination.
...
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27845 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 09:08:16 +00:00
Andrew Nacin
33f728034d
Add braces to wptexturize() after [27839]. see #22692 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27844 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 08:59:38 +00:00
Andrew Nacin
aff33c3bca
Theme Installer: Remove unused variables and undesired commas.
...
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27843 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 08:52:30 +00:00
Andrew Nacin
1c3f9e542b
Restyle the image editor so it looks way less hideous.
...
props avryl.
see #27544 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27842 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 08:50:57 +00:00
Andrew Nacin
73677963e3
Media Manager: Hide 'Create Playlist' menu items until the user has uploaded audio or video.
...
props gcorne.
fixes #27554 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27841 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 08:01:13 +00:00
Andrew Nacin
548a7d2b26
Fix drag-and-drop upload in distraction-free writing.
...
props kovshenin.
fixes #27438 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27840 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 07:53:47 +00:00
Andrew Nacin
f0bd2b8a91
Texturize: Massive performance improvements (~600% faster); better handling of nbsp, double, and weird spaces; 136 new unit tests.
...
big props miqrogroove.
fixes #22692 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27839 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 07:15:33 +00:00
Andrew Nacin
18c8198487
Add a value to the password checkbox when creating a new user so the toggle is remembered.
...
props chriseverson, SergeyBiryukov.
fixes #27006 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27838 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 06:22:46 +00:00
Andrew Nacin
05ea231402
Avoid infinite recursion in get_term_children() when a term is incorrectly a parent of itself.
...
props kovshenin.
fixes #27123 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27837 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 06:07:17 +00:00
Andrew Nacin
0ad35e169b
Revert the conversion of adjacent post queries to WP_Query. Explanation on the ticket.
...
Reverts [27285], [27286], [27287], [27288], [27291], [27292], [27293], [27296], [27633], [27634], [27635], and [27692].
see #26937 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27836 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 06:02:01 +00:00
Andrew Nacin
9b0101e59d
Rewrite: Use same delimiter in url_to_postid() we use in WP::parse_request().
...
props stevenkword.
fixes #23587 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27835 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 05:17:57 +00:00
Andrew Nacin
84cf72160d
Use correct column name. See [27152].
...
props barry.
fixes #25545 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27834 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 03:38:39 +00:00
Andrew Nacin
d167615ebf
Restore the original z-index of the sticky admin menu, as first set in [26442].
...
The inline comment is now correct again. This z-index was changed in [26701], but those circumstances no longer apply after [27532].
props mordauk.
see #26442 , #26952 .
fixes #26567 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27833 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 03:29:43 +00:00
Helen Hou-Sandi
5a41c8a06c
Correct cascade issues and remove some unused CSS for the admin menu. see #18380 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27832 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 02:46:04 +00:00
Andrew Ozz
02d1d894be
Fix styling for mce-path (at the bottom of the editor), see #26952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27831 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 00:18:35 +00:00
Andrew Nacin
363c2b4810
Theme Installer: Caching and paginating of API requests.
...
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27830 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:48:52 +00:00
Scott Taylor
d658762063
Updated 2.14.0
build from the project maintainer.
...
See #27570 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27829 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:43:58 +00:00
Drew Jaynes (DrewAPicture)
2fc82bee56
Inline documentation for hooks in wp-includes/class-wp-editor.php.
...
Props kpdesign for some cleanup.
Fixes #27523 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27828 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:32:39 +00:00
Drew Jaynes (DrewAPicture)
d5100269c8
Inline documentation for hooks in wp-includes/taxonomy.php.
...
Props kpdesign for some minor language tweaks.
Fixes #27505 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27827 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:28:23 +00:00
Drew Jaynes (DrewAPicture)
eb7173d906
Inline documentation for hooks in wp-includes/class.wp-styles.php.
...
Props lkwdwrd.
Fixes #27445 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27826 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:23:44 +00:00