Commit Graph

24333 Commits

Author SHA1 Message Date
Andrew Ozz
e5304e8470 Improve the admin color scheme picker:
- Easier to extend.
- Remove the "drop-down" look, show all choices inline.
- Some PHP and JS cleanup.
Props ryelle, fixes #26336.

git-svn-id: https://develop.svn.wordpress.org/trunk@26506 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 19:49:55 +00:00
Andrew Ozz
3f7cbafb94 Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244.
git-svn-id: https://develop.svn.wordpress.org/trunk@26505 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 18:28:12 +00:00
Dominik Schilling (ocean90)
c52896dbae Themes: Fix HTML markup for screenshots. props kovshenin. fixes #25959.
git-svn-id: https://develop.svn.wordpress.org/trunk@26504 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 17:59:32 +00:00
Drew Jaynes
720930f356 Inline documentation for hooks in wp-admin/includes/user.php.
Props aaronholbrook for the initial patch.
Fixes #26099.


git-svn-id: https://develop.svn.wordpress.org/trunk@26503 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 17:53:18 +00:00
Drew Jaynes
91289d89f2 Inline documentation for hooks in wp-includes/ms-blogs.php.
Props miyauchi, kpdesign.
Fixes #25596.


git-svn-id: https://develop.svn.wordpress.org/trunk@26502 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 17:31:49 +00:00
Drew Jaynes
f7850268df Inline documentation for hooks in wp-includes/theme.php.
Props ShinichiN.
Fixes #25588.


git-svn-id: https://develop.svn.wordpress.org/trunk@26501 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 17:23:05 +00:00
Sergey Biryukov
042370471c Fix strict notices in Tests_POMO_PO.
props markoheijnen for initial patch.
fixes #25631.

git-svn-id: https://develop.svn.wordpress.org/trunk@26500 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 12:47:35 +00:00
Sergey Biryukov
108e1d4e12 Fetch only the required fields in confirm_delete_users().
props rodrigosprimo.
fixes #25178.

git-svn-id: https://develop.svn.wordpress.org/trunk@26499 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 11:57:31 +00:00
Dion Hulse
056c99305b Themes: In the detailed view, disable the next/previous buttons when there are no more items. Fixes #26314
git-svn-id: https://develop.svn.wordpress.org/trunk@26498 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 05:58:42 +00:00
Dion Hulse
d87ef69f00 Add the proper padding-top for button's active states in small screens. Fixes #26346
git-svn-id: https://develop.svn.wordpress.org/trunk@26497 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 05:41:21 +00:00
Dion Hulse
e8520f1b7c Themes: For small screen sizes, still allow access to the Customize button (Don't hide the theme actions). See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26496 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 05:15:19 +00:00
Dion Hulse
3b850b43f9 Prefix the new Theme classes. Fixes #25966
git-svn-id: https://develop.svn.wordpress.org/trunk@26495 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 05:11:44 +00:00
Dion Hulse
4bb1a4ed85 Rotate the Collapse arrows correctly for RTL, switch the Theme next/previous arrows in RTL. Fixes #26340
git-svn-id: https://develop.svn.wordpress.org/trunk@26494 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 04:55:38 +00:00
Drew Jaynes
ab9d51d632 Inline documentation for hooks in wp-admin/user-new.php & wp-admin/user-edit.php.
Also fixes one parameter type in wp-includes/user.php.

Fixes #25726.


git-svn-id: https://develop.svn.wordpress.org/trunk@26493 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 01:34:15 +00:00
Sergey Biryukov
a129345361 Correct @since values. see #25522.
git-svn-id: https://develop.svn.wordpress.org/trunk@26492 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 01:24:41 +00:00
Drew Jaynes
91e00c8ce5 Inline documentation for hooks in wp-includes/comment.php.
comment.php, a.k.a. "lots 'o hooks".

Props swissspidy for the initial patch. Props danieldudzic, kpdesign, and DrewAPicture.
Fixes #25522.


git-svn-id: https://develop.svn.wordpress.org/trunk@26491 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 01:11:26 +00:00
Sergey Biryukov
d050f5d3ff Use assertEqualSets() instead of direct array comparison.
fixes #26345

git-svn-id: https://develop.svn.wordpress.org/trunk@26490 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 00:42:39 +00:00
Sergey Biryukov
ce8d689ceb Make sure the version extracted from readme.html does not include a newline.
fixes #26344.

git-svn-id: https://develop.svn.wordpress.org/trunk@26489 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 00:26:07 +00:00
Sergey Biryukov
a754d62f49 Update unit tests for convert_smilies(). see #25529.
git-svn-id: https://develop.svn.wordpress.org/trunk@26488 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 00:14:45 +00:00
Sergey Biryukov
489808c35d Escape smiley URL in translate_smiley().
props simonwheatley.
fixes #25529.

git-svn-id: https://develop.svn.wordpress.org/trunk@26487 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-30 22:38:46 +00:00
Sergey Biryukov
161b855638 Correct @since values. see #25518.
git-svn-id: https://develop.svn.wordpress.org/trunk@26486 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-30 19:04:57 +00:00
Drew Jaynes
e47ac4bfd7 Inline documentation for hooks in wp-includes/formatting.php.
Props simonwheatley for the initial patch. Props DrewAPicture, kpdesign.
Fixes #25518.


git-svn-id: https://develop.svn.wordpress.org/trunk@26485 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-30 18:35:37 +00:00
Dominik Schilling (ocean90)
5ec5f0d9e2 Themes: Merge theme.css into wp-admin.css. fixes #25966.
git-svn-id: https://develop.svn.wordpress.org/trunk@26484 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-30 17:31:02 +00:00
Dominik Schilling (ocean90)
a55555f22c Themes: Prepare wp-admin.css for a merge with theme.css.
* Remove styles for `#current-theme` and `.theme-options`. Markup removed in [26141].
* Move "Tabbed Admin Screen Interface" section out of "Themes" section. See [26466].

see #25966.

git-svn-id: https://develop.svn.wordpress.org/trunk@26483 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-30 16:35:12 +00:00
Dominik Schilling (ocean90)
ea815443b6 Themes: Prepare theme.css for a merge with wp-admin.css.
* Let the code breathe.
* Add necessary vendor prefixes.
* Remove .current-label:before since it was hidden.

see #25966.

git-svn-id: https://develop.svn.wordpress.org/trunk@26482 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-30 15:35:07 +00:00
Dominik Schilling (ocean90)
510aa812ca Themes: Add type="search" to search. fixes #26331.
git-svn-id: https://develop.svn.wordpress.org/trunk@26481 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 22:19:08 +00:00
Dominik Schilling (ocean90)
2d74676237 Themes: Search the description too.
props dd32.
fixes #26309.

git-svn-id: https://develop.svn.wordpress.org/trunk@26480 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 22:17:28 +00:00
Sergey Biryukov
efc2c12458 Restore @ticket reference. see #18897.
git-svn-id: https://develop.svn.wordpress.org/trunk@26479 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 21:23:49 +00:00
Dominik Schilling (ocean90)
4aa9587a56 Network Admin: Remove a superfluous description field and merge two similar strings.
props Hanni, SergeyBiryukov.
fixes #26260.

git-svn-id: https://develop.svn.wordpress.org/trunk@26478 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 21:00:35 +00:00
Dominik Schilling (ocean90)
4014c3edc1 Mobile: Add some bottom spacing to checkboxes on Nav Menu screen.
props mattheu.
fixes #26325.

git-svn-id: https://develop.svn.wordpress.org/trunk@26477 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 19:15:38 +00:00
Dominik Schilling (ocean90)
f6d8114bc2 Fix selector for category checklists to apply styles to custom taxonomies too.
props mattheu.
fixes #26324.

git-svn-id: https://develop.svn.wordpress.org/trunk@26476 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 19:04:44 +00:00
Dominik Schilling (ocean90)
1cdb0ac2fa Admin CSS: Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@26475 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 19:02:44 +00:00
Andrew Ozz
28da4145a6 Widgets: highlight all drop zones (open and closed sidebars) on starting to drag a widget to indicate "droppability", fixes #26168.
git-svn-id: https://develop.svn.wordpress.org/trunk@26474 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 17:57:05 +00:00
Dominik Schilling (ocean90)
81557ba37c Themes: Add missing close tag, see [26462]. see #25959.
git-svn-id: https://develop.svn.wordpress.org/trunk@26473 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 17:16:46 +00:00
Dion Hulse
5b22bc3a50 Themes: Restore a label accidentally removed in r26470. Props SergeyBiryukov. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26472 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 12:03:30 +00:00
Dion Hulse
7a65a51166 Remove RTL and MP6 references from colors-fresh.css as they're now irrelevant to the file.
git-svn-id: https://develop.svn.wordpress.org/trunk@26471 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 11:23:40 +00:00
Dion Hulse
66fb039ffe Themes: Do extra Cap checks before outputting links, and use full URI's. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26470 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 09:00:23 +00:00
Dion Hulse
13ba79ef36 Themes: When the user doesn't have switch_themes capabilities, and we've passed the current theme, detect the theme slug/stylesheet correctly so that the flags are set properly. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26469 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 08:37:17 +00:00
Dion Hulse
59ecd28d2e Themes: Add a clearing <br/> to the end of .theme-browser.
This is needed to cause the browser to render .theme-browser's height as it's true height, previously the reported height was 1*.theme which caused the Theme scroller to kick in immediately (as the threshold was less than 0).
See #25981 See #25948


git-svn-id: https://develop.svn.wordpress.org/trunk@26468 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 05:17:00 +00:00
Dion Hulse
cfdfd0908b Themes: Use _.throttle() instead of a custom one. Props matveb. Fixes #25981
git-svn-id: https://develop.svn.wordpress.org/trunk@26467 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 05:13:25 +00:00
Dion Hulse
766427b133 Themes: Remove the Tabs from the header of the Add New Theme page. Fixes #26310
git-svn-id: https://develop.svn.wordpress.org/trunk@26466 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:40:20 +00:00
Dion Hulse
d9bd17c40f Themes: Remove a now defunct CSS class, .feature-container, which is no longer in use after r26141. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26465 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:34:16 +00:00
Dion Hulse
3358f56dc3 Themes: Update the responsive layouts for the Search box after r26461. See #26305
git-svn-id: https://develop.svn.wordpress.org/trunk@26464 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:28:16 +00:00
Dion Hulse
dfde90a312 Themes: Remove some unused CSS (we have neither a .theme-categories or .theme-linear-grid). See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26463 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:21:46 +00:00
Dion Hulse
e937af37af Themes: Add a default image for when a theme doesn't have a screenshot. Props matveb. See #25959
git-svn-id: https://develop.svn.wordpress.org/trunk@26462 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:03:30 +00:00
Dion Hulse
503b0e73c4 Themes: Display Activated/Deleted messages below the H2, before the Themes. See #26305
git-svn-id: https://develop.svn.wordpress.org/trunk@26461 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 02:39:15 +00:00
Dion Hulse
cda0502917 Themes: Remove a mp6 reference which is no longer needed. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26460 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 02:02:23 +00:00
Dion Hulse
23f2fbc433 Themes: Remove an unused Delete Theme link on the multiple view. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26459 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 01:54:25 +00:00
Dion Hulse
d6703f1776 Themes: Style the Theme Author the same in the multi and singular view, make the links readable. Fixes #26306
git-svn-id: https://develop.svn.wordpress.org/trunk@26458 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 01:52:07 +00:00
Helen Hou-Sandi
62479c7420 Pass the post type to the post_type_archive_title filter for better context. Adds lovely docs. props DrewAPicture. fixes #25605.
git-svn-id: https://develop.svn.wordpress.org/trunk@26457 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 05:23:50 +00:00