Commit Graph

805 Commits

Author SHA1 Message Date
Ryan Boren
e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Ryan Boren
7643338f75 Standardize on UTC. Props Denis-de-Bernardy. fixes #9793
git-svn-id: https://develop.svn.wordpress.org/trunk@11434 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 18:16:40 +00:00
Ryan Boren
e7323af925 Pass text direction to wp_die(). Allow locales to set text direction in local packages. Props nbachiyski. fixes #6132
git-svn-id: https://develop.svn.wordpress.org/trunk@11408 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:32:22 +00:00
Ryan Boren
ab511830e6 Add number_format_i18n filter. Props kambiz.k. fixes #7753
git-svn-id: https://develop.svn.wordpress.org/trunk@11407 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:08:35 +00:00
Mark Jaquith
ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith
f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Peter Westwood
c98f9104b6 Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@11370 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 22:32:48 +00:00
Ryan Boren
c3bd8ffb66 Add option to wp_die to display a go back link. Props nbachiyski. fixes #5167
git-svn-id: https://develop.svn.wordpress.org/trunk@11342 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 17:49:35 +00:00
Andrew Ozz
35e1460bec Fix IE 512-byte minimum page length bug, props hakre, fixes #8942
git-svn-id: https://develop.svn.wordpress.org/trunk@11340 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 09:38:43 +00:00
Ryan Boren
bf908fe2f1 Give continents-cities their own textdomain. Props nbachiyski, Denis-de-Bernardy . fixes #9794
git-svn-id: https://develop.svn.wordpress.org/trunk@11333 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 20:05:25 +00:00
Ryan Boren
163e71b06e 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: https://develop.svn.wordpress.org/trunk@11332 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 18:58:37 +00:00
Ryan Boren
734685397b Allow plugins to override tz support enable/disable. Props Otto42. fixes #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@11329 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 16:23:20 +00:00
Ryan Boren
c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Ryan Boren
7f57ebe750 Remove stale enclosures. Props mystyman. fixes #6840
git-svn-id: https://develop.svn.wordpress.org/trunk@11315 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 05:15:27 +00:00
Ryan Boren
2e71b19772 Translate continent and city names for timezone picker. see #9794
git-svn-id: https://develop.svn.wordpress.org/trunk@11290 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 01:04:16 +00:00
Ryan Boren
5982580e70 Fix sign of GMT offsets. Props Denis-de-Bernardy. fixes #9758
git-svn-id: https://develop.svn.wordpress.org/trunk@11288 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 00:32:36 +00:00
Peter Westwood
3ddea2e3a4 Update phpDoc for update_option. See #8805 props rmccue.
git-svn-id: https://develop.svn.wordpress.org/trunk@11221 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 20:33:59 +00:00
Mark Jaquith
c638e8d8de _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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz
3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren
d2d104d968 sanitize_file_name() improvements. Props sivel. fixes #9416
git-svn-id: https://develop.svn.wordpress.org/trunk@11178 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 20:20:48 +00:00
Peter Westwood
66f8496f68 Move _cleanup_header_comment() to wp-includes so it is always available. Fixes #8497 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11170 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 09:33:58 +00:00
Andrew Ozz
4a911beaf3 Load the menu folded (if set), load the editor earlier
git-svn-id: https://develop.svn.wordpress.org/trunk@11118 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 05:43:03 +00:00
Ryan Boren
fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren
8822f049a3 Fix wp_nonce_ays() go back link. fixes #7436
git-svn-id: https://develop.svn.wordpress.org/trunk@11059 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 21:08:19 +00:00
Ryan Boren
af2d2e6bfa Eliminate unecessary preg_replace. Props bernzilla, Denis-de-Bernardy. fixes #5624
git-svn-id: https://develop.svn.wordpress.org/trunk@11024 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 22:15:14 +00:00
Ryan Boren
021a12edf6 Fix warning in wp_ob_end_flush_all(). Props richcon. fixes #5109
git-svn-id: https://develop.svn.wordpress.org/trunk@11020 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 20:35:31 +00:00
Ryan Boren
12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Mark Jaquith
c4dc6ef860 Clean up is_blog_installed(), remove redundant or unnecessary code. see #8947
git-svn-id: https://develop.svn.wordpress.org/trunk@10974 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 01:43:53 +00:00
Andrew Ozz
0fa639d585 Don't use get_catname() (deprecated), props filosofo, see #9550
git-svn-id: https://develop.svn.wordpress.org/trunk@10972 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 01:11:31 +00:00
Ryan Boren
fdc0e0b555 Optimize install check by checking alloptions cache before doing a separate query. Props joostdevalk. fixes #8947
git-svn-id: https://develop.svn.wordpress.org/trunk@10958 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:00:39 +00:00
Mark Jaquith
84b875a903 Return false for corrupted serialized strings. props Denis-de-Bernardy. fixes #9549
git-svn-id: https://develop.svn.wordpress.org/trunk@10955 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 21:03:18 +00:00
Ryan Boren
7c02549e4c Allow m4v. Props hailin. fixes #9541
git-svn-id: https://develop.svn.wordpress.org/trunk@10938 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:36:09 +00:00
Ryan Boren
1528af55df Define wp_clone() before loading the cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@10937 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:14:43 +00:00
Ryan Boren
2eae08c088 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: https://develop.svn.wordpress.org/trunk@10931 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 18:31:49 +00:00
Ryan Boren
ce72db431f Add date_i18n filter. Props Denis-de-Bernardy. fixes #9396
git-svn-id: https://develop.svn.wordpress.org/trunk@10897 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 19:56:58 +00:00
Ryan Boren
9a238639a4 Add pre_transient filter
git-svn-id: https://develop.svn.wordpress.org/trunk@10862 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-03 16:19:25 +00:00
Mark Jaquith
a55e87736b PHP Notice fix for non-normative nonce action strings. props Viper007Bond. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@10857 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-01 05:52:05 +00:00
Peter Westwood
9fdd1163b5 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: https://develop.svn.wordpress.org/trunk@10830 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-23 22:05:04 +00:00
Ryan Boren
8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren
90931b60f0 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: https://develop.svn.wordpress.org/trunk@10795 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 22:02:40 +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
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
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
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
Ryan Boren
8bab50a649 Fix inverted login in get_transient().
git-svn-id: https://develop.svn.wordpress.org/trunk@10665 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 19:21:41 +00:00
Peter Westwood
8500070897 Wrap the apply_filters call in a function_exists check as this can be called before it is defined. See #9205.
git-svn-id: https://develop.svn.wordpress.org/trunk@10626 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 10:09:30 +00:00
Peter Westwood
271e0f7742 Allow for the HTTP headers returned by WordPress to be filtered by a plugin. Fixes #9205 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10619 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 21:39:06 +00:00
Peter Westwood
cc6baace8f 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: https://develop.svn.wordpress.org/trunk@10617 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 17:22:18 +00:00