Commit Graph

24345 Commits

Author SHA1 Message Date
Andrew Ozz b33d0da84c Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
git-svn-id: https://develop.svn.wordpress.org/trunk@26518 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:52:23 +00:00
Dion Hulse 0ef7e951d6 Themes: Add a updated Help text. Props designsimply & hanni. See #26285
git-svn-id: https://develop.svn.wordpress.org/trunk@26517 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:22:03 +00:00
Andrew Ozz eb2767a578 Make the responsive menu usable with a mouse, fix non-folded and :focus styles, toggle the submenus on touchend/click. Fixes #26086.
git-svn-id: https://develop.svn.wordpress.org/trunk@26516 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:18:40 +00:00
Dion Hulse 8eedbe32ac Themes: For searches, replace the document hash, don't add a new history event for each keypress. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26515 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 01:50:24 +00:00
Dion Hulse c6e661e84d Themes: We no longer have a delete link on the multi-grid view. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26514 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:54:27 +00:00
Dion Hulse e3d4717077 Themes: Fix the routing for Themes in a sub-directory (/wp-content/themes/prefix/theme-name/style.css) and navigate to hash-url's for searches. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26513 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:47:49 +00:00
Scott Taylor 50edc63cc9 When `WP_DEBUG` is set to `true`, suppress deprecated errors from firing when calling `mysql_connect()`, which is officially deprecated in PHP 5.5. We will remove this shameful code as soon as is humanly possible.
Props wonderboymusic. Extra love to tierra and nacin.
Fixes #26322.



git-svn-id: https://develop.svn.wordpress.org/trunk@26512 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:08:57 +00:00
Scott Taylor 8a10f4a942 Change comments in unit test to reflect patched scenario in #26339.
git-svn-id: https://develop.svn.wordpress.org/trunk@26511 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:03:39 +00:00
Scott Taylor b595282dff Fix lingering reference problem in `wp_get_object_terms()` by not setting the `foreach`'d vars to a reference. Adds unit test.
Props stephenharris.
Fixes #26339.



git-svn-id: https://develop.svn.wordpress.org/trunk@26510 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 23:59:13 +00:00
Dion Hulse 71bc2a38fa Add braces around a conditional hook. This wasn't causing an issue as `if ( conditional ) /* multiline comment */ command();` is perfectly OK, but left open doubt and potential future bugs. See #25229
git-svn-id: https://develop.svn.wordpress.org/trunk@26509 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 23:12:38 +00:00
Sergey Biryukov 1d4807f7c5 Fix Customize link in theme info window. props kovshenin. see #25948.
git-svn-id: https://develop.svn.wordpress.org/trunk@26508 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 21:08:15 +00:00
Dominik Schilling (ocean90) cfaf5be6d8 Themes: Fix position of admin notice with .error class. fixes #26304.
git-svn-id: https://develop.svn.wordpress.org/trunk@26507 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 20:22:06 +00:00
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