Commit Graph

572 Commits

Author SHA1 Message Date
rob1n c30d0f3c57 Load order fixed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5377 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:52:14 +00:00
rob1n e6ab5d6f99 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: https://develop.svn.wordpress.org/trunk@5376 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:43:57 +00:00
Ryan Boren 9414b0a110 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5370 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 00:32:22 +00:00
rob1n 0cf5f8cf12 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5363 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:58:18 +00:00
rob1n 697a38d8e8 Move widget stuff around. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5360 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:13:06 +00:00
rob1n a40b296021 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: https://develop.svn.wordpress.org/trunk@5308 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 00:49:57 +00:00
rob1n 69e811bb7c Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5304 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:28:39 +00:00
rob1n 642b38246b Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: https://develop.svn.wordpress.org/trunk@5284 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:49:19 +00:00
rob1n 8c25d341d9 Add in another trim(), just in case $frag is actually something.
git-svn-id: https://develop.svn.wordpress.org/trunk@5269 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:19:01 +00:00
rob1n 6d905c3341 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: https://develop.svn.wordpress.org/trunk@5267 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:11:47 +00:00
rob1n eac89c8fdd Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5261 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 22:00:22 +00:00
Ryan Boren d8c8ecb711 Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: https://develop.svn.wordpress.org/trunk@5248 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:27:12 +00:00
rob1n 5327a547db Rollback wonky part of [5193]. see #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5240 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:41:42 +00:00
Ryan Boren e075553eba Tag clouds from mdawaffe. fixes #4129
git-svn-id: https://develop.svn.wordpress.org/trunk@5234 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:52:15 +00:00
rob1n 2ea44df759 Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: https://develop.svn.wordpress.org/trunk@5200 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 01:24:40 +00:00
rob1n 627cf79932 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5193 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 04:21:21 +00:00
Ryan Boren 93cdc6deac Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5178 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 20:44:45 +00:00
Matt Mullenweg f600a397d1 Don't forget the tag_cache
git-svn-id: https://develop.svn.wordpress.org/trunk@5163 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 08:44:10 +00:00
Matt Mullenweg a059392772 Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: https://develop.svn.wordpress.org/trunk@5150 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 09:19:32 +00:00
rob1n 8f07a4c509 Add back in a question mark. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5138 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:24:25 +00:00
Ryan Boren 0d281aa632 Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042
git-svn-id: https://develop.svn.wordpress.org/trunk@5129 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-28 18:10:03 +00:00
Ryan Boren 58efc0e2b2 Change bookmark to link. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5124 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:54:48 +00:00
Ryan Boren 0ba70bb459 Serve robots.txt as text/plain. Props JeremyVisser. fixes #4037
git-svn-id: https://develop.svn.wordpress.org/trunk@5117 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 16:44:36 +00:00
Matt Mullenweg bfb4b8c091 Basic theme support for tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5111 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 08:08:31 +00:00
Ryan Boren 387c06a69f Revert [5102]
git-svn-id: https://develop.svn.wordpress.org/trunk@5109 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 06:13:19 +00:00
Ryan Boren afd5de8f9d Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
git-svn-id: https://develop.svn.wordpress.org/trunk@5102 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:23:52 +00:00
Ryan Boren de3198277a Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: https://develop.svn.wordpress.org/trunk@5093 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 17:45:40 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Mark Jaquith d8336eed5c use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Ryan Boren d2aba83689 More attribute_escape().
git-svn-id: https://develop.svn.wordpress.org/trunk@5044 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 01:20:53 +00:00
Mark Jaquith 096395f366 nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5039 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 23:10:57 +00:00
Ryan Boren 01c199e20c Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: https://develop.svn.wordpress.org/trunk@5032 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 21:31:24 +00:00
Ryan Boren c79783485f Change xmlrpc upload logic. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5008 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 20:14:52 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Ryan Boren 3e08976087 xmlrpc updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4961 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-03 16:56:46 +00:00
Mark Jaquith b3fa98f0d1 attribute_escape() in nonce AYS
git-svn-id: https://develop.svn.wordpress.org/trunk@4951 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 07:15:47 +00:00
Ryan Boren 2f191b4b56 Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: https://develop.svn.wordpress.org/trunk@4934 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-24 07:33:29 +00:00
Ryan Boren 6c6458f7c9 Atom comments feed. First pass. Props kurtmckee and rob1n. fixes #1785
git-svn-id: https://develop.svn.wordpress.org/trunk@4928 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 08:18:30 +00:00
Ryan Boren 9b6a6b632c Relocate feed templates to wp-includes. fixes #3846
git-svn-id: https://develop.svn.wordpress.org/trunk@4927 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 02:50:05 +00:00
Ryan Boren 70e367f72f Use === to compare option values. Props roscohead and Viper007Bond. fixes #3394
git-svn-id: https://develop.svn.wordpress.org/trunk@4920 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 00:49:37 +00:00
Ryan Boren 5816d942f0 xmlrpc updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4908 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-22 01:42:21 +00:00
Ryan Boren 98e9f1ad0a Add WP_Error handling to wp_die(). Props mdawaffe. fixes #3791
git-svn-id: https://develop.svn.wordpress.org/trunk@4892 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-20 01:24:31 +00:00
Ryan Boren 6fea4b0942 specialchars wp_explain_nonce() ouput.
git-svn-id: https://develop.svn.wordpress.org/trunk@4875 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-13 18:19:24 +00:00
Ryan Boren 81cadfe118 Typo fix from charleshooper. fixes #3743
git-svn-id: https://develop.svn.wordpress.org/trunk@4865 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-03 00:56:23 +00:00
Mark Jaquith ea8fc7def2 Introduce Notoptions and Alloptions caching, so that all options (and previously attempted Notoptions) are read from the cache in one go. Should reduce cache misses to zero or close to it. fixes #3726
git-svn-id: https://develop.svn.wordpress.org/trunk@4855 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-01 08:53:08 +00:00
Ryan Boren 3301510db8 Add pre_option_* filter that allows plugins to short-circuit fetches.
git-svn-id: https://develop.svn.wordpress.org/trunk@4842 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 18:34:18 +00:00
Ryan Boren b0f28a6dff Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: https://develop.svn.wordpress.org/trunk@4831 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 01:43:39 +00:00
Mark Jaquith 2fd34af717 Have add_option() for options whose non-existence has been cached clear that cached non-existence before adding the option. Nice catch by Westi. fixes #3692
git-svn-id: https://develop.svn.wordpress.org/trunk@4820 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-27 23:06:46 +00:00
Mark Jaquith 58ee51abe9 Cache the non-existence of options to prevent redundant queries. props davidhouse. fixes #2268
git-svn-id: https://develop.svn.wordpress.org/trunk@4798 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 00:12:08 +00:00
Ryan Boren de62091671 Restrict wp_remote_fopen to remote files.
git-svn-id: https://develop.svn.wordpress.org/trunk@4752 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 18:41:05 +00:00