Commit Graph

5695 Commits

Author SHA1 Message Date
ryan 368b18d383 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: http://svn.automattic.com/wordpress/trunk@6074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:06:52 +00:00
ryan 9fbbf54462 beta3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 01:43:49 +00:00
westi a4a609093e Add importer for Bunny's Technorati Tags plugin. Fixes #4931
git-svn-id: http://svn.automattic.com/wordpress/trunk@6072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 20:30:55 +00:00
ryan d84f590203 References don't work inside foreach in php4. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 19:37:00 +00:00
markjaquith ba6e8f4a92 Actually, we always need to URLencode square brackets... or wp_redirect() will strip them out. see #4935. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:53:34 +00:00
markjaquith 51299852ef Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:34:13 +00:00
markjaquith d59743c972 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: http://svn.automattic.com/wordpress/trunk@6068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:06:21 +00:00
markjaquith 7931d5eca5 Revert [6047] -- we await a better solution. see #4858
git-svn-id: http://svn.automattic.com/wordpress/trunk@6065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-08 17:20:35 +00:00
markjaquith 79c4324e01 Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-08 14:27:24 +00:00
markjaquith 23b1e871a1 Don't show a plugin author byline if no author name has been specified. Props Viper007Bond. fixes #4927
git-svn-id: http://svn.automattic.com/wordpress/trunk@6060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 18:53:56 +00:00
markjaquith 229a52b3a1 focus the cursor when writing a new post. Props foolswisdom and Nazgul. fixes #3936
git-svn-id: http://svn.automattic.com/wordpress/trunk@6059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:56:05 +00:00
markjaquith 6a1c63e2f7 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: http://svn.automattic.com/wordpress/trunk@6058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:43:00 +00:00
markjaquith ead6bfebf7 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: http://svn.automattic.com/wordpress/trunk@6057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:25:54 +00:00
markjaquith 6ecaec3d1f Skip deprecated option replacement in wp-mail.php. props Nazgul. fixes #4924
git-svn-id: http://svn.automattic.com/wordpress/trunk@6056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:07:13 +00:00
markjaquith 95b86a22f5 Don't re-add the deprecated new_users_can_blog option. Props Nazgul. fixes #4923
git-svn-id: http://svn.automattic.com/wordpress/trunk@6055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 01:44:24 +00:00
markjaquith 1ba81b4f02 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 23:27:16 +00:00
markjaquith eb2d6cea06 Upgrade the options table before calling populate_options() to avoid errors. Props Nazgul. fixes #4921
git-svn-id: http://svn.automattic.com/wordpress/trunk@6053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 23:08:25 +00:00
markjaquith 445d7b077f Set guid when creating first post during install. Props Nazgul and rubys. fixes #4894
git-svn-id: http://svn.automattic.com/wordpress/trunk@6052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 23:01:30 +00:00
ryan 8bbd1008f1 Fix term count calculation during upgrade. fixes #4922
git-svn-id: http://svn.automattic.com/wordpress/trunk@6051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 22:56:03 +00:00
ryan 8d33c59576 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: http://svn.automattic.com/wordpress/trunk@6050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 22:07:23 +00:00
markjaquith f851dc2257 Always put the author of the post in the authors dropdown, even if they have since been demoted to a role without post-saving capabilities. fixes #4458
git-svn-id: http://svn.automattic.com/wordpress/trunk@6049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 04:46:56 +00:00
ryan a428494291 Resurrect hide_empty
git-svn-id: http://svn.automattic.com/wordpress/trunk@6048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 04:34:06 +00:00
markjaquith 94973a275b Default to showing published posts on Manage Posts page. fixes #4858
git-svn-id: http://svn.automattic.com/wordpress/trunk@6047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 04:33:35 +00:00
ryan a40345190e Add missing instance var. Props filosofo. see #4806
git-svn-id: http://svn.automattic.com/wordpress/trunk@6046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 23:17:41 +00:00
ryan 827ed61968 Remove redundant declaration ofedInsertContent. Props Viper007Bond. fixes #4902
git-svn-id: http://svn.automattic.com/wordpress/trunk@6045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 23:14:39 +00:00
ryan b5a2f7431e Update pop3 class to latest from squirrelmail. Props westi. see #4337
git-svn-id: http://svn.automattic.com/wordpress/trunk@6044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:55:38 +00:00
ryan 2ee9183f8a Fix comment orphaning in blogger importer. Props andy. fixes #4406
git-svn-id: http://svn.automattic.com/wordpress/trunk@6043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:48:58 +00:00
ryan 7bdf6d6c6e Remove redundant url filter. fixes #4663
git-svn-id: http://svn.automattic.com/wordpress/trunk@6042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:44:58 +00:00
markjaquith bdd9e5e1e4 Use post_date (not post_modified) to check for unpublished posts when showing post listings in admin. fixes #4914
git-svn-id: http://svn.automattic.com/wordpress/trunk@6041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:17:59 +00:00
ryan c5d33cbebd Basic tag cloud widget. Props Stargazer. fixes #4130
git-svn-id: http://svn.automattic.com/wordpress/trunk@6040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 21:50:52 +00:00
markjaquith 98a92950a3 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@6039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 19:20:53 +00:00
markjaquith c8215773ce Fix link to others' drafts from nag. fixes #4912
git-svn-id: http://svn.automattic.com/wordpress/trunk@6038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 18:40:40 +00:00
markjaquith f396867f60 Show "Post #N" for posts without a title in the nag. Props Viper007Bond. fixes #4849
git-svn-id: http://svn.automattic.com/wordpress/trunk@6037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 18:33:45 +00:00
ryan 1760555e8b Don't skip sanitization if 404. Add wp_title display filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 03:11:04 +00:00
ryan 64382fbdc9 mprove desriptions for I18N strings. Props nbachiyski. fixes #4906
git-svn-id: http://svn.automattic.com/wordpress/trunk@6034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 22:50:31 +00:00
westi d7c37c0c02 Improve desriptions for I18N strings. Fixes #4906 props nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@6033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 20:56:08 +00:00
ryan 40527f6ac2 APP taxonomy fixes from rubys. fixes #4904
git-svn-id: http://svn.automattic.com/wordpress/trunk@6032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 17:09:57 +00:00
markjaquith 1e8e248b97 Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:26:18 +00:00
markjaquith ab71cc4a4f Require a slash AND the absence of an equals sign to designate the passed $uri as a base (without a query string). fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:21:54 +00:00
markjaquith 5913b16065 Better $pagenow determination. fixes #4748
git-svn-id: http://svn.automattic.com/wordpress/trunk@6029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 03:21:04 +00:00
markjaquith 2f0e0c8760 Clean up Jerome's Keywords importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@6028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 02:14:34 +00:00
ryan a4f8a52b4e beta2
git-svn-id: http://svn.automattic.com/wordpress/trunk@6027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 01:01:01 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan 87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
westi d38d018ce9 Fix admin css link when installing in a directory. Fixes #4877
git-svn-id: http://svn.automattic.com/wordpress/trunk@6024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 20:20:18 +00:00
ryan 8c8c1cb4f7 Remove unused var. Props johnjosephbachir. fixes #4764
git-svn-id: http://svn.automattic.com/wordpress/trunk@6023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 20:06:27 +00:00
markjaquith e468628526 Check for wp-admin case-insensitively in is_admin()
git-svn-id: http://svn.automattic.com/wordpress/trunk@6022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 19:56:09 +00:00
ryan 58c7ce91e3 Tag unions and intersections. fixes #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 18:14:05 +00:00
markjaquith 6cfdd1934b trim() plugin URL before deciding whether to show a link. props Gary King. fixes #4633
git-svn-id: http://svn.automattic.com/wordpress/trunk@6020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:55:10 +00:00
westi 03d6c4d0ba Change queries in get_{next|previous}_post so that plugins can INNER JOIN on other tables with an ID column. Fixes #4822 props Cimmo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:46:31 +00:00