Commit Graph

24420 Commits

Author SHA1 Message Date
Andrew Nacin
2ec996d812 Return false from wp_delete_post() and wp_delete_attachment() if the DELETE is unsuccessful.
This prevents attachments from being deleted off disk when a DB is locked and the delete is otherwise unsuccessful.

fixes #25107.


git-svn-id: https://develop.svn.wordpress.org/trunk@26543 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 22:58:40 +00:00
Andrew Nacin
f27ae94140 Customizer: Ensure we have a string that's JSON parseable.
props mattwiebe.
fixes #postmessage-check.diff.


git-svn-id: https://develop.svn.wordpress.org/trunk@26542 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 22:48:15 +00:00
Andrew Nacin
ea5963f944 Remove @uses from get_screen_icon() / screen_icon(). see #26119.
git-svn-id: https://develop.svn.wordpress.org/trunk@26541 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:58:57 +00:00
Drew Jaynes
4f78450a25 Inline documentation for hooks in wp-admin/includes/update.php.
Props stevenkword for the initial patches.
Fixes #26252.


git-svn-id: https://develop.svn.wordpress.org/trunk@26540 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:54:24 +00:00
Matt Thomas
44457b54ec Better visual alignment on side-sortables tabs. Fixes #26323, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26539 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:43:44 +00:00
Drew Jaynes
074ba595dd Inline documentation for hooks in wp-includes/ms-functions.php.
Props ShinichiN, ericlewis, rzen.
Fixes #25598.


git-svn-id: https://develop.svn.wordpress.org/trunk@26538 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 20:44:28 +00:00
Andrew Nacin
85be737cae Only informally deprecate get_screen_icon() and screen_icon(). fixes #26119.
git-svn-id: https://develop.svn.wordpress.org/trunk@26537 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:59:40 +00:00
Matt Thomas
2598e7bd10 Restyle .sub text and .mu-storage header to match new admin design conventions. Fixes #26357.
git-svn-id: https://develop.svn.wordpress.org/trunk@26536 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:45:22 +00:00
Andrew Nacin
16b6b6b8e4 Simplify the color scheme profile saving JS. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26535 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:44:50 +00:00
Andrew Nacin
5e14491a2e Add a Travis CI configuration file.
props bpetty.
fixes #26364.


git-svn-id: https://develop.svn.wordpress.org/trunk@26534 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:41:26 +00:00
Matt Thomas
d51190952a Add basic responsive styles for button-small and button-large, override responsive button-large styles when used in the .interim-login iframe. Fixes #26363.
git-svn-id: https://develop.svn.wordpress.org/trunk@26533 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:25:42 +00:00
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