Commit Graph

787 Commits

Author SHA1 Message Date
azaozz 83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan 3072fbb30d sanitize_file_name() improvements. Props sivel. fixes #9416
git-svn-id: http://svn.automattic.com/wordpress/trunk@11178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 20:20:48 +00:00
westi cce77d198a Move _cleanup_header_comment() to wp-includes so it is always available. Fixes #8497 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 09:33:58 +00:00
azaozz 6d535ce0c2 Load the menu folded (if set), load the editor earlier
git-svn-id: http://svn.automattic.com/wordpress/trunk@11118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 05:43:03 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan 07cc34e882 Fix wp_nonce_ays() go back link. fixes #7436
git-svn-id: http://svn.automattic.com/wordpress/trunk@11059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 21:08:19 +00:00
ryan 6843183228 Eliminate unecessary preg_replace. Props bernzilla, Denis-de-Bernardy. fixes #5624
git-svn-id: http://svn.automattic.com/wordpress/trunk@11024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 22:15:14 +00:00
ryan e511111837 Fix warning in wp_ob_end_flush_all(). Props richcon. fixes #5109
git-svn-id: http://svn.automattic.com/wordpress/trunk@11020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 20:35:31 +00:00
ryan a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
markjaquith 9f5a39d759 Clean up is_blog_installed(), remove redundant or unnecessary code. see #8947
git-svn-id: http://svn.automattic.com/wordpress/trunk@10974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 01:43:53 +00:00
azaozz 72456bcdbf Don't use get_catname() (deprecated), props filosofo, see #9550
git-svn-id: http://svn.automattic.com/wordpress/trunk@10972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 01:11:31 +00:00
ryan b8566c75cd Optimize install check by checking alloptions cache before doing a separate query. Props joostdevalk. fixes #8947
git-svn-id: http://svn.automattic.com/wordpress/trunk@10958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:00:39 +00:00
markjaquith 8acacd62a0 Return false for corrupted serialized strings. props Denis-de-Bernardy. fixes #9549
git-svn-id: http://svn.automattic.com/wordpress/trunk@10955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 21:03:18 +00:00
ryan cbb5499088 Allow m4v. Props hailin. fixes #9541
git-svn-id: http://svn.automattic.com/wordpress/trunk@10938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:36:09 +00:00
ryan d2110af1b9 Define wp_clone() before loading the cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:14:43 +00:00
ryan fe648c9e20 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: http://svn.automattic.com/wordpress/trunk@10931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-14 18:31:49 +00:00
ryan 1b975b73c7 Add date_i18n filter. Props Denis-de-Bernardy. fixes #9396
git-svn-id: http://svn.automattic.com/wordpress/trunk@10897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 19:56:58 +00:00
ryan ef9237e7b0 Add pre_transient filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@10862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-03 16:19:25 +00:00
markjaquith e1feb9dc86 PHP Notice fix for non-normative nonce action strings. props Viper007Bond. see #9393
git-svn-id: http://svn.automattic.com/wordpress/trunk@10857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 05:52:05 +00:00
westi ada56c9310 Set a short timeout for the SSL discovery support so that we don't block requests until the attempt timesout. Fixes #9380 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-23 22:05:04 +00:00
ryan e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +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 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
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
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
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 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 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
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
ryan 4290916159 Make can_compress_scripts a site option. Add site option wrappers for WP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 23:38:11 +00:00
azaozz 48d47bee32 Documentation correction: absint(), props mdawaffe, fixes #9079
git-svn-id: http://svn.automattic.com/wordpress/trunk@10540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-10 21:17:44 +00:00
ryan af8ed79529 Add transient_* filter. see #9048
git-svn-id: http://svn.automattic.com/wordpress/trunk@10533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-10 06:26:46 +00:00
azaozz 0d258926e7 Require smilies to be surrounded by spaces or be at the beginning or end of the line, see #6464
git-svn-id: http://svn.automattic.com/wordpress/trunk@10514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-06 03:42:48 +00:00
ryan e8dc44ad07 Cookie support for HTTP API. Props beaulebens. fixes #9049 #9037 #8727
git-svn-id: http://svn.automattic.com/wordpress/trunk@10512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 21:59:37 +00:00
ryan 091b7a876b Revert 10507. Had extra bits in. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 20:47:30 +00:00
ryan 80a6b13f81 HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 20:46:39 +00:00
westi 09f0789e08 Respect the translation argument of mysql2date again. Fixes #9035 and #8989.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 21:45:55 +00:00
ryan 691eaf1f13 Respect time zone when displaying autosave and revision time. Props janbrasna, designsimply. fixes #8750 #6489 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-03 23:04:31 +00:00
westi f03329322c Reduce code in mysql2date. Fixes #8166 props jacobsantos
git-svn-id: http://svn.automattic.com/wordpress/trunk@10408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 21:05:55 +00:00
azaozz b619cefe1d Faster wp_clone function fix, props sambauers, fixes #8844 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-13 14:45:50 +00:00
ryan 4ebcf9c358 Run version_compare only once for wp_clone(). Props sambauers. fixes #8844 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-13 06:31:58 +00:00
ryan 69914b0ae2 Faster smilies. Props johanee. fixes #6464
git-svn-id: http://svn.automattic.com/wordpress/trunk@10322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 18:20:47 +00:00
ryan 0e8d3701eb Remove debug. see #8757
git-svn-id: http://svn.automattic.com/wordpress/trunk@10287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 22:10:41 +00:00
ryan 8b349590bb Turn off magic_quotes_sybase. It prevents addslashes from escaping backslashes. fixes #8757 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 22:09:57 +00:00
ryan dc24f08567 Revert accidentally committed bits
git-svn-id: http://svn.automattic.com/wordpress/trunk@10220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 03:34:29 +00:00
ryan bdb67d76ee is_ssl() improvements. Props johnbillion. fixes #8641 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-17 17:58:07 +00:00