Commit Graph

802 Commits

Author SHA1 Message Date
ryan 681f0ba58c Add number_format_i18n filter. Props kambiz.k. fixes #7753
git-svn-id: http://svn.automattic.com/wordpress/trunk@11407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 16:08:35 +00:00
markjaquith 3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith 119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
westi f4331cacbd Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 22:32:48 +00:00
ryan a99a8b886f Add option to wp_die to display a go back link. Props nbachiyski. fixes #5167
git-svn-id: http://svn.automattic.com/wordpress/trunk@11342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 17:49:35 +00:00
azaozz 886c680a5d Fix IE 512-byte minimum page length bug, props hakre, fixes #8942
git-svn-id: http://svn.automattic.com/wordpress/trunk@11340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 09:38:43 +00:00
ryan e1fac77dca Give continents-cities their own textdomain. Props nbachiyski, Denis-de-Bernardy . fixes #9794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 20:05:25 +00:00
ryan 4cda93b364 Sort tz continents and cities by translated names. Load translations from separate mo to avoid cluttering default pot. Props Denis-de-Bernardy. see #9794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 18:58:37 +00:00
ryan 1f1a333449 Allow plugins to override tz support enable/disable. Props Otto42. fixes #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@11329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 16:23:20 +00:00
ryan 1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
ryan 646f11e78e Remove stale enclosures. Props mystyman. fixes #6840
git-svn-id: http://svn.automattic.com/wordpress/trunk@11315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 05:15:27 +00:00
ryan 91411dde28 Translate continent and city names for timezone picker. see #9794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 01:04:16 +00:00
ryan c5e2d3dc99 Fix sign of GMT offsets. Props Denis-de-Bernardy. fixes #9758
git-svn-id: http://svn.automattic.com/wordpress/trunk@11288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 00:32:36 +00:00
westi 0c5393432e Update phpDoc for update_option. See #8805 props rmccue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 20:33:59 +00:00
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
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