Commit Graph

9559 Commits

Author SHA1 Message Date
Ryan Boren e2484af8f6 Use two queries to populate all options during install/upgrade instead of 2 times the number of options.
git-svn-id: https://develop.svn.wordpress.org/trunk@10766 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 22:41:33 +00:00
Mark Jaquith 842a28e67c Introducing plugin_dir_path(__FILE__) and plugin_dir_url(__FILE__) ... simple API functions for determining the directory path/url of the current plugin file
git-svn-id: https://develop.svn.wordpress.org/trunk@10765 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 19:50:55 +00:00
Andrew Ozz bcb764b964 Add WP_Widget class, first run - only the Links widget is using it at the moment, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10764 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 19:42:22 +00:00
Ryan Boren a1c34fd65d Reparent children when deleting a comment. Props vladimir_kolesnikov. fixes #9003
git-svn-id: https://develop.svn.wordpress.org/trunk@10762 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 19:02:27 +00:00
Ryan Boren aed84abf2e Create user object. Props mark8barnes. fixes #9309 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10760 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 18:37:53 +00:00
Ryan Boren b49af910e3 Cleanup plugin compatibility messages. Props DD32. fixes #8868
git-svn-id: https://develop.svn.wordpress.org/trunk@10759 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 18:31:55 +00:00
Ryan Boren ae126fa1f8 Remove leading newlines. Props filosofo. fixes #9096
git-svn-id: https://develop.svn.wordpress.org/trunk@10758 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 18:25:04 +00:00
Ryan Boren b3564121ba Show DST info. Map old offest to Etc zones. Props Otto42. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10757 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 16:14:50 +00:00
Ryan Boren 47ddb47954 Filter continents in the first loop. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10756 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 15:26:52 +00:00
Ryan Boren e370b4740f Exclude deprecated timezones. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10755 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 15:24:12 +00:00
Andrew Ozz f4c5df18b4 Move hidden span so it's not copied together with the permalink
git-svn-id: https://develop.svn.wordpress.org/trunk@10754 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 02:14:42 +00:00
Ryan Boren 2e9a9d1426 Timezone support. Props Otto42. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10753 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 00:50:00 +00:00
Peter Westwood 00c4cb1765 Attachment metadata is stored in the summary field in AtomPub requests. Fixes #9148 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@10751 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 22:35:20 +00:00
Peter Westwood c4a79bf9fb Add hooks to allow plugins to extend AtomPub support. Fixes #8827 props znarfor and josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@10750 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 22:17:56 +00:00
Peter Westwood 87a4d2f1cb Allow a plugin to control how many posts are displayed on edit pages. Fixes #9307 props aaroncampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@10749 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 22:14:09 +00:00
Andrew Ozz 0e4478e6c7 Fix values for gallery sort order
git-svn-id: https://develop.svn.wordpress.org/trunk@10748 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 07:02:38 +00:00
Ryan Boren d03ab79a73 rename simplepie.inc to class-simplepie.php. fixes #9295
git-svn-id: https://develop.svn.wordpress.org/trunk@10747 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 00:25:48 +00:00
Andrew Ozz 69d712a4d8 Better Google Chrome "Disable Gears" message, props caesarsgrunt, fixes #7684
git-svn-id: https://develop.svn.wordpress.org/trunk@10746 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 06:53:18 +00:00
Andrew Ozz 7077851ba0 Remember scrollTop in Quicktags, props gmpfree, fixes #9161
git-svn-id: https://develop.svn.wordpress.org/trunk@10745 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 06:10:28 +00:00
Andrew Ozz 0f0186dc3c Add alt text and filter to wp_get_attachment_image(), props Sam_a, fixes #8732
git-svn-id: https://develop.svn.wordpress.org/trunk@10744 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 05:42:17 +00:00
Andrew Ozz e5c78e956f Save RSS feed URL in the Incoming Links widget, props johnbillion, fixes #9299
git-svn-id: https://develop.svn.wordpress.org/trunk@10743 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 05:08:32 +00:00
Andrew Ozz 82cf6e6383 Better error handling and display in the RSS widget, props DD32, fixes #8495
git-svn-id: https://develop.svn.wordpress.org/trunk@10742 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 05:01:26 +00:00
Andrew Ozz 88cae82656 feed_links_extra() DRY, props scribu, fixes #9291
git-svn-id: https://develop.svn.wordpress.org/trunk@10741 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 21:34:01 +00:00
Andrew Ozz 5c0e3673e8 Updated List of HTTP status codes, props Askapache, fixes #9297
git-svn-id: https://develop.svn.wordpress.org/trunk@10740 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 21:05:54 +00:00
Andrew Ozz ec97268ea7 Add RSS Error handling functionality to RSS Widget displays, props DD32, fixes #9273
git-svn-id: https://develop.svn.wordpress.org/trunk@10739 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 19:44:28 +00:00
Ryan Boren 53f495182a Don't show already installed plugins in the Plugins dashboard widget. Props Viper007Bond. fixes #8781
git-svn-id: https://develop.svn.wordpress.org/trunk@10738 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 02:07:24 +00:00
Ryan Boren 738367d88e Support mu-plugins for 'Must Use' autoload plugins
git-svn-id: https://develop.svn.wordpress.org/trunk@10737 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 00:03:40 +00:00
Ryan Boren df0a1ee5c2 Typo fix. Props josephscott. fixes #9294
git-svn-id: https://develop.svn.wordpress.org/trunk@10736 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 23:12:24 +00:00
Ryan Boren c660e9c398 Notice fix. Props ionfish. fixes #9292
git-svn-id: https://develop.svn.wordpress.org/trunk@10735 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 17:09:37 +00:00
Andrew Ozz 56971d703a Don't use mb_* functions to match file extension, fixes #9289
git-svn-id: https://develop.svn.wordpress.org/trunk@10734 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 16:17:57 +00:00
Ryan Boren 88894e7df1 Add index on taxonomy. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@10733 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 08:26:45 +00:00
Ryan Boren 4006d1a355 Order by comment_date_gmt
git-svn-id: https://develop.svn.wordpress.org/trunk@10732 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 08:16:35 +00:00
Ryan Boren a5d73d7a2f Use wpdb::insert() and update(). see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10731 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 05:06:15 +00:00
Ryan Boren 1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Andrew Ozz 52a4f412ba Force-wrap comments in Recent Comments on the dashboard, expand width when no avatar, fixes #9283
git-svn-id: https://develop.svn.wordpress.org/trunk@10729 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 03:20:38 +00:00
Andrew Ozz b27d122fab Add author column to detached media, props scribu, fixes #9282
git-svn-id: https://develop.svn.wordpress.org/trunk@10728 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 02:23:52 +00:00
Ryan Boren e4901ad286 Use 'the_category_rss' template function in Atompub backend. Props znarfor, josephscott. fixes #8829
git-svn-id: https://develop.svn.wordpress.org/trunk@10727 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 02:07:55 +00:00
Ryan Boren a746eb920a Only list field types that are not strings. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10726 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 01:06:00 +00:00
Ryan Boren f6001bffe8 Add some default field types. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10725 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 00:50:19 +00:00
Ryan Boren 5851028d31 Add typecasting to wpdb::insert() and update(). Props filosofo. fixes #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10724 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 23:47:02 +00:00
Ryan Boren c896a6ee7b Initialize post_date_gmt for default post to edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@10723 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 23:06:04 +00:00
Ryan Boren a5740e48a1 post_exists() and comment_exists() fixes. Fixes post duplication during import. Props tott. fixes #8460
git-svn-id: https://develop.svn.wordpress.org/trunk@10722 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 22:16:29 +00:00
Ryan Boren a3ff3cdbf2 Allow passing sustitution args to prepare() as an array. Makes building queries for prepare easier.
git-svn-id: https://develop.svn.wordpress.org/trunk@10721 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 22:15:17 +00:00
Ryan Boren 125fa7591b Fire nopriv actions from post and ajax handlers when user is not logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@10720 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 21:43:35 +00:00
Ryan Boren 3ec5d3c2ef Allow users with edit_posts cap to use ajax tag search. Props yoavf. fixes #8651
git-svn-id: https://develop.svn.wordpress.org/trunk@10719 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 20:30:56 +00:00
Ryan Boren 9b4e1104a9 Escape dot in regex. Props pne, sivel. fixes #9088 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10717 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 20:17:27 +00:00
Ryan Boren f88fdb0935 Limit year field to 4 digits. Props sivel. fixes #9120
git-svn-id: https://develop.svn.wordpress.org/trunk@10716 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 20:15:10 +00:00
Ryan Boren ac819a92ba delete_theme(). see #8678
git-svn-id: https://develop.svn.wordpress.org/trunk@10715 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 19:15:56 +00:00
Ryan Boren f89abfffd2 Add theme delete link. Stub action. see #8678
git-svn-id: https://develop.svn.wordpress.org/trunk@10714 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 18:45:26 +00:00
Ryan Boren 876b7d088b Action links for themes page
git-svn-id: https://develop.svn.wordpress.org/trunk@10713 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 18:32:09 +00:00