Commit Graph

28428 Commits

Author SHA1 Message Date
Ian Stewart
f16ab82cbc Twenty Fifteen: admin-custom-header.css was emptied in r30567 so let's remove it entirely.
Props kwight, fixes #30648.



git-svn-id: https://develop.svn.wordpress.org/trunk@30801 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-10 13:16:01 +00:00
Andrew Nacin
6933f4329c Trunk is now 4.2 alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@30800 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-10 08:40:32 +00:00
Drew Jaynes (DrewAPicture)
7e05cd199d Twenty Fifteen: Replace encoded HTML entities in the file header DocBlock for header.php with 'head element'.
Props iamtakashi.
Fixes #30649.


git-svn-id: https://develop.svn.wordpress.org/trunk@30798 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-10 03:01:18 +00:00
Dominik Schilling (ocean90)
debc4dab6f Dashicons: Update to the latest files.
New icons:
* .dashicons-controls-play (f522)
* .dashicons-controls-pause (f523)
* .dashicons-controls-forward (f519)
* .dashicons-controls-skipforward (f517)
* .dashicons-controls-back (f518)
* .dashicons-controls-skipback (f516)
* .dashicons-controls-repeat (f515)
* .dashicons-controls-volumeon (f521)
* .dashicons-controls-volumeoff (f520)
* .dashicons-phone (f525)
* .dashicons-building (f512)
* .dashicons-store (f513)
* .dashicons-album (f514)
* .dashicons-palmtree (f527)
* .dashicons-tickets-alt (f524)
* .dashicons-money (f526)

Updated icons:
* .dashicons-align-left (f135)
* .dashicons-align-right (f136)
* .dashicons-align-center (f134)
* .dashicons-align-none (f138)

props liljimmi, melchoyce, empireoflight.
fixes #29444.

git-svn-id: https://develop.svn.wordpress.org/trunk@30797 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-09 19:33:09 +00:00
John Blackbourn
d884bdb8ec In Twenty Fourteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.
See #30641


git-svn-id: https://develop.svn.wordpress.org/trunk@30796 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-09 18:56:41 +00:00
John Blackbourn
ea614c6841 In Twenty Thirteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.
See #30641


git-svn-id: https://develop.svn.wordpress.org/trunk@30795 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-09 18:55:40 +00:00
Dominik Schilling (ocean90)
23d0e8392e Remove a stray $ from [30793].
props ipm-frommen.
see #30553.

git-svn-id: https://develop.svn.wordpress.org/trunk@30794 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-09 11:26:27 +00:00
Dominik Schilling (ocean90)
4975d4255f Themes: Use Customizer deep-links inside the theme modal.
props DrewAPicture, ocean90.
see #25569, #25571.
fixes #30553.

git-svn-id: https://develop.svn.wordpress.org/trunk@30793 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 22:22:23 +00:00
Dominik Schilling (ocean90)
e91efcca38 Fix JSHint error introduced in [30780].
see #30608.

git-svn-id: https://develop.svn.wordpress.org/trunk@30792 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 22:06:22 +00:00
Sergey Biryukov
27fefdf04b Revert [28948], which caused a regression.
see #29573 for trunk. see #28350.

git-svn-id: https://develop.svn.wordpress.org/trunk@30791 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 21:13:56 +00:00
Ian Stewart
9e9134b91e Twenty Fifteen: moving to a single line for tranlator comments to prevent them being missed in i18n tools.
Props netweb, DrewAPicture, fixes #30603.



git-svn-id: https://develop.svn.wordpress.org/trunk@30790 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 18:24:13 +00:00
Ian Stewart
e5f09f28de Twenty Fifteen: layout correction for IE8 and IE7 after r30388 introduced a defect with the header there.
Props iamtakashi, fixes #30630.



git-svn-id: https://develop.svn.wordpress.org/trunk@30789 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 17:45:14 +00:00
Sergey Biryukov
99224928bf Move the logic from WP_Image_Editor::get_quality() to WP_Image_Editor::set_quality(), so that 'wp_editor_set_quality' and 'jpeg_quality' filters run when setting the default value.
props markoheijnen.
fixes #29856.

git-svn-id: https://develop.svn.wordpress.org/trunk@30788 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 16:18:42 +00:00
John Blackbourn
28f8566630 Improve the doing_it_wrong() text for title-tag theme support.
Props ocean90
Fixes #18548


git-svn-id: https://develop.svn.wordpress.org/trunk@30787 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 16:05:34 +00:00
Jeremy Felt
0ae462657d Clean up factory arguments in ms-sites group.
* Arguments for user, path, and title are only necessary when we need to do something with those arguments later. Most cases in the ms-sites group do not require them.
* In `test_get_blog_id_from_url_is_case_insensitive()`, we should pass a lowercase domain argument.
* A user factory in `test_switch_restore_blog()` is not necessary.

See #30080


git-svn-id: https://develop.svn.wordpress.org/trunk@30786 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 02:32:53 +00:00
Jeremy Felt
a4c7261823 Split current tests for update_blog_status()
The current tests for `update_blog_status()` mirrored the tests for `update_blog_details()` in many ways and can be split in the same way. A noticeable difference is that the the matching actions fire even when no change is made to a field.

See #30080


git-svn-id: https://develop.svn.wordpress.org/trunk@30785 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 02:14:21 +00:00
Jeremy Felt
7a8bceabaa Split current tests for update_blog_details()
The current tests for `upload_blog_details()` were focused on the actions fired whenever a site is marked as spam, archived, deleted, or matured. This breaks those into individual sections with fewer assertions per test.

See #30080


git-svn-id: https://develop.svn.wordpress.org/trunk@30784 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-08 01:43:31 +00:00
Scott Taylor
0b157bf069 Incorporate https://github.com/johndyer/mediaelement/pull/1385 into our custom build of MediaElement 2.16.2.
Props bradyvercher.
Fixes #30281.


git-svn-id: https://develop.svn.wordpress.org/trunk@30783 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 23:58:46 +00:00
Andrew Ozz
c8e8281a05 Plugins: move the recommender results to a separate tab. Any outstanding quality issues will be fixed on the API side without needing core changes. Props tellyworth, fixes #30337.
git-svn-id: https://develop.svn.wordpress.org/trunk@30782 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 23:39:54 +00:00
Andrew Ozz
51272ff656 Twenty Fifteen: add spaces after screen reader text strings to make them readable. Props nvwd, pavelevap, afercia. Fixes #30606.
git-svn-id: https://develop.svn.wordpress.org/trunk@30781 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 23:27:42 +00:00
Andrew Ozz
8719a8a8b0 Media: ensure the toolbar is shown after leaving iframe-based content. Props mcsf, fixes #30608.
git-svn-id: https://develop.svn.wordpress.org/trunk@30780 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 21:11:23 +00:00
Drew Jaynes (DrewAPicture)
3913b26b24 Fix formatting in the DocBlock for wp_get_sidebars_widgets().
See #30315.


git-svn-id: https://develop.svn.wordpress.org/trunk@30779 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 20:14:10 +00:00
Drew Jaynes (DrewAPicture)
02f8434c28 Flesh out and fix formatting in the DocBlock for wp_register_widget_control().
Includes:
* Added todos for documenting `$options` in the hash notation style
* Backtick-escaping and general formatting

See #30315.


git-svn-id: https://develop.svn.wordpress.org/trunk@30778 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 20:12:50 +00:00
Scott Taylor
a0c600a121 When using the spacebar to select something in "bulk select" mode, don't scroll the page.
Props avryl.
Fixes #30622.


git-svn-id: https://develop.svn.wordpress.org/trunk@30777 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 20:10:56 +00:00
Drew Jaynes (DrewAPicture)
292a65f737 Flesh out information in the DocBlock for wp_register_sidebar_widget().
Includes:
* Documenting the `$options` parameter in hash notation style
* Converting `@uses` tags to `@global`
* Various backtick-escaping.

See #30315.


git-svn-id: https://develop.svn.wordpress.org/trunk@30776 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 20:10:37 +00:00
Andrew Ozz
1a8c0b9254 TinyMCE: return focus to the editor after closing the image toolbar. Props afercia, see #27642.
git-svn-id: https://develop.svn.wordpress.org/trunk@30775 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 20:07:22 +00:00
Drew Jaynes (DrewAPicture)
3e0e0f453e Introduce documentation for three methods in WP_Widget_Factory: register(), unregister(), _register_widgets().
See #30315.


git-svn-id: https://develop.svn.wordpress.org/trunk@30774 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 20:07:05 +00:00
Drew Jaynes (DrewAPicture)
3c1a8e1407 Introduce documentation for the $id_base, $name, $widget_options, $control_options, $number, $id, and $updated properties in `WP_Widget'.
See #30315.


git-svn-id: https://develop.svn.wordpress.org/trunk@30773 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 20:04:43 +00:00
Drew Jaynes (DrewAPicture)
ac47dd2cd0 Tweak formatting in the DocBlock for the install_themes_tabs hook.
Props kpdesign.
See #28578.


git-svn-id: https://develop.svn.wordpress.org/trunk@30772 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 18:40:03 +00:00
Boone Gorges
98d17497d2 In WP_Query::get_queried_object(), use the new format for referencing tax query clauses.
`queried_terms`, rather than `queries`, is the tax_query property where a flat
index of terms is stored.

See [29901] for a similar fix in `redirect_canonical()`. See #29738.

Props dd32.
Fixes #30623.

git-svn-id: https://develop.svn.wordpress.org/trunk@30771 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 14:57:53 +00:00
Drew Jaynes (DrewAPicture)
2f25ec0773 Document the default arguments for the_widget() in the hash notation style.
Props coffee2code.
See #28298.


git-svn-id: https://develop.svn.wordpress.org/trunk@30770 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 11:03:51 +00:00
Drew Jaynes (DrewAPicture)
bf507bd3d0 Document the default arguments for register_sidebars() in the hash notation style.
Props coffee2code.
See #28298.


git-svn-id: https://develop.svn.wordpress.org/trunk@30769 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 11:00:57 +00:00
Drew Jaynes (DrewAPicture)
a82a0df5f9 Improve inline documentation for wpdb::has_cap().
Adds a changelog entry for the addition of the 'utf8mb4' feature, accepted values for `$db_cap`, and a return description.

Props kpdesign.
See #21212.


git-svn-id: https://develop.svn.wordpress.org/trunk@30768 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 05:22:42 +00:00
Drew Jaynes (DrewAPicture)
2b8a662873 Fix a typo in the DocBlock for WP_Http_Curl::$bytes_written_total introduced in [29968].
Props kpdesign.
See #26726.


git-svn-id: https://develop.svn.wordpress.org/trunk@30767 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-07 05:15:50 +00:00
Dion Hulse
8a5ea24f61 In the links_add_base() callback, use a HTTP-aware URL joining function, rather than a filesystem joining function to avoid PHP warnings on certain systems.
Fixes #29950


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