Commit Graph

5610 Commits

Author SHA1 Message Date
Ryan Boren 59a07b76a9 Don't specialchars markup in term description. fixes #5021
git-svn-id: https://develop.svn.wordpress.org/trunk@6141 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:23:33 +00:00
Mark Jaquith 8e3759d314 Remove non-functioning and misleading "Privacy" label on install. fixes #5012
git-svn-id: https://develop.svn.wordpress.org/trunk@6140 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 21:45:23 +00:00
Mark Jaquith c782de1531 Make sure number_format_i18n() is available before calling it in timer_stop(). fixes #5016
git-svn-id: https://develop.svn.wordpress.org/trunk@6139 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 20:48:34 +00:00
Ryan Boren 6406e9bbeb Extra protection in check_ajax_referer from mdawaffe. fixes #4939
git-svn-id: https://develop.svn.wordpress.org/trunk@6138 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 19:32:34 +00:00
Ryan Boren 6e8eb02d73 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: https://develop.svn.wordpress.org/trunk@6137 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:27:56 +00:00
Mark Jaquith 38a6848169 Put a filter in wp_safe_redirect() so people can whitelist other domains. see #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6136 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:53 +00:00
Ryan Boren 7738085d0f RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@6135 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:27 +00:00
Mark Jaquith 9b5fd1b17c More robust wp_safe_redirect(). Introducing wp_sanitize_redirect() for use in wp_redirect() and wp_safe_redirect(). fixes #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6134 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 03:47:37 +00:00
Ryan Boren 776b930d7f Script loader cleanup from mdawaffe. fixes #5003
git-svn-id: https://develop.svn.wordpress.org/trunk@6133 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 00:51:21 +00:00
Ryan Boren ec05e6cfd7 the_title_attribute(). Props Nazgul. fixes #4731
git-svn-id: https://develop.svn.wordpress.org/trunk@6132 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:50:59 +00:00
Mark Jaquith 421356b6b8 Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6131 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:23:16 +00:00
Ryan Boren 7aabf7336f Fake being in the loop during export so that template tags work.
git-svn-id: https://develop.svn.wordpress.org/trunk@6130 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 18:01:47 +00:00
Ryan Boren b0baf1b7fd Import tags. see #4682
git-svn-id: https://develop.svn.wordpress.org/trunk@6129 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 17:50:21 +00:00
Ryan Boren 7941b7160a Revert rename of more-link class. Props foolswisdom. fixes #4999
git-svn-id: https://develop.svn.wordpress.org/trunk@6128 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:44:35 +00:00
Ryan Boren d06df9ddd6 Replace faulty regex. Props tenpura. fixes #4820
git-svn-id: https://develop.svn.wordpress.org/trunk@6127 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:42:25 +00:00
Ryan Boren 7977cdd349 Drop old tables. Props Nazgul. fixes #4995
git-svn-id: https://develop.svn.wordpress.org/trunk@6126 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:37:21 +00:00
Ryan Boren 5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Mark Jaquith 37d5915b8e Use maybe_unserialize() in get_usermeta(). Props filosofo. fixes #4993
git-svn-id: https://develop.svn.wordpress.org/trunk@6124 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-17 19:19:55 +00:00
Ryan Boren c5c55b7af2 Add tags-input class. Props momo360modena. fixes #4989
git-svn-id: https://develop.svn.wordpress.org/trunk@6123 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 18:25:10 +00:00
Ryan Boren 04187b1efe gettext string. Props tai. fixes #4985
git-svn-id: https://develop.svn.wordpress.org/trunk@6122 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 18:15:03 +00:00
Ryan Boren aed5679ace Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: https://develop.svn.wordpress.org/trunk@6121 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 02:36:23 +00:00
Matt Mullenweg 092bbfb049 Sometimes the $page global is set but it's just an integer, like 1, not an object which we should try to address and put in the cache. The page would work but we'd do spurious wp_cache_add
git-svn-id: https://develop.svn.wordpress.org/trunk@6120 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:52:37 +00:00
Matt Mullenweg c1eda9c8c6 Because we're modifying an existing cache variable we need to do a _set, not an _add, like we do other places we stick multiple cache values in a single var and key.
git-svn-id: https://develop.svn.wordpress.org/trunk@6119 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:50:53 +00:00
Peter Westwood 0675c6fc51 Set svn:eol-style on a few files.
git-svn-id: https://develop.svn.wordpress.org/trunk@6118 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 17:35:32 +00:00
Matt Mullenweg 9a1ce32a53 Incorrect cache group was causing terms never to get cached.
git-svn-id: https://develop.svn.wordpress.org/trunk@6117 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 16:48:29 +00:00
Mark Jaquith a18368bf3f Properly name files with unknown extensions (for people with unfiltered_upload cap, natch). props Nazgul. fixes #4974 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6116 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-14 21:13:23 +00:00
Mark Jaquith f372b1dd05 Canonical fixes: Allow Pages to have /page/x/. Always trailing slash home when it is not paged. Strip extra trailing slashes off of /page/x///
git-svn-id: https://develop.svn.wordpress.org/trunk@6115 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-14 19:41:23 +00:00
Ryan Boren 3db6ccefb0 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: https://develop.svn.wordpress.org/trunk@6114 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 21:27:26 +00:00
Peter Westwood 8b7ae31cb9 Switch to is_callable instead of function_exists to allow for class based importer plugins. Fixes #4614
git-svn-id: https://develop.svn.wordpress.org/trunk@6113 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 20:36:31 +00:00
Mark Jaquith 6f76f4865d Handle ports for canonical redirects. Props driverkt and westi. fixes #4970
git-svn-id: https://develop.svn.wordpress.org/trunk@6112 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:24:05 +00:00
Mark Jaquith 2b72a424fc Just some indent fixes in canonical.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6111 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:12:53 +00:00
Mark Jaquith 5d12c48818 Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: https://develop.svn.wordpress.org/trunk@6110 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 06:23:23 +00:00
Ryan Boren 2e0f3b30e8 s/onChange/onchange/. Props grubgirl, Nazgul. fixes #4630
git-svn-id: https://develop.svn.wordpress.org/trunk@6109 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:33:54 +00:00
Mark Jaquith ff71837a58 De-rabbit-hole compat.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6108 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:24:31 +00:00
Mark Jaquith 15be7fdab8 Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: https://develop.svn.wordpress.org/trunk@6107 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:00:46 +00:00
Ryan Boren 05d9662d3e no follow callback
git-svn-id: https://develop.svn.wordpress.org/trunk@6105 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:51:33 +00:00
Mark Jaquith d2b1b4ec3b Move $wp_header_to_desc array to get_status_header_desc() so that it can be called before vars.php is loaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@6104 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:48:41 +00:00
Mark Jaquith f5821a6ff7 Plugins are not loaded at this point, so the wp_header_to_desc_array filter is useless
git-svn-id: https://develop.svn.wordpress.org/trunk@6103 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:13:32 +00:00
Ryan Boren e0b73aa55a Don't strip slashes from pre. Props DelGurth and mdawaffe. fixes #2059
git-svn-id: https://develop.svn.wordpress.org/trunk@6102 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:11:21 +00:00
Mark Jaquith 7ae0df4b21 Don't set comment_author_email for pings in MT import. fixes #4461
git-svn-id: https://develop.svn.wordpress.org/trunk@6101 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:10:36 +00:00
Mark Jaquith 74cddbcf72 fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6100 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 22:24:28 +00:00
Mark Jaquith 23eba5ca0a Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
git-svn-id: https://develop.svn.wordpress.org/trunk@6099 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 22:19:26 +00:00
Mark Jaquith 41f61e4056 Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6098 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 20:48:21 +00:00
Mark Jaquith 88c31f17b1 Ignore HOST capitalization differences for canonical redirects. props jbctech. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6097 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 20:44:41 +00:00
Peter Westwood 2c1f68efe3 Allow plugins to sanitize there own options easily.
git-svn-id: https://develop.svn.wordpress.org/trunk@6096 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 18:15:29 +00:00
Peter Westwood 41bd579f15 Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: https://develop.svn.wordpress.org/trunk@6095 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 17:46:13 +00:00
Peter Westwood 6eaa87a9a9 Consolidate shared code in get_userdata and get_userdatabylogin. Fixes #2134 props johnjosephbachir
git-svn-id: https://develop.svn.wordpress.org/trunk@6094 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 17:15:17 +00:00
Peter Westwood df7d8eaacd Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.
git-svn-id: https://develop.svn.wordpress.org/trunk@6093 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 16:26:39 +00:00
Ryan Boren 514fb8f764 More phpdoc for taxonomy from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6092 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:56:44 +00:00
Ryan Boren a6fba8edcf Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
git-svn-id: https://develop.svn.wordpress.org/trunk@6091 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:53:27 +00:00