Commit Graph

9662 Commits

Author SHA1 Message Date
ryan
7ceebc2a27 Improved is_email() and sanitize_email(). Props sambauers. fixes #9316 #4616
git-svn-id: http://svn.automattic.com/wordpress/trunk@10769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 15:26:34 +00:00
ryan
04a572f4a7 Set autoload in populate options query
git-svn-id: http://svn.automattic.com/wordpress/trunk@10768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 01:07:12 +00:00
ryan
d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
ryan
2f4b8b8566 Use two queries to populate all options during install/upgrade instead of 2 times the number of options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 22:41:33 +00:00
markjaquith
df58ca2a41 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: http://svn.automattic.com/wordpress/trunk@10765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 19:50:55 +00:00
azaozz
8247b5df4f Add WP_Widget class, first run - only the Links widget is using it at the moment, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 19:42:22 +00:00
ryan
45e76b1b55 Reparent children when deleting a comment. Props vladimir_kolesnikov. fixes #9003
git-svn-id: http://svn.automattic.com/wordpress/trunk@10762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 19:02:27 +00:00
ryan
dd98e4f40f Create user object. Props mark8barnes. fixes #9309 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:37:53 +00:00
ryan
4b729c6cba Cleanup plugin compatibility messages. Props DD32. fixes #8868
git-svn-id: http://svn.automattic.com/wordpress/trunk@10759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:31:55 +00:00
ryan
c1e2c5a074 Remove leading newlines. Props filosofo. fixes #9096
git-svn-id: http://svn.automattic.com/wordpress/trunk@10758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:25:04 +00:00
ryan
a4963d5ff4 Show DST info. Map old offest to Etc zones. Props Otto42. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 16:14:50 +00:00
ryan
4510a068d4 Filter continents in the first loop. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 15:26:52 +00:00
ryan
61b14efeba Exclude deprecated timezones. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 15:24:12 +00:00
azaozz
7c018a31cf Move hidden span so it's not copied together with the permalink
git-svn-id: http://svn.automattic.com/wordpress/trunk@10754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 02:14:42 +00:00
ryan
d8c9781995 Timezone support. Props Otto42. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 00:50:00 +00:00
westi
447298f038 Attachment metadata is stored in the summary field in AtomPub requests. Fixes #9148 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:35:20 +00:00
westi
0abd25b516 Add hooks to allow plugins to extend AtomPub support. Fixes #8827 props znarfor and josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:17:56 +00:00
westi
d66daa8a98 Allow a plugin to control how many posts are displayed on edit pages. Fixes #9307 props aaroncampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@10749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:14:09 +00:00
azaozz
0acdb66f83 Fix values for gallery sort order
git-svn-id: http://svn.automattic.com/wordpress/trunk@10748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 07:02:38 +00:00
ryan
fa16c202bc rename simplepie.inc to class-simplepie.php. fixes #9295
git-svn-id: http://svn.automattic.com/wordpress/trunk@10747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 00:25:48 +00:00
azaozz
7eb895310a Better Google Chrome "Disable Gears" message, props caesarsgrunt, fixes #7684
git-svn-id: http://svn.automattic.com/wordpress/trunk@10746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-08 06:53:18 +00:00
azaozz
6afab9b294 Remember scrollTop in Quicktags, props gmpfree, fixes #9161
git-svn-id: http://svn.automattic.com/wordpress/trunk@10745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-08 06:10:28 +00:00
azaozz
565dba7c8f Add alt text and filter to wp_get_attachment_image(), props Sam_a, fixes #8732
git-svn-id: http://svn.automattic.com/wordpress/trunk@10744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-08 05:42:17 +00:00
azaozz
519356e97a Save RSS feed URL in the Incoming Links widget, props johnbillion, fixes #9299
git-svn-id: http://svn.automattic.com/wordpress/trunk@10743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-08 05:08:32 +00:00
azaozz
6198cca609 Better error handling and display in the RSS widget, props DD32, fixes #8495
git-svn-id: http://svn.automattic.com/wordpress/trunk@10742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-08 05:01:26 +00:00
azaozz
2416f426d9 feed_links_extra() DRY, props scribu, fixes #9291
git-svn-id: http://svn.automattic.com/wordpress/trunk@10741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 21:34:01 +00:00
azaozz
957fa2e686 Updated List of HTTP status codes, props Askapache, fixes #9297
git-svn-id: http://svn.automattic.com/wordpress/trunk@10740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 21:05:54 +00:00
azaozz
a2fccc011b Add RSS Error handling functionality to RSS Widget displays, props DD32, fixes #9273
git-svn-id: http://svn.automattic.com/wordpress/trunk@10739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 19:44:28 +00:00
ryan
98462ab1b6 Don't show already installed plugins in the Plugins dashboard widget. Props Viper007Bond. fixes #8781
git-svn-id: http://svn.automattic.com/wordpress/trunk@10738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 02:07:24 +00:00
ryan
3bf4ed1758 Support mu-plugins for 'Must Use' autoload plugins
git-svn-id: http://svn.automattic.com/wordpress/trunk@10737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 00:03:40 +00:00
ryan
e70c54c967 Typo fix. Props josephscott. fixes #9294
git-svn-id: http://svn.automattic.com/wordpress/trunk@10736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 23:12:24 +00:00
ryan
a077c70d52 Notice fix. Props ionfish. fixes #9292
git-svn-id: http://svn.automattic.com/wordpress/trunk@10735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 17:09:37 +00:00
azaozz
e97a2c3e90 Don't use mb_* functions to match file extension, fixes #9289
git-svn-id: http://svn.automattic.com/wordpress/trunk@10734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 16:17:57 +00:00
ryan
3c803da070 Add index on taxonomy. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 08:26:45 +00:00
ryan
db7e77a251 Order by comment_date_gmt
git-svn-id: http://svn.automattic.com/wordpress/trunk@10732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 08:16:35 +00:00
ryan
c1886783d1 Use wpdb::insert() and update(). see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 05:06:15 +00:00
ryan
d43bd8177c Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
azaozz
6405b50953 Force-wrap comments in Recent Comments on the dashboard, expand width when no avatar, fixes #9283
git-svn-id: http://svn.automattic.com/wordpress/trunk@10729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 03:20:38 +00:00
azaozz
5ebd95e257 Add author column to detached media, props scribu, fixes #9282
git-svn-id: http://svn.automattic.com/wordpress/trunk@10728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 02:23:52 +00:00
ryan
e89d747f7a Use 'the_category_rss' template function in Atompub backend. Props znarfor, josephscott. fixes #8829
git-svn-id: http://svn.automattic.com/wordpress/trunk@10727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 02:07:55 +00:00
ryan
cb712c991d Only list field types that are not strings. see #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 01:06:00 +00:00
ryan
d6ee6062a6 Add some default field types. see #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 00:50:19 +00:00
ryan
551c0c8af9 Add typecasting to wpdb::insert() and update(). Props filosofo. fixes #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 23:47:02 +00:00
ryan
801705a502 Initialize post_date_gmt for default post to edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 23:06:04 +00:00
ryan
35eb4bca32 post_exists() and comment_exists() fixes. Fixes post duplication during import. Props tott. fixes #8460
git-svn-id: http://svn.automattic.com/wordpress/trunk@10722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 22:16:29 +00:00
ryan
34d455832d Allow passing sustitution args to prepare() as an array. Makes building queries for prepare easier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 22:15:17 +00:00
ryan
33de670823 Fire nopriv actions from post and ajax handlers when user is not logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 21:43:35 +00:00
ryan
583b8d5cb5 Allow users with edit_posts cap to use ajax tag search. Props yoavf. fixes #8651
git-svn-id: http://svn.automattic.com/wordpress/trunk@10719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 20:30:56 +00:00
ryan
7559d9a766 Escape dot in regex. Props pne, sivel. fixes #9088 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 20:17:27 +00:00
ryan
db1eb66625 Limit year field to 4 digits. Props sivel. fixes #9120
git-svn-id: http://svn.automattic.com/wordpress/trunk@10716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 20:15:10 +00:00