Commit Graph

5660 Commits

Author SHA1 Message Date
azaozz b3871f9247 Replace ctype_digit() with is_numeric() for better compatibility, props markup, fixes #11620 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 08:47:47 +00:00
matt 1e15d7c64a 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: http://svn.automattic.com/wordpress/trunk@12543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 23:04:48 +00:00
matt 6f824a6b3e 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: http://svn.automattic.com/wordpress/trunk@12542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 22:22:21 +00:00
matt 4a91f16421 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: http://svn.automattic.com/wordpress/trunk@12541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 03:16:25 +00:00
matt 5fb288d031 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: http://svn.automattic.com/wordpress/trunk@12540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 02:46:40 +00:00
westi 9ca731eee2 Consitent use of … Fixes #10374 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 09:46:57 +00:00
westi 9ffd65beb7 Round the corners of the Update nag message. Fixes #10431 props Simek.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 08:08:13 +00:00
ryan 9b6bd6bf87 Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: http://svn.automattic.com/wordpress/trunk@12524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:39:31 +00:00
ryan 810bf31f83 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: http://svn.automattic.com/wordpress/trunk@12523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:35:12 +00:00
ryan b9dfd1fb4a Check upload_tmp_dir ini settings for a usable temporary path. Props Denis-de-Bernardy. fixes #6699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:22:26 +00:00
ryan cedfa0181b Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
ryan 354607036c Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: http://svn.automattic.com/wordpress/trunk@12513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:16:53 +00:00
ryan 95835a693a Do not use deprecated Etc timezones. Props miqrogroove. fixes #11558 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:16:36 +00:00
westi 10a5ba6622 Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 13:03:34 +00:00
westi 7ec819d925 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: http://svn.automattic.com/wordpress/trunk@12500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 09:15:13 +00:00
ryan 8837d88bfe Validation fix. Props Simek. fixes #11560 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:15:54 +00:00
westi fb04390c01 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: http://svn.automattic.com/wordpress/trunk@12495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:05:49 +00:00
ryan a858edf405 Add escaping to _wp_comment_row(). Props Denis-de-Bernardy. fixes #11492 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:00:54 +00:00
ryan 4bbaabff55 Increase download_url() timeout to 5 minutes. fixes #11551 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 16:42:30 +00:00
westi 1a097b6479 Updated phpDoc for wp-admin/includes/post.php . Fixes #11198 based on a patch from Simek.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 12:25:15 +00:00
westi bcaffad604 Fix spelling mistake in tooltip for image rotation button. Fixes #11488 for trunk props computerwiz908.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 12:02:51 +00:00
ryan e11e569611 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: http://svn.automattic.com/wordpress/trunk@12477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 23:54:52 +00:00
westi cd4fd77beb 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: http://svn.automattic.com/wordpress/trunk@12469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 15:26:57 +00:00
ryan b6e812db8c Remove unused var. Props miqrogroove. fixes #11371
git-svn-id: http://svn.automattic.com/wordpress/trunk@12467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 09:11:28 +00:00
ryan 8bc1faa751 Fix typos. Props gautam2011. fixes #11529 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 08:58:58 +00:00
azaozz 9fa732df33 Round back the buttons, see #11502
git-svn-id: http://svn.automattic.com/wordpress/trunk@12463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-20 05:32:52 +00:00
westi e51aa59549 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: http://svn.automattic.com/wordpress/trunk@12461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 11:30:54 +00:00
westi 10a6d0e916 Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 10:51:29 +00:00
ryan b14bd65cd3 Remove stray paren. Props demetris. fixes #11485
git-svn-id: http://svn.automattic.com/wordpress/trunk@12452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 18:19:43 +00:00
ryan d3a748eb46 Hard code required version in update-core.php. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 16:53:44 +00:00
azaozz 24e46cc36b Fix checkbox and radio styles in IE7/8 and Opera
git-svn-id: http://svn.automattic.com/wordpress/trunk@12448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 13:05:10 +00:00
azaozz fc1e6f8f72 Fix the scale image check in image editor, fixes #11473 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 09:52:32 +00:00
azaozz 29f3124366 Fix typo in edit-tags.php (proper patch), props nacin, fixes #11350 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 06:30:16 +00:00
azaozz 61dda68ef7 Fix typo in edit-tags.php, props nacin, fixes #11350 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 06:22:44 +00:00
ryan d2b81da009 Escape percent sign. Props sirzooro. fixes #11476
git-svn-id: http://svn.automattic.com/wordpress/trunk@12440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 22:00:51 +00:00
azaozz 5fceee4f91 Fix the 'current_user_can' check for 'add-comment'.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 21:02:38 +00:00
ryan d73b6930ea Give feedback when Upgrade Plugins is clicked but no plugins are selected. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 20:18:12 +00:00
ryan 40035bf93e Add required php and mysql versions to version.php. Future proof required version check strings. Props nacin. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 18:46:19 +00:00
ryan 81321bd367 Fix typo. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 16:22:54 +00:00
ryan c0437cd3a6 Check MySQL and PHP versions when auto upgrading. Props westi, Denis-de-Bernardy, nacin, caesarsgrunt. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 16:04:47 +00:00
ryan 776b710525 Consult the tested field when checking plugin compatibility. Props Denis-de-Bernardy. fixes #11450
git-svn-id: http://svn.automattic.com/wordpress/trunk@12413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 03:08:17 +00:00
ryan 4aca3ca146 Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:16:00 +00:00
ryan 60c67e593c Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: http://svn.automattic.com/wordpress/trunk@12409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:01:57 +00:00
ryan 25015c0e0c Show plugin compatibility for available upgrade versions of WP. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 19:09:55 +00:00
ryan c6bba74d06 Remove target from view post/page links. Props scribu. fixes #11406
git-svn-id: http://svn.automattic.com/wordpress/trunk@12406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 18:36:57 +00:00
ryan b38c409b40 Fix upload dir defaults. Props Denis-de-Bernardy. fixes #11276
git-svn-id: http://svn.automattic.com/wordpress/trunk@12405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 17:53:51 +00:00
azaozz acf271551d Add 'trash' in comment moderation emails, props nacin, fixes #11426
git-svn-id: http://svn.automattic.com/wordpress/trunk@12402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 10:55:55 +00:00
azaozz 6769f5d7e8 Fix action on dashboard spam link, merge deletecomment with trashcomment, untrashcomment, spamcomment, and unspamcomment, props caesarsgrunt, fixes #11432
git-svn-id: http://svn.automattic.com/wordpress/trunk@12401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 09:45:29 +00:00
azaozz afdd8d229a Properly update pagination links when moderating comments for a particular post or page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 04:33:16 +00:00
azaozz 6c4c879f50 Discard replies to comments on a trashed post, props nacin, fixes #11401
git-svn-id: http://svn.automattic.com/wordpress/trunk@12394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 03:03:58 +00:00