ryan
|
0e0ebbba23
|
Move all page and post caches to 'posts' cache group.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-15 20:11:30 +00:00 |
|
ryan
|
363eae9d76
|
Add some clean cache hooks
git-svn-id: http://svn.automattic.com/wordpress/trunk@6248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-14 04:55:33 +00:00 |
|
ryan
|
bd5d107814
|
Allow single post ID and comma delimited list of post IDs to be passed to update_postmeta_cache(). Fix default cache to allow storage of empty array. see #5194
git-svn-id: http://svn.automattic.com/wordpress/trunk@6247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-14 01:08:07 +00:00 |
|
markjaquith
|
4a43a0b353
|
Some foreach array casting
git-svn-id: http://svn.automattic.com/wordpress/trunk@6242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-13 05:33:39 +00:00 |
|
markjaquith
|
14c3ea37ca
|
Forget about 4th update() param -- only accept named array. Roll out more insert()/update() and various cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-13 02:36:38 +00:00 |
|
markjaquith
|
1d883e1b9c
|
Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-13 00:54:26 +00:00 |
|
markjaquith
|
05e68a8676
|
More use of db_insert()/db_update(). see #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-13 00:48:52 +00:00 |
|
ryan
|
62d3a12280
|
Eliminate , , and . see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-12 21:12:34 +00:00 |
|
markjaquith
|
c5f9186919
|
Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-10 22:01:40 +00:00 |
|
markjaquith
|
90da0b6561
|
Revert partial prepare() implementation. Needs to be all or nothing. Props xknown. fixes #5145
git-svn-id: http://svn.automattic.com/wordpress/trunk@6216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-09 23:16:35 +00:00 |
|
ryan
|
b8febc8501
|
Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-08 22:25:33 +00:00 |
|
ryan
|
3211ab1d54
|
Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-03 16:27:07 +00:00 |
|
markjaquith
|
21c25b5566
|
prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-02 18:45:47 +00:00 |
|
ryan
|
72e74add8d
|
Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: http://svn.automattic.com/wordpress/trunk@6155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-22 16:30:40 +00:00 |
|
ryan
|
76fee1da02
|
Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: http://svn.automattic.com/wordpress/trunk@6121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-16 02:36:23 +00:00 |
|
matt
|
1e127b413c
|
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: http://svn.automattic.com/wordpress/trunk@6120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-15 21:52:37 +00:00 |
|
ryan
|
c06e70516a
|
Remove duplicate code from wp_insert_attachment(). Update to use sanitize_post. Props Otto42. fixes #4946
git-svn-id: http://svn.automattic.com/wordpress/trunk@6086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-11 22:27:36 +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
|
d330ec7e34
|
delete_post_meta_by_key() from Mark Jaquith. fixes #4178
git-svn-id: http://svn.automattic.com/wordpress/trunk@5976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-29 19:12:20 +00:00 |
|
ryan
|
200f0b020f
|
Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801
git-svn-id: http://svn.automattic.com/wordpress/trunk@5918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-22 22:30:06 +00:00 |
|
ryan
|
ba0f401390
|
bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-20 22:50:04 +00:00 |
|
markjaquith
|
2af150e496
|
Avoid running get_posts filter twice. Props DD32. fixes #4712
git-svn-id: http://svn.automattic.com/wordpress/trunk@5855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-08 04:24:44 +00:00 |
|
markjaquith
|
5c83a39e33
|
Clear old future post cron entry before creating the authoritative one. Props Barry. fixes #4710
git-svn-id: http://svn.automattic.com/wordpress/trunk@5853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-08 04:08:06 +00:00 |
|
ryan
|
401f581879
|
Don't forget to filter post_category
git-svn-id: http://svn.automattic.com/wordpress/trunk@5817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-07-24 22:29:41 +00:00 |
|
ryan
|
460ddd3a1d
|
Eliminate post_pingback stuff since we always use default_pingback_flag. fixes pingback problems caused by [5797] for #4620
git-svn-id: http://svn.automattic.com/wordpress/trunk@5806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-07-16 23:11:51 +00:00 |
|
ryan
|
c140ccb72d
|
Fix variable name. Props bgracewood. fixes #4621
git-svn-id: http://svn.automattic.com/wordpress/trunk@5797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-07-12 16:00:51 +00:00 |
|
ryan
|
ebf520f0d7
|
Post filter rework. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-07-11 19:57:43 +00:00 |
|
ryan
|
21e8f43f8c
|
Don't create '0' categories. fixes #4413
git-svn-id: http://svn.automattic.com/wordpress/trunk@5739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-20 22:06:29 +00:00 |
|
ryan
|
e2dc2a8dd3
|
Add some taxonomy validation. Rearrange funcs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-19 00:33:44 +00:00 |
|
ryan
|
9d3d20f063
|
Use EXTR_SKIP when extracting. see #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 22:45:40 +00:00 |
|
markjaquith
|
7f44512c5d
|
Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 16:24:28 +00:00 |
|
ryan
|
2f09416258
|
Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 02:25:30 +00:00 |
|
markjaquith
|
cf2b700d93
|
Make sure post titles longer than 200 chars get unique slugs. fixes #4433. props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-12 20:49:40 +00:00 |
|
ryan
|
fbe9b4d76e
|
Abstract object term cache a bit more. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-31 21:38:33 +00:00 |
|
ryan
|
df1a8696d5
|
Some term caching. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-30 03:36:59 +00:00 |
|
ryan
|
6a314d85d8
|
Use taxonomy instead of post2cat. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-29 16:52:31 +00:00 |
|
ryan
|
c09ea05543
|
Use API instead of SELECT. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-29 04:26:36 +00:00 |
|
ryan
|
c816b51b8c
|
Fix object term relationship deletion and count updating.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-27 05:15:18 +00:00 |
|
ryan
|
2918f50e90
|
Term cache work. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-26 23:32:06 +00:00 |
|
ryan
|
80ce3031d1
|
Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-26 18:54:16 +00:00 |
|
ryan
|
0e05576999
|
Set and get post cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-23 18:07:53 +00:00 |
|
ryan
|
6ecc901391
|
Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-22 20:39:26 +00:00 |
|
ryan
|
634a33c206
|
Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-22 05:12:38 +00:00 |
|
rob1n
|
24399dcbfb
|
Seeing double. Good spot momo360modena. fixes #4251 for 2.1, 2.2 and 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-12 19:47:47 +00:00 |
|
rob1n
|
e6c189902c
|
Use wp_parse_args(). fixes #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-11 03:10:05 +00:00 |
|
ryan
|
f651ce93c3
|
tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-15 02:26:26 +00:00 |
|
ryan
|
0e28e967ad
|
Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: http://svn.automattic.com/wordpress/trunk@5248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-12 02:27:12 +00:00 |
|
rob1n
|
43c0541e81
|
<!--more--> regex fixes. Props Nazgul. fixes #3698
git-svn-id: http://svn.automattic.com/wordpress/trunk@5244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-11 22:47:36 +00:00 |
|
ryan
|
b6c49e3023
|
Allow passing an empty tag set to wp_set_post_tags() so all tags can be removed from a post. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-11 18:04:49 +00:00 |
|
ryan
|
246db4315f
|
s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-10 18:30:55 +00:00 |
|