Commit Graph

5853 Commits

Author SHA1 Message Date
Ryan Boren e1a37a3563 Fix blogs menu item. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12629 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 03:43:54 +00:00
Ryan Boren 4c8ee2f889 Remove raquo. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12628 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 03:40:03 +00:00
Ryan Boren adca93f6c4 Cleanup titles. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12627 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 03:24:24 +00:00
Ryan Boren 9752cb8705 Queue ms.css if multisite. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12626 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:33:53 +00:00
Ryan Boren c62b24a2af Queue ms.css if multisite. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12625 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:33:23 +00:00
Ryan Boren b343c9ee06 Deprecate generate_random_password(). fixes #11746
git-svn-id: https://develop.svn.wordpress.org/trunk@12624 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:22:51 +00:00
Ryan Boren cf5aae053b s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12622 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:30:53 +00:00
Ryan Boren 19e3842fc2 Add esc_attr to ms-users.php. see #11792
git-svn-id: https://develop.svn.wordpress.org/trunk@12621 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:25:02 +00:00
Ron Rennick 9b84b850c9 Change references to wpmu-edit.php - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12620 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:24:03 +00:00
Ryan Boren 06d845c74c Add esc_attr to ms-options.php. see #11782
git-svn-id: https://develop.svn.wordpress.org/trunk@12619 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:21:19 +00:00
Ryan Boren 3054280850 Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12618 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:17:13 +00:00
Ryan Boren 37a7d305bf Add esc_attr to ms-sites.php. see #11782
git-svn-id: https://develop.svn.wordpress.org/trunk@12617 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:13:35 +00:00
Ryan Boren dfe2e39c2c Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@12616 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:01:52 +00:00
Ryan Boren 3b4c235c3f Show theme installer only to super admins. Props Denis-de-Bernardy. see #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12614 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:48:46 +00:00
Ryan Boren d710ef45d0 Move some multisite menu checks directly into menu.php. see #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12613 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:41:03 +00:00
Peter Westwood 816ed91f0f Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12610 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 22:22:45 +00:00
Ryan Boren ca3f286d96 Introduce is_multisite(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12609 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:19:35 +00:00
Ryan Boren d04182b97c Remove link-import.php. fixes #11755
git-svn-id: https://develop.svn.wordpress.org/trunk@12608 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:10:37 +00:00
Ryan Boren 9a3919e88b Remove edit-form.php again. fixes #11756
git-svn-id: https://develop.svn.wordpress.org/trunk@12607 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:09:39 +00:00
Ron Rennick 032de15d5a Add mu only (inactive) files
git-svn-id: https://develop.svn.wordpress.org/trunk@12603 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 04:02:57 +00:00
Ryan Boren 9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Peter Westwood 170b14f97d Fix a notice when replying to comments in the admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12596 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-02 17:16:26 +00:00
Peter Westwood 5b481ca51a phpDoc for get_pending_comments_num().
git-svn-id: https://develop.svn.wordpress.org/trunk@12595 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-02 17:15:11 +00:00
Andrew Ozz 21e45219f5 Fix Press This entity encoding, props noel, fixes #11390
git-svn-id: https://develop.svn.wordpress.org/trunk@12592 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-31 04:57:54 +00:00
Andrew Ozz e5e9a6686d Add AYS popup when deleting media, fixes #11673
git-svn-id: https://develop.svn.wordpress.org/trunk@12591 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-31 02:37:56 +00:00
Ryan Boren 3d8c08b96a Use current_time() to calculate current time. Props filosofo. fixes #10915
git-svn-id: https://develop.svn.wordpress.org/trunk@12590 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:56:09 +00:00
Peter Westwood a752e6b561 Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12584 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:23:39 +00:00
Peter Westwood 256e7e7a07 Use a more reliable method of locating wp-load.php in the admin bootstrap. Fixes #11120.
git-svn-id: https://develop.svn.wordpress.org/trunk@12583 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 10:15:10 +00:00
Andrew Ozz 276e9c3b09 Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569
git-svn-id: https://develop.svn.wordpress.org/trunk@12582 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 08:19:34 +00:00
Ryan Boren d04b00c481 Check PHP and MySQL versions in install.php. see #11666
git-svn-id: https://develop.svn.wordpress.org/trunk@12577 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 22:07:35 +00:00
Ryan Boren 67f6edc8fa Check PHP and MySQL versions in upgrade.php. see #11666
git-svn-id: https://develop.svn.wordpress.org/trunk@12575 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 21:56:48 +00:00
Ryan Boren 5459a227a8 Remove extraneous br. Props nacin. fixes #11582 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12569 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 15:36:16 +00:00
Andrew Ozz 87167083cf Fix alignment of checkbox in table.widefat, fixes #11610
git-svn-id: https://develop.svn.wordpress.org/trunk@12567 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 13:16:16 +00:00
Ryan Boren 48d6975ae7 Cleanup after bailing when php or mysql versions are not compat. Props nacin. fixes #11638 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12564 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 17:19:04 +00:00
Ryan Boren 0a1c83449c Better duplicate option delete query. Props miqrogroove. fixes #11649 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12560 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 16:25:56 +00:00
Andrew Ozz 39665b05c3 Show disabled image rotation buttons when imagerotate() is missing, props husky and hakre, fixes #11536
git-svn-id: https://develop.svn.wordpress.org/trunk@12555 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 21:24:39 +00:00
Andrew Ozz a464644c00 Move wp-admin.css and rtl.css to the wp-admin/css directory, rename rtl.css to wp-admin-rtl.css to follow naming standard, fixes #10985
git-svn-id: https://develop.svn.wordpress.org/trunk@12553 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 20:06:57 +00:00
Andrew Ozz a538de3f8c CSS whitespace and color definitions cleanup, props Simek, fixes #11561
git-svn-id: https://develop.svn.wordpress.org/trunk@12552 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 18:17:06 +00:00
Peter Westwood 0f8b3225ed Remove unused global posts_per_page. Fixes #11458 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12551 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 09:01:53 +00:00
Peter Westwood b374e062c7 Swap out ;; for ; in js too. See #11618.
No need for a new non .dev. version as YUI stripped them anyway.

git-svn-id: https://develop.svn.wordpress.org/trunk@12549 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 17:10:37 +00:00
Peter Westwood 688e340821 Swap out ;; for ;. Fixes #11618 props demetris and nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12548 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 16:53:17 +00:00
Peter Westwood 4460ad8e7b phpDoc for wp_reset_vars().
git-svn-id: https://develop.svn.wordpress.org/trunk@12547 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 16:48:24 +00:00
Andrew Ozz 060d9185e6 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: https://develop.svn.wordpress.org/trunk@12546 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 09:00:58 +00:00
Andrew Ozz c3f5b583bc Replace ctype_digit() with is_numeric() for better compatibility, props markup, fixes #11620 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12544 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 08:47:47 +00:00
Matt Mullenweg d94f8b9331 More cleanup of the edit media screen:
* Simplified table to not need rowspan, and other markup where possible.
* Put more elements in a paragraph tag for better spacing.
* Brought edit image buton under the image.
* Everything is now in line with WordPress Coding Standards, particularly with regards to spacing and attribute quotes.
* Minor styling for better alignment.

TODO: We show the file URL here, but for images we should show the URL to each size, with its dimensions.



git-svn-id: https://develop.svn.wordpress.org/trunk@12543 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 23:04:48 +00:00
Matt Mullenweg 8fa4b51cb6 Media editing: When you have many custom taxonomies this page can get rather long, or just normally, so adding a "save" button to the top as well, for easy access.
There was no place on this page that actually linked to the item being edited, so I hyperinked the thumbnail.


git-svn-id: https://develop.svn.wordpress.org/trunk@12542 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 22:22:21 +00:00
Matt Mullenweg 91bc0d5d3c Some style tweaks to theme editor, fixes #11563. Hat tip: Simek.
I adjusted the padding to be a little heavier and then have a negative margin, so the text stays aligned and the highlight floats around it. As an added tweak I removed the extraneous "Theme Files" heading which didn't really convey any useful information.

"Perfection is achieved perfection not when there is nothing left to add, but when there is nothing left to take away" -- Antoine de Saint-Exupery (and Merry Christmas everybody. :))

git-svn-id: https://develop.svn.wordpress.org/trunk@12541 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 03:16:25 +00:00
Matt Mullenweg 8cfe7f8e85 Change to comments UI to show when a comment is replying to another, and link to the parent comment, so you can understand the context of a given comment when moderating from the dashboard.
Long term, I feel like front-end moderation could be really handy if we can make it as AJAXy.

git-svn-id: https://develop.svn.wordpress.org/trunk@12540 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 02:46:40 +00:00
Peter Westwood b799f4886e Consitent use of … Fixes #10374 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@12533 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 09:46:57 +00:00
Peter Westwood 4bad636a1a Round the corners of the Update nag message. Fixes #10431 props Simek.
git-svn-id: https://develop.svn.wordpress.org/trunk@12530 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 08:08:13 +00:00
Ryan Boren 7ccd64fbe7 Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: https://develop.svn.wordpress.org/trunk@12524 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:39:31 +00:00
Ryan Boren 95ea3693b1 Check required php and mysql versions in the update response and notify if the server environment does not meet those requirements. fixes #11562
git-svn-id: https://develop.svn.wordpress.org/trunk@12523 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:35:12 +00:00
Ryan Boren f79d69c71b Check upload_tmp_dir ini settings for a usable temporary path. Props Denis-de-Bernardy. fixes #6699
git-svn-id: https://develop.svn.wordpress.org/trunk@12519 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:22:26 +00:00
Ryan Boren dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Ryan Boren 6de4fcc190 Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Ryan Boren 65658aacbf Do not use deprecated Etc timezones. Props miqrogroove. fixes #11558 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12507 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 14:16:36 +00:00
Peter Westwood 159726cd94 Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12506 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 13:03:34 +00:00
Peter Westwood ca583c9b1a Improve the revision comparison user interface to hilight that we compare "old on left" to "new on right". Includes some js to hide the radio buttons to stop you selecting reverse comparisions.
Fixes #11088 props filosofo.

git-svn-id: https://develop.svn.wordpress.org/trunk@12500 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 09:15:13 +00:00
Ryan Boren 1afe1703a0 Validation fix. Props Simek. fixes #11560 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12497 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 17:15:54 +00:00
Peter Westwood b7b7429478 Use maybe_unserialized on all post_meta values on import to ensure we don't end up with double serialized data in the database. Fixes #10619 props znarfor.
git-svn-id: https://develop.svn.wordpress.org/trunk@12495 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 17:05:49 +00:00
Ryan Boren 6e6e9f77b0 Add escaping to _wp_comment_row(). Props Denis-de-Bernardy. fixes #11492 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12493 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 17:00:54 +00:00
Ryan Boren 9ff30116e7 Increase download_url() timeout to 5 minutes. fixes #11551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12489 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 16:42:30 +00:00
Peter Westwood c7d6c83b94 Updated phpDoc for wp-admin/includes/post.php . Fixes #11198 based on a patch from Simek.
git-svn-id: https://develop.svn.wordpress.org/trunk@12483 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:25:15 +00:00
Peter Westwood 154ecfda7b Fix spelling mistake in tooltip for image rotation button. Fixes #11488 for trunk props computerwiz908.
git-svn-id: https://develop.svn.wordpress.org/trunk@12481 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:02:51 +00:00
Ryan Boren 58c5f25c03 Don't display plugin compatibility info if the new WordPress version is the same as the current one. For example for RC/Beta upgrades. Props westi. fixes #11525 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12477 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 23:54:52 +00:00
Peter Westwood af1919accd Fix some notices in the importer when importing files from old WordPress versions or not fetching attachments. See #11484.
Ensure that we check that a user is created for the username we specify and otherwise fallback to the current user
See #10319.

git-svn-id: https://develop.svn.wordpress.org/trunk@12469 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 15:26:57 +00:00
Ryan Boren 0db9760bd4 Remove unused var. Props miqrogroove. fixes #11371
git-svn-id: https://develop.svn.wordpress.org/trunk@12467 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 09:11:28 +00:00
Ryan Boren d2128b8fb9 Fix typos. Props gautam2011. fixes #11529 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12465 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 08:58:58 +00:00
Andrew Ozz 0487cf7225 Round back the buttons, see #11502
git-svn-id: https://develop.svn.wordpress.org/trunk@12463 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-20 05:32:52 +00:00
Peter Westwood 309b373f85 Ensure that bulk comment actions do not remove spaces from search terms.
Also refactors comment bulk action redirect url building to be consistent with other operations.
Fixes #11471 props nacin.

git-svn-id: https://develop.svn.wordpress.org/trunk@12461 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 11:30:54 +00:00
Peter Westwood f0a6bb378b Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12459 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 10:51:29 +00:00
Ryan Boren 81d878ae27 Remove stray paren. Props demetris. fixes #11485
git-svn-id: https://develop.svn.wordpress.org/trunk@12452 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 18:19:43 +00:00
Ryan Boren 715fa5d163 Hard code required version in update-core.php. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12450 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 16:53:44 +00:00
Andrew Ozz b5d35e68ec Fix checkbox and radio styles in IE7/8 and Opera
git-svn-id: https://develop.svn.wordpress.org/trunk@12448 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 13:05:10 +00:00
Andrew Ozz 8219ad5b49 Fix the scale image check in image editor, fixes #11473 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12446 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 09:52:32 +00:00
Andrew Ozz de918a6161 Fix typo in edit-tags.php (proper patch), props nacin, fixes #11350 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12444 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 06:30:16 +00:00
Andrew Ozz 6084374677 Fix typo in edit-tags.php, props nacin, fixes #11350 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12442 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 06:22:44 +00:00
Ryan Boren 11865461fc Escape percent sign. Props sirzooro. fixes #11476
git-svn-id: https://develop.svn.wordpress.org/trunk@12440 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 22:00:51 +00:00
Andrew Ozz 7900028ff8 Fix the 'current_user_can' check for 'add-comment'.
git-svn-id: https://develop.svn.wordpress.org/trunk@12438 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 21:02:38 +00:00
Ryan Boren c3e7918ed8 Give feedback when Upgrade Plugins is clicked but no plugins are selected. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12436 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 20:18:12 +00:00
Ryan Boren 0df26215b0 Add required php and mysql versions to version.php. Future proof required version check strings. Props nacin. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12432 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 18:46:19 +00:00
Ryan Boren dbad0d7271 Fix typo. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12426 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 16:22:54 +00:00
Ryan Boren 899da05e4c Check MySQL and PHP versions when auto upgrading. Props westi, Denis-de-Bernardy, nacin, caesarsgrunt. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12422 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 16:04:47 +00:00
Ryan Boren 065c684cea Consult the tested field when checking plugin compatibility. Props Denis-de-Bernardy. fixes #11450
git-svn-id: https://develop.svn.wordpress.org/trunk@12413 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-16 03:08:17 +00:00
Ryan Boren 60bbd214b3 Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12411 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:16:00 +00:00
Ryan Boren 8e0d091c55 Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: https://develop.svn.wordpress.org/trunk@12409 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:01:57 +00:00
Ryan Boren f14b014d58 Show plugin compatibility for available upgrade versions of WP. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12407 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 19:09:55 +00:00
Ryan Boren f57f8f3a6f Remove target from view post/page links. Props scribu. fixes #11406
git-svn-id: https://develop.svn.wordpress.org/trunk@12406 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 18:36:57 +00:00
Ryan Boren 922d26b596 Fix upload dir defaults. Props Denis-de-Bernardy. fixes #11276
git-svn-id: https://develop.svn.wordpress.org/trunk@12405 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 17:53:51 +00:00
Andrew Ozz 86c09f699b Add 'trash' in comment moderation emails, props nacin, fixes #11426
git-svn-id: https://develop.svn.wordpress.org/trunk@12402 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 10:55:55 +00:00
Andrew Ozz 14e4e32252 Fix action on dashboard spam link, merge deletecomment with trashcomment, untrashcomment, spamcomment, and unspamcomment, props caesarsgrunt, fixes #11432
git-svn-id: https://develop.svn.wordpress.org/trunk@12401 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 09:45:29 +00:00
Andrew Ozz c74cd320fa Properly update pagination links when moderating comments for a particular post or page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12399 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 04:33:16 +00:00
Andrew Ozz 90b83e8f8a Discard replies to comments on a trashed post, props nacin, fixes #11401
git-svn-id: https://develop.svn.wordpress.org/trunk@12394 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 03:03:58 +00:00
Peter Westwood 1611f432c3 Ensure that RTL langs don't get a horizontal scrollbar in IE7. Fixes #10748 props yoavf.
git-svn-id: https://develop.svn.wordpress.org/trunk@12392 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 17:56:22 +00:00
Peter Westwood fafe6e5f01 Fix notice on edit posts page when logged in as a user without the 'edit_others_posts' capability.
git-svn-id: https://develop.svn.wordpress.org/trunk@12390 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 13:01:30 +00:00
Peter Westwood f6806ba64c Fix the IP Address validation code in the FTP class. Fixes #11393 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12387 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 00:02:01 +00:00
Andrew Ozz 5ba628b1a9 Remove animation for admin notices, fixes #11267
git-svn-id: https://develop.svn.wordpress.org/trunk@12385 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 19:53:06 +00:00
Andrew Ozz c2fa5860cc Do not stop plugin activation due to E_DEPRECATED errors in php 5.3, props Denis-de-Bernardy, fixes #11250
git-svn-id: https://develop.svn.wordpress.org/trunk@12383 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 09:20:07 +00:00
Andrew Ozz 4e8a2950a5 Fix dashboard Right Now columns width in IE6/7, fixes 11293
git-svn-id: https://develop.svn.wordpress.org/trunk@12382 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 08:49:45 +00:00
Andrew Ozz a01165cf53 Make animation faster for admin notices, props nacin, fixes #11267
git-svn-id: https://develop.svn.wordpress.org/trunk@12380 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:34:04 +00:00
Andrew Ozz dbf3e72d46 Fix image editor toolbar in IE6/7, fixes #11400
git-svn-id: https://develop.svn.wordpress.org/trunk@12379 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:24:53 +00:00
Andrew Ozz e54acbc473 Display "Dimensions" only for image attachments, fixes #11403
git-svn-id: https://develop.svn.wordpress.org/trunk@12378 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:02:26 +00:00
Andrew Ozz 770fd776d7 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: https://develop.svn.wordpress.org/trunk@12377 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 06:40:16 +00:00
Ryan Boren 16b48edadf Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
git-svn-id: https://develop.svn.wordpress.org/trunk@12375 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 23:14:43 +00:00
Ryan Boren 6cbf650667 Show Upgrade Notice for plugins. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12374 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 17:18:29 +00:00
Ryan Boren b0c20621cd Call wp_cache_delete after issuing update actions. Props Denis-de-Bernardy. fixes #11397
git-svn-id: https://develop.svn.wordpress.org/trunk@12373 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 16:44:41 +00:00
Andrew Ozz 68f8e4d036 Press This empty title fix, props noel, see #11390, fixes #10715
git-svn-id: https://develop.svn.wordpress.org/trunk@12371 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 00:14:18 +00:00
Mark Jaquith 40345fea17 Reverting [12361] due to logic issue. see #10715
git-svn-id: https://develop.svn.wordpress.org/trunk@12370 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 23:11:54 +00:00
Ryan Boren 8da73e044d Pass correct number of args to ftp_chdir(). Props Denis-de-Bernardy. see #10889
git-svn-id: https://develop.svn.wordpress.org/trunk@12369 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 23:03:25 +00:00
Peter Westwood e56fb80aa5 Revert [11212], [12252], [12255] and [12258]. Stick with Hello World for now and we will look at other solutions. See #110808.
git-svn-id: https://develop.svn.wordpress.org/trunk@12366 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 22:45:10 +00:00
Ryan Boren cf9d70f50a Drop temp upgrade code. fixes #11266
git-svn-id: https://develop.svn.wordpress.org/trunk@12365 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 20:29:55 +00:00
Andrew Ozz 139414023c Image editor icons, props Ben Dunkle, fixes #10979
git-svn-id: https://develop.svn.wordpress.org/trunk@12363 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 09:22:01 +00:00
Mark Jaquith 06772635dd Allow for saving Press This entries with blank titles. props noel, christoph179. fixes #10715
git-svn-id: https://develop.svn.wordpress.org/trunk@12361 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 09:08:31 +00:00
Mark Jaquith 2cc4860510 Change 'Remove' link on widgets to 'Delete' because it doesn't just remove it, it deletes the settings for that widget instance. props Denis-de-Bernardy. fixes #10379
git-svn-id: https://develop.svn.wordpress.org/trunk@12360 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:51:36 +00:00
Mark Jaquith a14caf5287 Use esc_url_raw() on wp:comment_author_url in exports. fixes #9524
git-svn-id: https://develop.svn.wordpress.org/trunk@12359 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:42:45 +00:00
Mark Jaquith d08d287832 Fix some wrapping/cropping issues for verbose languages. props Nao. fixes #11293
git-svn-id: https://develop.svn.wordpress.org/trunk@12357 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:20:32 +00:00
Mark Jaquith db7d45ebe2 Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
git-svn-id: https://develop.svn.wordpress.org/trunk@12355 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:03:26 +00:00
Mark Jaquith e963df0fef Show "Done" feedback after setting post thumbnail image. see #11140 (partial fix)
git-svn-id: https://develop.svn.wordpress.org/trunk@12353 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 07:34:32 +00:00
Mark Jaquith 507cf49e1b Do not show "Use as thumbnail" in standalone media browser, but DO show it when you upload a new image on a post. fixes #11366
git-svn-id: https://develop.svn.wordpress.org/trunk@12352 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 07:04:01 +00:00
Mark Jaquith ab97039f96 Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 06:14:36 +00:00
Ryan Boren 3d6a741305 Allow registering post image support per post type. fixes #11364
git-svn-id: https://develop.svn.wordpress.org/trunk@12350 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 15:39:20 +00:00
Andrew Ozz f27073a3d8 Save menu sections' opened/closed state separately, fixes #10366
git-svn-id: https://develop.svn.wordpress.org/trunk@12347 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 11:27:47 +00:00
Peter Westwood 8d300bf5b7 s/size/s/ fixes #11370 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12346 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 09:44:53 +00:00
Mark Jaquith ce73d32830 Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: https://develop.svn.wordpress.org/trunk@12344 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:27:53 +00:00
Mark Jaquith 5d021234c2 More standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: https://develop.svn.wordpress.org/trunk@12343 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:24:32 +00:00
Mark Jaquith 54410e03f6 Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
git-svn-id: https://develop.svn.wordpress.org/trunk@12342 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:08:19 +00:00
Matt Mullenweg 2101888ec0 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: https://develop.svn.wordpress.org/trunk@12341 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 19:59:34 +00:00
Mark Jaquith 51e25872a6 Standardize around "post image" instead of "post thumbnail"
git-svn-id: https://develop.svn.wordpress.org/trunk@12339 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:34:04 +00:00
Ryan Boren 90521c0880 Include admin-footer in options.php only for the default case. Avoids warning about hook_suffix not being set when POSTing to options.php. see #10131
git-svn-id: https://develop.svn.wordpress.org/trunk@12337 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 01:11:02 +00:00
Ryan Boren bd86766a72 Use stripslashes_deep to strip meta values. Props JonathanRogers, Sewar. fixes #10656
git-svn-id: https://develop.svn.wordpress.org/trunk@12336 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 00:48:39 +00:00
Mark Jaquith 0cc6b29c9b Spam links are just as destructive as trash (more so, actually, since they deprecate the comment). Now they are also colored red, like trash. props caesarsgrunt. fixes #11304
git-svn-id: https://develop.svn.wordpress.org/trunk@12335 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 23:45:02 +00:00
Mark Jaquith b63538c44a Fix the case of the curiously expanding wp-admin menu. props westi. fixes #10366
git-svn-id: https://develop.svn.wordpress.org/trunk@12334 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 23:29:25 +00:00
Mark Jaquith 1059fec62e Re-enable trash link appearance on autosave. fixes #11351
git-svn-id: https://develop.svn.wordpress.org/trunk@12330 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 16:38:04 +00:00
Ryan Boren ca305e593f Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12329 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 13:57:18 +00:00
Mark Jaquith d8e1e13b43 Reverting [12324] and [12322] after some discussion.
git-svn-id: https://develop.svn.wordpress.org/trunk@12328 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 04:31:44 +00:00
Mark Jaquith b54aedfe6f Make codex link open in a new window
git-svn-id: https://develop.svn.wordpress.org/trunk@12324 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:30:56 +00:00
Peter Westwood 3d0fd44d6b Revert the string change to the Discussion meta box as this is a generic box for multiple post types. Fixes #11346.
git-svn-id: https://develop.svn.wordpress.org/trunk@12323 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:05:49 +00:00
Mark Jaquith 236b329a88 Display Post/Page Thumbnail meta box even if theme does not support it -- just display an info message. props janeforshort
git-svn-id: https://develop.svn.wordpress.org/trunk@12322 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:02:51 +00:00
Andrew Ozz c2b584a91b Validate date/time fields for posts and comments, fixes #10309
git-svn-id: https://develop.svn.wordpress.org/trunk@12318 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 09:56:20 +00:00
Andrew Ozz 07f2fd2e4b Fix errors when bulk actions executed on empty list, props nacin, see #11184
git-svn-id: https://develop.svn.wordpress.org/trunk@12317 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 01:43:49 +00:00
Andrew Ozz 01a2ce507b Fix canceling when deleting newly added categories and link categories, fixes #11296
git-svn-id: https://develop.svn.wordpress.org/trunk@12313 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 23:51:04 +00:00
Andrew Ozz ad34368ba9 Fix multiple confirmation messages when restoring posts and pages from the trash, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12312 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 23:28:20 +00:00
Andrew Ozz 64c329968f Swap Spam and Trash in comment action links, fixes #11258
git-svn-id: https://develop.svn.wordpress.org/trunk@12311 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 22:05:03 +00:00
Ryan Boren 0042fa7b7c Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: https://develop.svn.wordpress.org/trunk@12310 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 22:03:13 +00:00
Ryan Boren d6003d7fa6 Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: https://develop.svn.wordpress.org/trunk@12308 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 20:00:33 +00:00
Andrew Ozz a308e5f1da Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: https://develop.svn.wordpress.org/trunk@12304 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 09:22:48 +00:00
Ryan Boren 3d270053f2 Preserve parentage when importing comments. Props joostdevalk. fixes #8019
git-svn-id: https://develop.svn.wordpress.org/trunk@12301 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 02:12:42 +00:00
Ryan Boren 6115dc47b2 Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: https://develop.svn.wordpress.org/trunk@12298 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 21:41:52 +00:00
Andrew Ozz a772d3fe2c Hide Cancel link in the browser uploader on Media Library screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@12297 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 20:58:12 +00:00
Ryan Boren 68985dce07 escape hrefs. Props Denis-de-Bernardy. fixes #10056
git-svn-id: https://develop.svn.wordpress.org/trunk@12295 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 16:55:50 +00:00
Andrew Ozz b83aada923 Fix Right Now comments counts when only one comment exists
git-svn-id: https://develop.svn.wordpress.org/trunk@12294 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 01:53:25 +00:00
Andrew Ozz a03d21af84 Fix Right Now comments counts for trash, spam or undo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12293 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 00:49:33 +00:00
Andrew Ozz a0ea0aa4ed Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12291 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-29 10:29:12 +00:00
Andrew Ozz 365fea47fc "Trash" fixes, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12290 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 03:56:20 +00:00
Andrew Ozz ed11892e7f Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12289 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 02:56:15 +00:00
Andrew Ozz c491ed5c61 Reorder comment actions, fixes #11258
git-svn-id: https://develop.svn.wordpress.org/trunk@12287 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 12:57:35 +00:00
Andrew Ozz a675276ce5 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12286 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 10:34:09 +00:00
Andrew Ozz c53d14090e Fix notice in bulk edit posts, props dd32, fixes #11184
git-svn-id: https://develop.svn.wordpress.org/trunk@12285 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:41:37 +00:00
Andrew Ozz 387ac8c9b5 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Andrew Ozz 1d918ec7f7 Fix typo, props nacin, fixes #8557
git-svn-id: https://develop.svn.wordpress.org/trunk@12283 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 08:13:31 +00:00
Andrew Ozz c70cf53090 Reset notice after restoring a comment from the trash, props caesarsgrunt, fixes #11223
git-svn-id: https://develop.svn.wordpress.org/trunk@12282 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 08:04:25 +00:00
Andrew Ozz 437db709fc Swap the Flip horizontally and Flip vertically buttons in the image editor so they are more understandable, props scribu, fixes #11171
git-svn-id: https://develop.svn.wordpress.org/trunk@12281 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 07:49:44 +00:00
Andrew Ozz f066b7dc39 Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12278 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 04:37:39 +00:00
Ryan Boren d6c576bc1f Apply editable_slug filter in more places. Props dwright. fixes #10966
git-svn-id: https://develop.svn.wordpress.org/trunk@12277 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 15:11:57 +00:00
Andrew Ozz 8a77135845 Autop: add fieldset to blocks, remove support for empty <p> for now, fix block in block problems when switching the editor from visual to html and back, fixes #8644
git-svn-id: https://develop.svn.wordpress.org/trunk@12275 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 09:50:20 +00:00
Ryan Boren e7b40483e9 Check action type to avoid warnings. Props sirzooro. fixes #11203
git-svn-id: https://develop.svn.wordpress.org/trunk@12272 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 16:46:23 +00:00
Ryan Boren 64200ba296 Filter imported comments
git-svn-id: https://develop.svn.wordpress.org/trunk@12270 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 14:40:25 +00:00
Ryan Boren 36b5b622f3 Filter imported comments
git-svn-id: https://develop.svn.wordpress.org/trunk@12269 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 14:00:41 +00:00
Ryan Boren 3821d10f89 Fix wpfs root dir location. Props dd32. fixes #11152
git-svn-id: https://develop.svn.wordpress.org/trunk@12268 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 21:52:13 +00:00
Ryan Boren bef6051a09 Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
git-svn-id: https://develop.svn.wordpress.org/trunk@12264 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 18:17:46 +00:00
Ryan Boren e0fbb763b3 Standardize RTL admin fonts. Props yoavf. fixes #11239
git-svn-id: https://develop.svn.wordpress.org/trunk@12262 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 16:10:06 +00:00
Peter Westwood b9b969f12a Allow plugins to change the redirect on post/page publishing/submitting. Fixes #10929 props johnjosephbachir and johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@12260 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 22:30:27 +00:00
Peter Westwood 36c1e9d580 Use _x() not _c(). See #6362 fixes #11228 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12259 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 22:22:25 +00:00
Peter Westwood ae06595dba Make sure the translated urls are attribute safe using esc_attr(). See #11008.
git-svn-id: https://develop.svn.wordpress.org/trunk@12258 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 12:11:18 +00:00
Peter Westwood b1d71a4fcb Use _x() not _c() as we want to use the gettext contexts.
git-svn-id: https://develop.svn.wordpress.org/trunk@12256 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 11:50:16 +00:00
Peter Westwood 1968cc57d6 Update the test case for #11008 - original pre paragraphed text was relying on autop to insert <br /> for the line breaks so make it explicit in the expected result.
git-svn-id: https://develop.svn.wordpress.org/trunk@12255 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 10:34:37 +00:00
Peter Westwood 0503ad218c Don't show page templates in the drop down if they are in a subdirectory. Fixes #10959 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12253 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 10:05:19 +00:00
Peter Westwood a45e9950ac Let autop handle the first post. See #11008.
git-svn-id: https://develop.svn.wordpress.org/trunk@12252 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 09:43:45 +00:00
Ryan Boren 08fcea2ce6 Restore 'Add New Themes' menu name. Props nacin. fixes #10738
git-svn-id: https://develop.svn.wordpress.org/trunk@12248 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 21:59:34 +00:00
Ryan Boren 6fe5b12b77 Use correct variable name. Props sirzooro. fixes #11204
git-svn-id: https://develop.svn.wordpress.org/trunk@12247 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 20:12:01 +00:00
Ryan Boren 4fd7b2fd8b Fix warnings
git-svn-id: https://develop.svn.wordpress.org/trunk@12246 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 19:46:10 +00:00
Ryan Boren 9c74c25f37 Remove reference to non-existent field. Props scribu. fixes #11098
git-svn-id: https://develop.svn.wordpress.org/trunk@12242 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 15:26:14 +00:00
Andrew Ozz 6f4ae7b89a Submit the "Save all changes" form by pressing Enter, props abackstrom, fixes #8557
git-svn-id: https://develop.svn.wordpress.org/trunk@12240 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 06:07:54 +00:00
Andrew Ozz ee858aaa6c Show errors when minimum requirements are not met when installing, props dd32 Denis-de-Bernardy, fixes #9474
git-svn-id: https://develop.svn.wordpress.org/trunk@12238 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 04:11:01 +00:00
Andrew Ozz 26a9029a82 Do not show entities when inserting newly added category in the parents dropdown, props aldenta, fixes #11182
git-svn-id: https://develop.svn.wordpress.org/trunk@12236 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 01:54:12 +00:00
Andrew Ozz 49192afff9 Escape $title in dashboard Recent Drafts to reveal HTML tags, props Simek, fixes #11128
git-svn-id: https://develop.svn.wordpress.org/trunk@12235 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 01:31:06 +00:00
Andrew Ozz 0666505958 Specify background color for input elements, props hakre, fixes #10881
git-svn-id: https://develop.svn.wordpress.org/trunk@12234 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 23:46:23 +00:00
Ryan Boren 115e5e33fb Allow link rating of 10. Props ProDevStudio. fixes #11165
git-svn-id: https://develop.svn.wordpress.org/trunk@12233 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 23:07:53 +00:00
Ryan Boren 4f7906aced Fix db version logic error. Props miqrogroove. fixes #10994
git-svn-id: https://develop.svn.wordpress.org/trunk@12232 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:53:03 +00:00
Ryan Boren 42a3082c21 Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: https://develop.svn.wordpress.org/trunk@12231 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:49:16 +00:00
Peter Westwood d288c8eea0 Some admin copy improvements fixes. #6362 props xenlab and ninjaWR.
git-svn-id: https://develop.svn.wordpress.org/trunk@12228 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:16:16 +00:00
Ryan Boren e4dd375180 gettext fix. Props takayukister. fixes #11188
git-svn-id: https://develop.svn.wordpress.org/trunk@12227 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:04:53 +00:00
Peter Westwood 1ca762ff8d Revert [12187] as it didn't fix the issue for all cases. See #10959.
git-svn-id: https://develop.svn.wordpress.org/trunk@12225 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 19:53:27 +00:00
Ryan Boren 0fa56163c8 Add media_row_actions filter. Props holizz. fixes #9172
git-svn-id: https://develop.svn.wordpress.org/trunk@12221 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 17:46:07 +00:00
Ryan Boren 26193065a4 Pass args to settings field callback. Props hanilovesme, scribu. fixes #11143
git-svn-id: https://develop.svn.wordpress.org/trunk@12220 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 17:37:50 +00:00
Ryan Boren 168aecd7c1 Don't show page statuses with 0 pages. Props batmoo. fixes #11180
git-svn-id: https://develop.svn.wordpress.org/trunk@12219 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 17:04:44 +00:00
Ryan Boren d940b723be Check DB ver 12217. see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12218 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 16:43:38 +00:00
Ryan Boren d1190b5bd6 Make option_id primary. Add uniques for option_name and autoload. see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12217 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 16:42:07 +00:00
Andrew Ozz e14dc40aeb Fix removal of .form-invalid in IE, props aldenta, fixes #11181
git-svn-id: https://develop.svn.wordpress.org/trunk@12215 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 10:24:14 +00:00
Andrew Ozz 8066de0726 Check if $_SERVER['HTTP_ACCEPT_ENCODING'] is set before determining whether to compress scripts, props nacin, fixes #11169
git-svn-id: https://develop.svn.wordpress.org/trunk@12214 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 09:46:07 +00:00