Commit Graph

2107 Commits

Author SHA1 Message Date
rob1n 4a16bf61be Add private posts to get_usernumposts() when the current_user_can read_private_posts. Props molecularbear. fixes #3868
git-svn-id: https://develop.svn.wordpress.org/trunk@5190 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:29:44 +00:00
rob1n 7e8754bbd8 Add a function to unify private posts SQL based on capabilities -- get_private_posts_cap_sql().
Usage: get_private_posts_cap_sql($type), where $type is either 'post' or 'page'.

Props molecularbear. fixes #3861


git-svn-id: https://develop.svn.wordpress.org/trunk@5189 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:25:41 +00:00
rob1n 28066a110c Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
git-svn-id: https://develop.svn.wordpress.org/trunk@5187 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 02:54:12 +00:00
rob1n 335777c369 Add DBX to link-add.php. Props Nazgul. fixes #3922
git-svn-id: https://develop.svn.wordpress.org/trunk@5186 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 00:56:28 +00:00
Ryan Boren 8a8e57b000 Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5184 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-05 21:16:02 +00:00
Ryan Boren c81341f3ee Category listing speedups. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5179 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 22:32:24 +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
Mark Jaquith aa82383dc6 Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: https://develop.svn.wordpress.org/trunk@5171 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 19:40:15 +00:00
Matt Mullenweg 3be1be3815 Because of the next we should always do a reset.
git-svn-id: https://develop.svn.wordpress.org/trunk@5170 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:46:05 +00:00
Matt Mullenweg 0b78f9638c Fixes bottlenecks found in filter system using xdebug + kcachegrind. merge_filters was being called 1000+ times.
git-svn-id: https://develop.svn.wordpress.org/trunk@5169 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:03:38 +00:00
Ryan Boren b11b72c851 i18n for quicktags.js. Props Nazgul. fixes #3958
git-svn-id: https://develop.svn.wordpress.org/trunk@5167 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 16:06:19 +00:00
rob1n d57de9f654 Add CSS class in if it's not empty when there's no comments. fixes #2180
git-svn-id: https://develop.svn.wordpress.org/trunk@5165 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:57:13 +00:00
rob1n 616570aadc Run the post titles through the the_title filter. fixes #3366
git-svn-id: https://develop.svn.wordpress.org/trunk@5164 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:40:50 +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 d5776af750 Make most of the buttons a map, helps the write page load faster.
git-svn-id: https://develop.svn.wordpress.org/trunk@5160 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 22:12:35 +00:00
rob1n f4ec57d876 Add exit hook to wp_delete_post(). Props kevinB. fixes #4055
git-svn-id: https://develop.svn.wordpress.org/trunk@5158 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 21:41:08 +00:00
rob1n 5a4c2c68ad Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: https://develop.svn.wordpress.org/trunk@5153 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 19:43:49 +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
Matt Mullenweg 570a74e818 All the query stuff we need for tag= URLs to work.
git-svn-id: https://develop.svn.wordpress.org/trunk@5149 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 06:16:12 +00:00
rob1n 78ed2a6eca Add https:// support to script loader. Props abtime. fixes #4046
git-svn-id: https://develop.svn.wordpress.org/trunk@5145 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 02:47:23 +00:00
rob1n 362760a485 Add missing the_title filter call. Props jhodgdon. fixes #4050
git-svn-id: https://develop.svn.wordpress.org/trunk@5144 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-30 23:46:17 +00:00
rob1n d7d36ff890 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5143 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 04:08:54 +00:00
rob1n 44bb2a71f1 PHPdoc for plugin.php. Props Martin10. fixes #3852
git-svn-id: https://develop.svn.wordpress.org/trunk@5142 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:45:34 +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
rob1n 3b6010f155 Fix months in wp_title(). fixes #4043
git-svn-id: https://develop.svn.wordpress.org/trunk@5137 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:06:16 +00:00
rob1n fcb2f9db91 Add get_sidebar action to get_sidebar(). fixes #1445
git-svn-id: https://develop.svn.wordpress.org/trunk@5136 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:45:29 +00:00
rob1n 9f0ebcd37e Speed (wp_)list_authors by consolidating some queries. Props graeme. fixes #1659
git-svn-id: https://develop.svn.wordpress.org/trunk@5135 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:39:05 +00:00
rob1n 9cfc001d44 Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014
git-svn-id: https://develop.svn.wordpress.org/trunk@5134 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:35:50 +00:00
rob1n f9b141865b Sorry, a little tester got in there. Didn't expect to be committing ;).
git-svn-id: https://develop.svn.wordpress.org/trunk@5133 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:30:27 +00:00
rob1n 26a5cfc7fe Show more relevant titles (current category, date, etc.) in feed titles. fixes #1790
git-svn-id: https://develop.svn.wordpress.org/trunk@5132 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:29:09 +00:00
Ryan Boren 45208447a5 Set EP_ALL to 4095. Props jhodgdon. fixes #3963
git-svn-id: https://develop.svn.wordpress.org/trunk@5131 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:19:42 +00:00
Ryan Boren 924e6679d4 Rewrit endpoint fixes from westi. see #3964
git-svn-id: https://develop.svn.wordpress.org/trunk@5130 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:17:40 +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 51cd99bb02 More clean_url and int casts for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5119 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:45:41 +00:00
Ryan Boren 8a15ffc657 Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
git-svn-id: https://develop.svn.wordpress.org/trunk@5118 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 21:20:16 +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
Ryan Boren 9de70f4145 Add trackback_url filter. Props jhodgdon. fixes #4032
git-svn-id: https://develop.svn.wordpress.org/trunk@5116 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 23:40:49 +00:00
Ryan Boren 0a6d5f8788 Fallback to loading english for tinyMCE if requested locale is not there. see #3882
git-svn-id: https://develop.svn.wordpress.org/trunk@5114 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 22:05:36 +00:00
Matt Mullenweg 644849ac0e If we don't have IDs at this point, bail out. There are no tag defaults. Should fix #4035 though I can't recreate their particular error.
git-svn-id: https://develop.svn.wordpress.org/trunk@5113 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 18:05:28 +00:00
Matt Mullenweg 505c0ad074 Don't show tags on the category page.
git-svn-id: https://develop.svn.wordpress.org/trunk@5112 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 17:25:15 +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
Matt Mullenweg b7debfb42b A backend interface for tagging.
git-svn-id: https://develop.svn.wordpress.org/trunk@5110 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 07:28:29 +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 a2470ad625 Update to latest tinyMCE compressor. Simplify MCE language loading. see #3882
git-svn-id: https://develop.svn.wordpress.org/trunk@5108 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 03:44:35 +00:00
Ryan Boren b4ef10ef85 Fix day display in title. Props phKU. fixes #3801
git-svn-id: https://develop.svn.wordpress.org/trunk@5106 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:47:48 +00:00
Ryan Boren 7d8f8b40f2 Return instead of exit in template-loader. Props Otto42 and Nazgul. fixes #3790
git-svn-id: https://develop.svn.wordpress.org/trunk@5104 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:39:14 +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 6e2d108bf0 Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: https://develop.svn.wordpress.org/trunk@5101 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:18:19 +00:00
Ryan Boren 152256ca63 Fix relative link mangling in clean_url. fixes #4017 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5095 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 23:31:44 +00:00