Commit Graph

4626 Commits

Author SHA1 Message Date
ryan
10c5eefc71 Move calendar widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 02:33:08 +00:00
ryan
733e7592c6 Separate widget form and update callbacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 00:59:42 +00:00
ryan
29b11ce0ae Move meta widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:45:16 +00:00
ryan
25db941bb8 Move meta widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:44:30 +00:00
ryan
48000c9225 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: http://svn.automattic.com/wordpress/trunk@10795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:02:40 +00:00
ryan
64e36ff286 Move archives widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 21:44:36 +00:00
azaozz
9f9fcdfa9d Add sort order for the gallery in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@10793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 13:05:09 +00:00
azaozz
c054f27b6e TinyMCE 3.2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@10791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 16:55:49 +00:00
azaozz
922fe713df Fix php warning in widgets.php, props zeronex, fixes #9330
git-svn-id: http://svn.automattic.com/wordpress/trunk@10789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 11:18:09 +00:00
azaozz
5da7e83817 Theme install style tweaks, see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 11:04:34 +00:00
ryan
d80df1030c Prune. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 17:25:59 +00:00
ryan
77518dd6ca Convert pages to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 17:24:11 +00:00
ryan
06f219dc4f Convert search to WP_Widget. Handle upgrade of widgets without settings. Make form and update override optional. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 16:34:08 +00:00
azaozz
9b591073a1 Fix regex in sanitize_email(), props sambauers, see #9316
git-svn-id: http://svn.automattic.com/wordpress/trunk@10783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 01:35:47 +00:00
ryan
5a1c07d42f s/WP_Widgets/WP_Widget/ and move class to widgets.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@10782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 23:18:57 +00:00
azaozz
adf37601bb WP_Widgets: make save_settings() and get_settings() separate methods, convert defined single widgets settings to multi-widget format, small fixes for the Links widget, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 22:27:38 +00:00
ryan
6af5462708 Remove category ordering. Props filosofo. fixes #9228
git-svn-id: http://svn.automattic.com/wordpress/trunk@10779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 22:01:33 +00:00
ryan
cba3b3d41c get_comment_link filter. Props Viper007Bond. fixes #9327
git-svn-id: http://svn.automattic.com/wordpress/trunk@10778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 21:58:18 +00:00
azaozz
2330e2029e Fix regex function in sanitize_email(), see #9316
git-svn-id: http://svn.automattic.com/wordpress/trunk@10777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 19:04:39 +00:00
ryan
b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
ryan
8b11ce3acb Add core_version_check_locale filter. Props nbachiyski. see #8729
git-svn-id: http://svn.automattic.com/wordpress/trunk@10772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 23:37:33 +00:00
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
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
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
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
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
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
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
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
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
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
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
2b430c9751 Links widget options. Props DD32. see #9196
git-svn-id: http://svn.automattic.com/wordpress/trunk@10712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 23:49:21 +00:00
ryan
423b468ebf Check for empty meta keys. Props Denis-de-Bernardy, markedwards. fixes #7953
git-svn-id: http://svn.automattic.com/wordpress/trunk@10711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:59:16 +00:00
ryan
0b1292e1d2 Fix calendar widget when there are no posts. Optimize query. Props Denis-de-Bernardy. fixes #6442
git-svn-id: http://svn.automattic.com/wordpress/trunk@10708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:28:45 +00:00
ryan
ead9ed7938 Add compat for mb_substr rather than mb_strcut. fixes #9055
git-svn-id: http://svn.automattic.com/wordpress/trunk@10707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:05:49 +00:00
ryan
27a7f46249 Allow comments_popup_link() for is_single and is_page. Props AaronCampbell, sivel. fixes #4832
git-svn-id: http://svn.automattic.com/wordpress/trunk@10704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 20:26:56 +00:00
ryan
bf0796d4f8 Deprecate get_category_children(). Props filosofo. fixes #9007
git-svn-id: http://svn.automattic.com/wordpress/trunk@10703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:53:17 +00:00
ryan
a867852888 Use mb_substr instead of mb_strcut in wp_html_excerpt. Props demetris. fixes #9055
git-svn-id: http://svn.automattic.com/wordpress/trunk@10702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:41:18 +00:00
ryan
d7b53ad4f8 Add RSS Error handling functionality to RSS Widget displays. Props DD32. fixes #9273
git-svn-id: http://svn.automattic.com/wordpress/trunk@10697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:24:48 +00:00
westi
303d892aa8 Syncronise the queries used for attachment slug uniqueness checking. Fixes #4396 props futurix and Nazgul.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 08:03:02 +00:00
westi
add8403cec First pass of HTTP Proxy support. See #4011 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 07:28:39 +00:00
ryan
cf07babee1 Add auth_cookie_expiration filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@10691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 22:51:55 +00:00
ryan
a33afa3546 Pass blog charset to html_entity_decode(). Props adferguson. fixes #7563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 18:37:25 +00:00
ryan
8fb1093aad Use WordPress HTTP class for SimplePie requests. Props DD32. fixes #9247
git-svn-id: http://svn.automattic.com/wordpress/trunk@10687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 17:41:01 +00:00
ryan
5d3a29dacd Add auth_redirect action
git-svn-id: http://svn.automattic.com/wordpress/trunk@10685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 23:42:28 +00:00
ryan
d4a2f81323 Fix wp_authenticate_user hook
git-svn-id: http://svn.automattic.com/wordpress/trunk@10683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 22:25:55 +00:00
westi
43ba2effcd Allow a plugin to change the jpeg image quality. Fixes #9245 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 21:55:40 +00:00
ryan
3e3cb817f1 Add some error feedback to ajax comment moderation. see #9261
git-svn-id: http://svn.automattic.com/wordpress/trunk@10681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 21:48:37 +00:00
azaozz
00b6ce601c Fix typo, props sambauers
git-svn-id: http://svn.automattic.com/wordpress/trunk@10678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 00:28:52 +00:00
ryan
ebe8aa4804 Escape hyphen in regex. Props chrisbliss18. fixes #8548 #9244
git-svn-id: http://svn.automattic.com/wordpress/trunk@10676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-01 19:57:37 +00:00
westi
51dc94d250 Make the exit call explicit so that it works. Fixes #9248.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-28 09:30:46 +00:00
ryan
0a90b7aaf9 phpdoc for fetch_feed(). Props rmmcue. see #9198
git-svn-id: http://svn.automattic.com/wordpress/trunk@10671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-28 01:50:47 +00:00
westi
4e787135ea Don't pass defaulted argument to checked(). Fixes #9032 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 22:15:14 +00:00
ryan
0e3ffd1095 Display more theme info. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 21:22:49 +00:00
ryan
a02d6e4179 Use SimplePie for widget and dashboard feeds. First cut. see #9198
git-svn-id: http://svn.automattic.com/wordpress/trunk@10666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 19:32:50 +00:00
ryan
b8d8a346d5 Fix inverted login in get_transient().
git-svn-id: http://svn.automattic.com/wordpress/trunk@10665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 19:21:41 +00:00
westi
b35b81f298 Add (get_)the_modified_author template tags. Fixes #9154 props tomontoast.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 17:54:47 +00:00
westi
420b597cfe Put search string into <title> of search results page. Fixes #9103 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 17:46:13 +00:00
westi
56436d1ffc Fix regression in shortcode behaviour. Fixes #9238 props tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 17:01:59 +00:00
ryan
35afb3b9c7 Hide theme details. See #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-26 07:54:33 +00:00
ryan
5719faff71 Revert get_calendar() changes from [10602]. Broke calendar links. see #8351
git-svn-id: http://svn.automattic.com/wordpress/trunk@10646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 17:09:29 +00:00
ryan
4eb0ba92e3 wp_list_authors fixes. Props hailin. fixes #9229
git-svn-id: http://svn.automattic.com/wordpress/trunk@10644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 01:13:32 +00:00
westi
5a22f22cdc Refactor the ssl blacklisting support info the individual test functions. Fixes #9078 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-24 19:37:02 +00:00
azaozz
05135541be Allow the dashboard widgets to be arranged in up to four columns. The number of columns can be selected from the Screen Options tab.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-24 02:37:22 +00:00
westi
0c17950d3e Better Notice fixing and place a protective cast in the cookie handler. Fixes #9068 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 21:55:49 +00:00
ryan
3f22da5123 Don't trigger wp_login_failed action for empty usernames or passwords.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 17:33:02 +00:00
ryan
2df038fac9 set_object_terms action. Props filosofo. fixes #9216
git-svn-id: http://svn.automattic.com/wordpress/trunk@10637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 17:13:52 +00:00
azaozz
b8b2f2115b Fix wp_tag_cloud 'RAND' when only one tag, props DD32, fixes #9214
git-svn-id: http://svn.automattic.com/wordpress/trunk@10636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 09:12:59 +00:00
azaozz
b4d02c0898 Fix typo and add some documentation to script_loader
git-svn-id: http://svn.automattic.com/wordpress/trunk@10635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 08:47:49 +00:00
ryan
ffb28cf66d Fix notice. Props sivel. fixes #9068
git-svn-id: http://svn.automattic.com/wordpress/trunk@10633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 06:40:03 +00:00
ryan
2238d7148b Remove extra new line after generator. fixes #9095
git-svn-id: http://svn.automattic.com/wordpress/trunk@10630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 05:24:14 +00:00
westi
e82379cee2 Wrap the apply_filters call in a function_exists check as this can be called before it is defined. See #9205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 10:09:30 +00:00
westi
c7f59f6cfe Add support for blocking all outbound HTTP requests. Improve HTTP Api phpdoc. Tidy up the poetry. Fixes #8927 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 09:58:47 +00:00
ryan
1b4ac5206d Escape before passing to insert/update post. Props hailin. fixes #9199 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 00:35:42 +00:00
westi
5930ffdfc4 Allow for the HTTP headers returned by WordPress to be filtered by a plugin. Fixes #9205 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 21:39:06 +00:00
westi
5c4f21c4fe Remove version check against PHP 4.3.0 as this is the minimum version for WordPress. Fixes #9204 for trunk prop filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@10617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 17:22:18 +00:00
azaozz
3b94be427f Fix regex in function rss_enclosure(), fixes #9192
git-svn-id: http://svn.automattic.com/wordpress/trunk@10615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 06:14:52 +00:00
azaozz
6d94947a44 Add CodePress syntax highlighting to Theme and Plugin editors (first run), props beaulebens, see #9173
git-svn-id: http://svn.automattic.com/wordpress/trunk@10614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 02:12:00 +00:00
ryan
44caa31796 Force term ID to be an int. Props filosofo. fixes #9193
git-svn-id: http://svn.automattic.com/wordpress/trunk@10613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 23:31:46 +00:00
ryan
fc660a45a3 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
ryan
76a82a5025 Use mysql_real_escape_string() only in prepare(), insert(), and update(). escape() uses addslashes only. Add array support to escape(). see #9189
git-svn-id: http://svn.automattic.com/wordpress/trunk@10604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:05:12 +00:00
ryan
0a6a9d0024 Add expiration for transients
git-svn-id: http://svn.automattic.com/wordpress/trunk@10603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 02:23:11 +00:00