Commit Graph

11193 Commits

Author SHA1 Message Date
Ryan Boren 974b6c1ce4 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +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
Peter Westwood deb8c9097b Mark 2nd param of load_plugin_textdomain() as deprecated. Fixes #11679 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12594 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-02 10:28:05 +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 aa0bce07a5 Don't pass deprecated argument to get_bloginfo() in the classic theme. See #11652 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12589 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:19:27 +00:00
Peter Westwood 6c90d0770c Don't pass deprecated argument to get_bloginfo() in get_index_rel_link() also observer user trailing slash preferences. Fixes #11607 props nacin and miqrogroove.
git-svn-id: https://develop.svn.wordpress.org/trunk@12588 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:08:23 +00:00
Peter Westwood c38846defd Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12587 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:05:02 +00:00
Peter Westwood 5a87458f85 Don't pass deprecated argument to comments_number().
git-svn-id: https://develop.svn.wordpress.org/trunk@12586 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:54:28 +00:00
Peter Westwood 12cc58c227 Mark user levels as Deprecated. Fixes #10805 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12585 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:51:32 +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
Andrew Ozz a3da70dfac Add more document file type extensions, props Otto42, dd32, hakre, fixes #7225
git-svn-id: https://develop.svn.wordpress.org/trunk@12581 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 07:59:33 +00:00
Andrew Ozz 3fca305d99 Attempt to detect the correct post enclosure mime type, props josephscott, fixes #11668
git-svn-id: https://develop.svn.wordpress.org/trunk@12580 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 07:36:17 +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 9406273b6a Don't set charset if mysql version does not have the collation cap. Props miqrogroove. see #11666 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12573 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 21:34:12 +00:00
Ryan Boren 36272e0c33 Return empty array instead of null. Props Denis-de-Bernardy. fixes #11661 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12571 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 21:11:18 +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 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