Commit Graph

24709 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90) f2ca7ece13 Reset responsive styles for the checkbox in auth check window.
props iammattthomas.
fixes #26360.

git-svn-id: https://develop.svn.wordpress.org/trunk@26532 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:00:21 +00:00
Andrew Nacin 0c0a90bfc1 For the current theme, display all available actions, as dictated by the admin menu.
Restores 3.7 behavior. This could include things like Header and Background as well as theme options pages.

see #25948.


git-svn-id: https://develop.svn.wordpress.org/trunk@26531 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:57:32 +00:00
Andrew Ozz 26788bd3ec Heartbeat: update wp-auth-check to use the new "connectNow()" method after a successful login, see #25073.
git-svn-id: https://develop.svn.wordpress.org/trunk@26530 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:46:28 +00:00
Andrew Nacin 616eb91d95 Themes: Always include the current theme in the list, even if it is not allowed.
see #25948.


git-svn-id: https://develop.svn.wordpress.org/trunk@26529 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:45:28 +00:00
Matt Thomas 568ba838b7 Updating .wp-dialog styling to match the new admin design. Fixes #26328, props SergeyBiryukov, Ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26528 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 17:58:45 +00:00
Matt Thomas 9fbdcfefbb Adding a SVG > PNG fallback for IE8 support. See #26348.
git-svn-id: https://develop.svn.wordpress.org/trunk@26527 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 17:29:48 +00:00
Scott Taylor 356bf5d9c2 Add a `wp-video` class to the `div` that wraps video shortcode output. It was previously hard to target.
Props nofearinc.
Fixes #25896.



git-svn-id: https://develop.svn.wordpress.org/trunk@26526 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 16:31:57 +00:00
Andrew Nacin fdcf1f4c12 Revert [26012] for now, which had fixed using `paged` with `offset` in WP_Query but introduced side effects for those working around it.
see #18897.


git-svn-id: https://develop.svn.wordpress.org/trunk@26525 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 16:25:54 +00:00
Dion Hulse dd5f228729 Themes: Update notifiations shouldn't be a <a> if they're not links, data.update already contains <p> tags. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26524 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 08:37:58 +00:00
Dion Hulse 4a62bbe5d8 Themes: Standardise on dot notation for object access in the Templates. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26523 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:33:57 +00:00
Dion Hulse ca6e76914f Themes: Remove some HTML from a new string and put it in the replacement value instead. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26522 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:19:40 +00:00
Dion Hulse 63a4a1b10c Themes: Bail if the search term matches the currently rendered themes, Fixes the events being clobbered. Props jblz. Fixes #26347
git-svn-id: https://develop.svn.wordpress.org/trunk@26521 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:15:14 +00:00
Dion Hulse 91b903fb6d Themes: Indent the HTML for proper indentation after r26519 added an extra div. See #25961, #26192
git-svn-id: https://develop.svn.wordpress.org/trunk@26520 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:13:11 +00:00
Dion Hulse 919b03d9ce Themes: Make the Theme Detail view div use more of the available viewport, Fix the Header and Footer in the viewport and only scroll the theme details, Prefix some more theme CSS classes. Props shaunandrews for the initial viewport patch. Fixes #25961, #26192
git-svn-id: https://develop.svn.wordpress.org/trunk@26519 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:11:43 +00:00
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