Commit Graph

5625 Commits

Author SHA1 Message Date
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
Ryan Boren 7fd1d0c06d Resurrect admin-functions.php and upgrade-functions.php for back compat. fixes #4956
git-svn-id: https://develop.svn.wordpress.org/trunk@6090 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:36:04 +00:00
Ryan Boren a11b5aa5de Add cat_row filter. Props johnbillion. fixes #4926
git-svn-id: https://develop.svn.wordpress.org/trunk@6089 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 01:08:19 +00:00
Ryan Boren dabc12fd93 Deprecate old links functions. Props rob1n. fixes #3413
git-svn-id: https://develop.svn.wordpress.org/trunk@6088 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 01:01:48 +00:00
Ryan Boren f29d32da27 Resurrect count padding.
git-svn-id: https://develop.svn.wordpress.org/trunk@6087 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 00:49:16 +00:00
Ryan Boren 64bbc52982 Remove duplicate code from wp_insert_attachment(). Update to use sanitize_post. Props Otto42. fixes #4946
git-svn-id: https://develop.svn.wordpress.org/trunk@6086 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 22:27:36 +00:00
Mark Jaquith 7eea02c12c Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6085 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 21:21:40 +00:00
Peter Westwood e0a59804ee Allow the wp_mail filter to change the passed data. Fixes #4511 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@6084 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 20:49:28 +00:00
Peter Westwood c3b56d7710 Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion
git-svn-id: https://develop.svn.wordpress.org/trunk@6082 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 20:05:52 +00:00
Ryan Boren 4c85971b2e Remove reference to the_quicktags. Props Nazgul. fixes #4925
git-svn-id: https://develop.svn.wordpress.org/trunk@6081 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 19:56:40 +00:00
Ryan Boren e08ead79c9 If a category is already a tag, don't put it in the list of categories to convert. fixes #4955
git-svn-id: https://develop.svn.wordpress.org/trunk@6080 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 19:54:19 +00:00
Ryan Boren dc582d68d8 Retain default category when converting categories to tags. fixes #4845
git-svn-id: https://develop.svn.wordpress.org/trunk@6079 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 19:33:35 +00:00
Peter Westwood 0ede772210 Fix tab order when edit comments. Props Nazgul fixes #4726
git-svn-id: https://develop.svn.wordpress.org/trunk@6078 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 19:08:26 +00:00
Ryan Boren c373b9c880 Use setup_postdata instead of deprecated start_wp. fixes #3188
git-svn-id: https://develop.svn.wordpress.org/trunk@6077 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:56:16 +00:00
Ryan Boren a3a3332714 Add tags to export. see #4682
git-svn-id: https://develop.svn.wordpress.org/trunk@6076 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:35:21 +00:00
Ryan Boren 951354b6bc Add user_nicename key to users table. fixes #4937
git-svn-id: https://develop.svn.wordpress.org/trunk@6075 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:13:56 +00:00
Ryan Boren 11ed527c0d Set tag_id to first tag in multi tag queries. Have single_cat_title() fallback to single_tag_title() if is_tag so that existing category templates will work with tags. fixes #4506
git-svn-id: https://develop.svn.wordpress.org/trunk@6074 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:06:52 +00:00
Ryan Boren 2df3796380 beta3
git-svn-id: https://develop.svn.wordpress.org/trunk@6073 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 01:43:49 +00:00
Peter Westwood dd1332fdaf Add importer for Bunny's Technorati Tags plugin. Fixes #4931
git-svn-id: https://develop.svn.wordpress.org/trunk@6072 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 20:30:55 +00:00
Ryan Boren 5bd5234f8d References don't work inside foreach in php4. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6071 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 19:37:00 +00:00
Mark Jaquith 605d95b344 Actually, we always need to URLencode square brackets... or wp_redirect() will strip them out. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6070 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:53:34 +00:00
Mark Jaquith f88ae978d1 Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6069 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:34:13 +00:00
Mark Jaquith 4292b0af36 Strip index.php/ before adding it in get_pagenum_link(). Insert index.php/ for the first page when blog is on a page. fixes #4945
git-svn-id: https://develop.svn.wordpress.org/trunk@6068 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:06:21 +00:00
Mark Jaquith cf23955caa Revert [6047] -- we await a better solution. see #4858
git-svn-id: https://develop.svn.wordpress.org/trunk@6065 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-08 17:20:35 +00:00
Mark Jaquith ed03cc32dc Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6064 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-08 14:27:24 +00:00
Mark Jaquith 41be365adf Don't show a plugin author byline if no author name has been specified. Props Viper007Bond. fixes #4927
git-svn-id: https://develop.svn.wordpress.org/trunk@6060 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 18:53:56 +00:00
Mark Jaquith be0bf5b459 focus the cursor when writing a new post. Props foolswisdom and Nazgul. fixes #3936
git-svn-id: https://develop.svn.wordpress.org/trunk@6059 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:56:05 +00:00
Mark Jaquith 25facccea1 Correctly set REQUEST_URI for IIS setups that put that info into SCRIPT_NAME as well as PATH_INFO. props snakefoot and Nazgul. fixes #4853
git-svn-id: https://develop.svn.wordpress.org/trunk@6058 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:43:00 +00:00
Mark Jaquith d065fe3cb8 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: https://develop.svn.wordpress.org/trunk@6057 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:25:54 +00:00
Mark Jaquith 1b56625a0d Skip deprecated option replacement in wp-mail.php. props Nazgul. fixes #4924
git-svn-id: https://develop.svn.wordpress.org/trunk@6056 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:07:13 +00:00
Mark Jaquith 63a17a989a Don't re-add the deprecated new_users_can_blog option. Props Nazgul. fixes #4923
git-svn-id: https://develop.svn.wordpress.org/trunk@6055 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 01:44:24 +00:00
Mark Jaquith bb7b7901b9 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6054 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 23:27:16 +00:00
Mark Jaquith 2ba7c9b6c1 Upgrade the options table before calling populate_options() to avoid errors. Props Nazgul. fixes #4921
git-svn-id: https://develop.svn.wordpress.org/trunk@6053 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 23:08:25 +00:00
Mark Jaquith aeb86060e6 Set guid when creating first post during install. Props Nazgul and rubys. fixes #4894
git-svn-id: https://develop.svn.wordpress.org/trunk@6052 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 23:01:30 +00:00
Ryan Boren e15b5fd1fa Fix term count calculation during upgrade. fixes #4922
git-svn-id: https://develop.svn.wordpress.org/trunk@6051 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 22:56:03 +00:00
Ryan Boren 836ea54d21 Case terms to int so we don't try to create new terms with the term ids as the names. fixes #4920
git-svn-id: https://develop.svn.wordpress.org/trunk@6050 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 22:07:23 +00:00