Commit Graph

11568 Commits

Author SHA1 Message Date
Ryan Boren cd96da236b Use umeta_id for user meta. Props wnorris. fixes #11627 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12562 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 16:42:31 +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 78dcefaa71 Too many question marks, see #11315
git-svn-id: https://develop.svn.wordpress.org/trunk@12559 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 00:56:41 +00:00
Andrew Ozz 80d135a608 WP_Dependencies: pass NULL to disable script and style version query strings, props scribu amattie, fixes #11315
git-svn-id: https://develop.svn.wordpress.org/trunk@12558 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 00:48:20 +00:00
Andrew Ozz dc9e990576 Update Prototype.js to 1.6.1 and remove the second copy of it from wp-includes/js/scriptaculous, update Scriptaculous.js to 1.8.3, props Simek, fixes #11041
git-svn-id: https://develop.svn.wordpress.org/trunk@12557 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 22:30:58 +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 caddbabeec Don't close thickbox when clicking outside the iframe while uploading, fixes #6883
git-svn-id: https://develop.svn.wordpress.org/trunk@12554 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 21:03:54 +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 b864f78853 Fix notices in get_the_title() when passed an invalid id. Also ensure that the filter gets the invalid id so a plugin can supply a default title instead. Fixes #11435 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12550 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 08:57:33 +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 b43b13ad81 Update wp_clear_scheduled_hook calls to use array when passing args. Fixes #11590 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12538 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 11:24:32 +00:00
Peter Westwood b607185b4e Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12537 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 11:12:04 +00:00
Peter Westwood e4295ece03 Add new function _deprecated_argument() to be used for marking arguments as deprecated so that with WP_DEBUG enabled developers can see they need to review and update their code. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12536 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 11:06:00 +00:00
Peter Westwood b13e2ac938 More phpdoc fixes. Depreceated version numbers for _deprecated_file() calls in wp-includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@12535 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 10:53:34 +00:00
Peter Westwood 5f07ebb275 Fix phpDoc for _deprecated_file(). Always pass the full path from ABSPATH to _deprecated_file().
git-svn-id: https://develop.svn.wordpress.org/trunk@12534 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 10:48:32 +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
Mark Jaquith 32d4695602 Make sure the post global is actually an object before we treat it like one.
git-svn-id: https://develop.svn.wordpress.org/trunk@12532 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 09:30:12 +00:00
Peter Westwood b6669a3c9d phpDoc updates for functions.wp-styles.php. Merge from BackPress props CharlesClarkson.
git-svn-id: https://develop.svn.wordpress.org/trunk@12531 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 08:21:16 +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 7f1473cc28 windows-1252 is canonical, not Windows-1252. Props Denis-de-Bernardy. fixes #11219
git-svn-id: https://develop.svn.wordpress.org/trunk@12528 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 02:20:05 +00:00
Ryan Boren 9df952a2e5 Set the version of WP a function was deprecated in for all deprecated functions. Props nacin, docwhat. fixes #7493
git-svn-id: https://develop.svn.wordpress.org/trunk@12526 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:54:17 +00:00
Ryan Boren 7cff2c4ae0 Refresh deprecated bookmark functions. Props filosofo. fixes #10920
git-svn-id: https://develop.svn.wordpress.org/trunk@12525 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:49:22 +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 57f367b6ec Upgrade SWFobject JS to 2.2. Props niallkennedy. fixes #11109
git-svn-id: https://develop.svn.wordpress.org/trunk@12522 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:44:46 +00:00
Ryan Boren 291ca310b4 Update phpass to 0.2. Props hakre. fixes #10727
git-svn-id: https://develop.svn.wordpress.org/trunk@12521 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:31:57 +00:00
Peter Westwood 71847c3df1 Check that get_page_hierarchy() returns something before trying to build the verbose page rules in WP_Rewrite::page_uri_index(). Fixes #11578.
git-svn-id: https://develop.svn.wordpress.org/trunk@12520 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:23:40 +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 3c37b8fe3a Add more orderby and select options to get_comments. Props filosofo. fixes #10668
git-svn-id: https://develop.svn.wordpress.org/trunk@12518 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:16:13 +00:00
Peter Westwood f47ebc68e4 Notice fix. Only return variable references by reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@12517 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:03:04 +00:00
Peter Westwood 1955a840a1 Make the meaning of is_home() more explicit.
git-svn-id: https://develop.svn.wordpress.org/trunk@12516 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:44:57 +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
Peter Westwood 30e399b3e7 Extend the_modified_date() to support before/after/echo. Fixes #11255 props ShaneF.
git-svn-id: https://develop.svn.wordpress.org/trunk@12514 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:22:08 +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 4aee2f753b Sanitize only string and numeric fields in the user object. Props filosofo hakre. fixes #11509 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12511 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:02:06 +00:00
Ryan Boren af9fafc779 Cleanup clean_term_cache(). Props Denis-de-Bernardy. see #11530
git-svn-id: https://develop.svn.wordpress.org/trunk@12510 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 14:37:21 +00:00
Ryan Boren 02ce80a284 Add hierarchical taxonomy handling to wp_set_post_terms(). Props prettyboymp. see #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12509 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 14:25:09 +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 1a98396118 Merging changes from upstream GlotPress revision [351]. Remove unused local variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@12505 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 11:20:18 +00:00