nacin
52f2783331
Use correct var name. Props firebird75. Whitespace cleanup in wp_unique_post_slug(). Fixes #12078 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 02:42:17 +00:00
ryan
f147d89df7
Consult exclude_from_search when retrieving post_status = any. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 22:36:50 +00:00
ryan
98c0c1065b
Remove leading slash so that it doesn't get doubled when front is added. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 21:57:25 +00:00
ryan
ca45669343
Retore p_status. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 20:37:18 +00:00
ryan
ec07eb3768
Add description field for post types. Props ptahdunbar. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 16:52:02 +00:00
westi
41ca2c5621
Ensure we don't mangle the array of post ancestors when sanitising a post for editing. Fixes #12168 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 21:49:00 +00:00
ryan
d0f8826c0b
Add more visibility args to post status registration. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:46:00 +00:00
ryan
9de60f3644
Add a separate show_ui flag for post types. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:27:30 +00:00
ryan
ec8ba1ccd2
Register the auto-draft post status. see #11889
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:09:34 +00:00
westi
9ecd5ff925
Add defaults for 'post_content' and 'post_title' in wp_insert_post(). See #11889 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 14:49:54 +00:00
markjaquith
0f924eee99
Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889 . fixes #11145 . fixes #11990
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
ryan
9f8149616d
ms-functions pruning and cleanup. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:57:32 +00:00
ryan
679a7b5b88
Add taxonomies arg to register_post_type() for registering built-in taxonomies for the post type. Props technosailor. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 19:50:37 +00:00
ryan
d45311c9fb
Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:54:42 +00:00
ryan
5922f7e2c4
Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
ryan
ed24c3dd40
Permalinks for custom post types. Props prettyboymp. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 23:12:26 +00:00
ryan
7cf294e0e1
Update phpdoc to note that the default for public is false. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 18:26:33 +00:00
ryan
40e61f93e5
Change back to an option so that it is always there and regenerate it after cleaning the cache instead of waiting for the next page load. Don't clean taxonomy wide caches when just updating object counts to avoid cleaning when updating a post.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:42:23 +00:00
ryan
decf135295
Update trash and right now links for pages. fixes #11958
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 06:53:33 +00:00
ryan
42d8102a9c
Merge clear_global_post_cache() into clean_post_cache(). fixes #11744
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:45:44 +00:00
ryan
f7d7bc2dd0
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
dd32
7f34057330
Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674 . Fixes #11703
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 11:44:51 +00:00
ryan
6da55f7792
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
ryan
c6737c2f02
register_post_type(). see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 18:49:56 +00:00
ryan
c616e65733
Merge page.php into post.php. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 16:50:37 +00:00
wpmuguru
7b64248bc8
merge in multisite login, wp-includes, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:49:40 +00:00
ryan
25e152a58b
Post type caps. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:23:14 +00:00
westi
03ed98ab17
_future_post_hook should not call _deprecated_argument() as it will always get that argument from the action it is hooked to. Fixes #11815 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 09:55:41 +00:00
westi
cc30f8ad98
Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:51:12 +00:00
ryan
0d31c12db6
Use update and insert. Props DD32. fixes #6836
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 20:13:54 +00:00
ryan
083064e628
Revert extra bits that snuck in with [12650]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:55:48 +00:00
ryan
8c875db5b4
Assume current user of user ID is not passed. Props filosofo. fixes #11808
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:45:57 +00:00
ryan
da89de4958
More custom post type support. Props scribu. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
westi
ff7831207c
Updates and improvements to _depreceated_argument. See #11386 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
ryan
309afc8ad3
Return empty array instead of null. Props Denis-de-Bernardy. fixes #11661 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 21:11:18 +00:00
westi
eb8c1d336e
Update wp_clear_scheduled_hook calls to use array when passing args. Fixes #11590 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 11:24:32 +00:00
westi
f83b446117
Notice fix. Only return variable references by reference.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:03:04 +00:00
ryan
cedfa0181b
Use array calling style. Props Denis-de-Bernardy. see #6647
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
ryan
e7d9a6913a
Add hierarchical taxonomy handling to wp_set_post_terms(). Props prettyboymp. see #10122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:25:09 +00:00
ryan
20162ec029
Delete instead of trash when bulk deleting media. Props nacin. fixes #11455
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 17:14:21 +00:00
westi
8c791aaf60
Check the correct global in get_page and also ensure that the cap check for deleting pages copes for the default page we edit when adding new. Fixes #11203 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 18:01:02 +00:00
ryan
729757afc2
Use correct var name. Props miqrogroove. fixes #10821
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 19:41:41 +00:00
ryan
711994ba4b
Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 18:01:24 +00:00
ryan
41099db69b
Delete custom taxonomy relationships when deleting a post. Props miqrogroove. fixes #10821
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 22:17:28 +00:00
ryan
97bf1f11bd
Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 21:41:52 +00:00
azaozz
c3f7df6b24
Fix notices and phpdoc, props hakre, fixes #10758
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 11:29:54 +00:00
azaozz
5f74404560
Get the right number of pages then excluding a tree, fixes #11205
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 05:22:09 +00:00
ryan
4c1c30fbd6
Don't require titles for attachments. Props caesarsgrunt. fixes #11052
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 16:52:32 +00:00
ryan
a03752fdb4
Check if defined to avoid having to suppress. Props Mittineague, Denis-de-Bernardy. fixes #10525
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 18:47:22 +00:00
azaozz
128927e43b
Limit wp_get_recent_posts() to real/live posts, props josephscott, fixes #11123
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 03:01:22 +00:00
ryan
2892919a51
Fix var name typo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:55:23 +00:00
azaozz
fb0d8b44ee
Fix image meta after editing image, disable the Save button when no changes, fixes #11115
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-11 11:24:01 +00:00
ryan
42d1c20cf6
Add force delete option.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-09 20:12:07 +00:00
westi
9655ccf4d8
Fix delete_post_meta_by_key() so that you can delete postmeta items by key again. Fixes #11100 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-08 11:05:49 +00:00
ryan
33a8043b97
Trash comments when trashing a post. see #11073
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 21:03:09 +00:00
ryan
cf7279320b
Fix comment and postmeta delete queries when deleting a post. see #11073
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-04 17:39:53 +00:00
azaozz
a55fd568d4
Trash undo for the uploader, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 07:09:55 +00:00
azaozz
ea955a4191
Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 20:54:13 +00:00
ryan
ce94d9ca5c
Improve sanitize_post() performance. Perform raw filtering only once. Add filter check to eliminate double filtering. Props johanee. fixes #10972 see #10801
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:28:44 +00:00
markjaquith
529cc9244b
Delete post thumbnail relationships for deleted attachments. props scribu. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 13:58:44 +00:00
ryan
087e3d2376
Use array_intersect_assoc()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-17 16:20:52 +00:00
ryan
bf96c01551
Associate subdirector of whitespace trims trailing whites with pinking shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 20:26:21 +00:00
ryan
e3f1a830d3
Post type registration. Exclude post types added via plugin from searches by default. Introduce register_post_type() and get_post_types(). fixes #10885
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 14:43:05 +00:00
markjaquith
4ead128521
esc_sql() for wp-includes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-27 05:33:56 +00:00
azaozz
ac1deea61c
Improve get_page_hierarchy, props hailin, fixes #10853
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:45:52 +00:00
ryan
ead46cf470
Actions for postmeta updates. Props Demitrious Kelly. see #10750
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:10:28 +00:00
azaozz
48932f96fe
Image Editor improvements, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 01:54:07 +00:00
westi
08374eeaf9
Remove temporary transition code from the trash_meta option to postmeta transition See #4529 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 21:06:41 +00:00
westi
c67e70dd91
First pass commentmeta implementation. See #2659 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:17:33 +00:00
ryan
8e3808bce2
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
azaozz
1c161c23c2
Image editing (first run). Includes code by stephanreiter, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 22:07:33 +00:00
ryan
7886fac111
More add/delete/update actions. Props Demitrious Kelly. see #10750
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 14:43:45 +00:00
azaozz
40771b0bf4
Fix returning to the previous post_status when restoring posts from the trash, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 04:57:29 +00:00
westi
e8b550fd33
Move the storage of the metadata for trashed posts into the post meta table rather than storing it in an option. See #4529 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 22:05:15 +00:00
azaozz
be026258fa
"Trash" updates, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 08:35:24 +00:00
markjaquith
81e0fe00ee
Return an empty array instead of false for get_children() when no children found. props Denis-de-Bernardy. fixes #10053
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 09:31:56 +00:00
azaozz
dc37cd4ce4
Trash status update, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 14:55:07 +00:00
azaozz
39e4f05a15
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
ryan
f7e02a7c22
Pings to the people. Return to pinging for updates to published posts. see #6698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 23:09:47 +00:00
ryan
98e73f0c98
Process waiting pings a half hour after the last ping to avoid spamming ping sites. Don't make a ping wait if the last ping was more than half an hour ago. Props VoxPelli. fixes #6698 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 19:44:21 +00:00
ryan
4d0c574bed
Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 02:44:28 +00:00
ryan
b664e6a452
wp_unique_post_slug() fixes. Props Denis-de-Bernardy. fixes #9726
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 16:21:53 +00:00
azaozz
93895989c8
Revert [11202], see #9726
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 08:58:10 +00:00
ryan
2df887bd07
Trim tailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
ryan
05d4c954ac
Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 17:03:19 +00:00
ryan
c3a0c4d9e2
Use filtered post data. Props Denis-de-Bernardy, sirzooro. fixes #9084
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 15:54:19 +00:00
ryan
603abd463e
Escape posts passed as objects. Props Denis-de-Bernardy. fixes #9727
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 21:27:39 +00:00
ryan
1354d0660a
Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
ryan
f25182f1e5
Clear cache after deleting meta. Props Denis-de-Bernardy. fixes #9009
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 17:10:05 +00:00
westi
c2efcbf94d
Clear future publishing hook on post deletion. Fixes #5364 props develish and Denis-de-Bernardy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 22:17:13 +00:00
westi
9f7ea00b75
Drop raw check in sanitize_post so int fields are always sanitized.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 22:10:45 +00:00
westi
d6b7dc3a8e
Update phpdoc for get_pages() and fix bugs in previous commit.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 09:00:18 +00:00
westi
9e32b2810a
Add paging support to get_pages(). Fixes #4531 props DD32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 08:55:49 +00:00
markjaquith
d7b015645d
esc_js(). Shorter, follows new escaping naming convention.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
westi
abe4bd3f46
Updates phpDoc for the post functions. See #8805 props CharlesClarkson.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 20:49:36 +00:00
markjaquith
6c2ffddf31
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
e631b2d341
Use wp_unique_slug() in wp_insert_attachment(). Props Denis-de-Bernardy. fixes #9726
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 16:39:36 +00:00
ryan
cc3d87bf2b
Always do post status transition actions. Props nbachiyski. fixes #8792
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 05:53:55 +00:00
ryan
b622d954e3
Make post slugs unique across all hierarhical post types. Props Denis-de-Bernardy. fixes #6437
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 19:04:27 +00:00
ryan
2d489767bb
s/attribute_escape/attr/. see #9650
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
430a8cb2cf
Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:42:30 +00:00
ryan
267f508f2f
Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 20:21:18 +00:00
ryan
e20fd21b39
Notice fixes. Props DD32. fixes #9502
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 04:34:44 +00:00
ryan
7d37926ebc
Move deleted_post back. Props Denis-de-Bernardy . see #9422
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 16:10:14 +00:00
ryan
f84839d5af
Fix delete statements to ensure data integrity when innodb and foreign keys are used. Props Denis-de-Bernardy. see #9422
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-31 19:16:53 +00:00
ryan
e8b6fe7347
Trim trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
d43bd8177c
Use wpdb::insert() and update(). Props DD32. see #6836
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
ryan
d6ee6062a6
Add some default field types. see #7171
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 00:50:19 +00:00
ryan
551c0c8af9
Add typecasting to wpdb::insert() and update(). Props filosofo. fixes #7171
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 23:47:02 +00:00
ryan
423b468ebf
Check for empty meta keys. Props Denis-de-Bernardy, markedwards. fixes #7953
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:59:16 +00:00
westi
303d892aa8
Syncronise the queries used for attachment slug uniqueness checking. Fixes #4396 props futurix and Nazgul.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 08:03:02 +00:00
ryan
1b4ac5206d
Escape before passing to insert/update post. Props hailin. fixes #9199 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 00:35:42 +00:00
ryan
0c81ddb8d2
Allow + in mime type regex. Props Sam_a. fixes #8991
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 20:27:30 +00:00
ryan
6dd933b120
Move delete_attachment action up. Props filosofo. fixes #8909
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 21:19:22 +00:00
azaozz
7b2265e598
"Unstick" posts when deleting, fixes #8860
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-15 00:47:56 +00:00
azaozz
15153dd5d6
Fix uploaded media relative links when site has been moved, props DD32, fixes #8705 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-26 02:59:04 +00:00
ryan
8427b2b756
Make sure get_pages cache is an array
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 22:26:57 +00:00
ryan
8a8ac376bf
Allow muliple tag-like taxonomies in the post editor. see #6387
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 19:12:26 +00:00
ryan
d3b9da7025
Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-16 23:50:39 +00:00
ryan
e89192b1a8
Strip trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
918d84ef68
Get all children. Props filosofo. fixes #8527
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 21:00:25 +00:00
ryan
504bc044d8
Check for circular post parent dependencies. Exclude the current post and its children from the parent dropdown.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 19:29:42 +00:00
markjaquith
fc5e8dfe58
Make Password protected and private mutually exclusive when using Quick Edit.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 11:10:24 +00:00
ryan
ae7bb0d440
post_parent dropdown fixes. get_pages() cache fix to eliminate duplicate queries.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 19:19:24 +00:00
ryan
136fbfa1c0
Don't set post_parent default. Props hailin. fixes #8348
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 18:56:46 +00:00
westi
f92c019881
Ensure that thumbnails are removed when the media file is deleted. Fixes #8309 props jacobsantos.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 23:01:28 +00:00
ryan
b6c9d89527
Remove trim. fixes #8252
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 03:06:21 +00:00
azaozz
7cee4f5723
Fix [9714], it breaks get_page()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 15:47:41 +00:00
ryan
40c754df1d
Unused var fixes. Props DD32. see #8220
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:10:35 +00:00
ryan
86702a2520
Notice fixes. Props DD32. see #7509
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 17:56:44 +00:00
ryan
9861eb1a85
Notice fixes from DD32. see #7509
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:01:16 +00:00
ryan
545da15950
Notice fixes from DD32. see #7509
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:54:18 +00:00
azaozz
7c063b0b50
Preview fixes: different method of showing previews for published posts, now uses the proper templates. Fixes #8052
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 13:00:12 +00:00
azaozz
1e4e3ec57e
Do cap check when shoving a preview
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 23:14:37 +00:00
azaozz
9fba444f3b
Preview for both drafts and published posts/pages
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 22:47:07 +00:00
ryan
296afd1941
Preserve attachment IDs during import. Props mtdewvirus. fixes #7972
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 17:05:56 +00:00
westi
1f079aa071
Better variable naming. See #7358 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 22:56:02 +00:00
ryan
2d61441067
Use prepare() in wp_insert_attachment(). Props dwc. fixes #7933
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 21:55:37 +00:00
markjaquith
14aeedc5ef
Update update_post_meta() and delete_post_meta() to work with post revisions. Props misterbisson. fixes #7925
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 05:47:13 +00:00
ryan
782e278c72
Recognize windows absolute paths. see #7904
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 19:48:49 +00:00
ryan
064a9332df
Must pass var by ref. Props x11tech. fixes #7781
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 22:55:30 +00:00
westi
a0f339d3bf
Notice fixes. See #7509 props DD32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 21:08:28 +00:00
ryan
d51c87885a
Add parent arg to get_pages(). Props DD32. fixes #7247
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 00:15:59 +00:00
azaozz
14954d7fca
Fix stripslashes for post metadata, phpDoc updates for media.php, props jacobsantos, fixes #7871
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 02:48:45 +00:00
markjaquith
2dcef9570d
Prevent future posts from publishing early. fixes #7441
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-11 05:46:20 +00:00
azaozz
6ba8661a1f
Fix escaping of post meta, props DD32, fixes #7768
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 09:40:30 +00:00
ryan
9af33a74a9
Suspend cache invalidation while importing posts with WP importer
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 00:50:52 +00:00
ryan
da50360c41
Don't flush rules for every post imported. see #7193
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 22:16:35 +00:00
ryan
65660bd565
Try to preserve post IDs during import
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 21:42:52 +00:00
azaozz
dc564f4792
Quick Edit for Tags, Categories and Link Categories, improvements to handling errors in quick and bulk edit.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 04:43:52 +00:00
markjaquith
15ff2bf868
Do not allow contributors to set the post slug for pending review posts. fixes #7805
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 04:10:54 +00:00
ryan
e40f6e4067
Don't try to assign non-ref return value by ref. Props Sam_a. fixes #7783
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 05:28:05 +00:00
ryan
3cf0e131c8
Set post_date for drafts. see #5698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 20:19:29 +00:00
azaozz
a3e166e324
Remove 'large' image size when deleting attachments, props ShaneF, fixes #7759
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 19:19:15 +00:00
westi
34e6722704
maybe_unserialize the array members not the array when multple post meta items are returned. Fixes #7623 for trunk props andy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 22:04:04 +00:00
ryan
9b02e29a7b
Make attachment file path relative to the upload dir. Don't use GUID to find attachement URL. Props DD32. see #7622
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-02 22:55:39 +00:00
ryan
d927db8f2d
Suppress query filters when called from get_posts(). see #7326 #7547
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 22:30:27 +00:00
ryan
19a1e9682b
Notice fixes. see #7509
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 21:50:11 +00:00
ryan
419db63a01
Rename wp_insert_post filter to wp_insert_post_data to avoid collision. see #5196
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 18:31:35 +00:00
ryan
18459850ef
Typo fix from mdawaffe. fixes #7551 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 22:35:28 +00:00
ryan
42b36e1e64
post.php phpdoc. Props santosj. fixes #7538
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 16:38:06 +00:00
ryan
aaaffe8316
Notice fix. see #7509
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 20:36:09 +00:00
ryan
113c014920
Notice fixes. Props DD32. see #7509
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 17:00:37 +00:00
ryan
15440186be
Add sticky_class() template tag. see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 18:21:52 +00:00
ryan
b76abe33b4
Make sure timestamps are not 0000 when publishing. Props techcookies. fixes #6527
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 16:01:01 +00:00
westi
fa410bb8f4
Give plugins the ability to do extra processing on a post before it is inserted/updated. See #5196 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 05:53:48 +00:00
ryan
35b18e5034
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
markjaquith
74c46749cb
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:31:54 +00:00
ryan
7564143444
Sticky Posts, firct cut. see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 05:48:21 +00:00
azaozz
4d78593e80
Make sure meta is added to the post, not a revision.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 03:50:20 +00:00
ryan
a6ab2ece1d
Store current user rather than original post author when saving revisions. Props mdawaffe. fixes #7317 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:58:24 +00:00
ryan
57ba058017
No need to order results. Props dbuser123. see #7415
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-27 16:58:35 +00:00
ryan
cc829f5f96
Make sure attachment meta data is an array. Props nbachiyski. fixes #7252
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-06 16:40:15 +00:00
ryan
f945453857
phpdoc updates for post.php from jacobsantos. fixes #3982
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 15:32:57 +00:00
ryan
3a3c029662
Don't get post ancestors if post not found. Props Sam_a. fixes #6953
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 21:50:19 +00:00
ryan
b2e75c5194
Don't decode slug in get_page_uri(). Props nbachiyski. fixes #6723
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 18:40:47 +00:00
westi
a9571e003a
PHPdoc updates for wp-includes/post.php. See #7038 props jacobsantos.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 16:31:08 +00:00
ryan
c790febe36
More use of site_url(), admin_url(), and site_url(). Force login and admin links to be https if FORCE_SSL_LOGIN. see #7001
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 07:39:11 +00:00
ryan
e7c4a9de85
get_post_ancestors() fixes. fixes #7029 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-30 20:31:45 +00:00
ryan
0db872b5a1
Post revisions API cleanup from mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 22:21:36 +00:00
ryan
7996d826e3
Fix serialization when adding meta via update_post_meta(). Props azaozz. fixes #7018
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 11:33:11 +00:00
ryan
81a8e065c6
Allow defining the number of revisions to save. Props mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-23 15:27:56 +00:00
ryan
53ecaddb5f
Remove unnecessary checks for the existence of post meta data. Props filosofo. fixes #7018
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 16:33:06 +00:00
ryan
3846bff484
Add non-existent values instead of returning g false in update_post_meta(). Props filosofo. fixes #7018
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:01:00 +00:00
ryan
7b1e56dc06
default is a valid page template. see #6098
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 21:03:10 +00:00
ryan
3c8cb2b079
Revisioning for pages from mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 15:59:17 +00:00
ryan
129d030c20
Move autosave to post revisions. Props mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:25:07 +00:00
ryan
15a9bac5ad
wp_insert_post() -- Validate page template, check return of insert and update queries, add option to return WP_Error. fixes #6227 see #6098
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 23:19:27 +00:00
ryan
a3bc5f60da
Use array calling style. Props DD32. see #6647
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 16:03:27 +00:00
ryan
3d5a874774
get_posts fixes from DD32 and filosofo. see #6772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 15:46:32 +00:00
ryan
d9fd98601e
Use WP_query in get_posts(). Props filosofo. fixes #6772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-03 20:08:32 +00:00
ryan
c75f6c7695
Fix post name check prepare. Props westi. see #6894
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 17:28:19 +00:00
markjaquith
60aab00ba1
Fix typo in wp_save_revision(). props Andy. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 04:41:41 +00:00
ryan
5889755c66
Don't include perm as part of cache key if perm is not used in the query.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 21:26:10 +00:00
ryan
35086b850f
Post revisions from mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 23:38:21 +00:00
ryan
17deb910aa
Fix meta_key and meta_value queries in get_pages(). Props filosofo. fixes #6773 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 22:29:43 +00:00
ryan
38d7abdfea
Move cache cleaning of children to clean_post_cache(). see #6702
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 20:23:50 +00:00
ryan
957a61318b
array_shift() error fixes from DD32. fixes #6499 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:09:51 +00:00
ryan
a60abc0904
Add post ancestors to the cache for the post object. see #6702 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 17:23:17 +00:00
ryan
972851a755
Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:23:29 +00:00
ryan
248a0c06e2
Prepare DB queries in more places. Props filosofo. see #6644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
ryan
132ac51a5a
Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 20:09:45 +00:00
matt
ad1c6ea083
The child should not have to pay for the sins of his father. Caching for children needs to be cleared when parent is edited; if we check for empty and not isset, it never gets better for empty results.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-05 05:54:08 +00:00
markjaquith
6a41b549d0
Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 03:05:49 +00:00
ryan
31d303ea1b
Add default for post_excerpt. see #6355
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 00:58:47 +00:00
ryan
6d0fa72e1d
Remove intermediate images when deleting an attachment. Props tellyworth. fixes #6142
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 23:15:31 +00:00
ryan
c506a8173c
Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 19:48:54 +00:00
matt
e6b01542a5
Don't return early before filtering.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 18:49:56 +00:00
matt
bb22054028
Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 04:17:37 +00:00
ryan
04c9051a7d
Remove trailing whites.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan
884be4169f
Add option to check caps when querying a particular post status. fixes #6052
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 21:49:49 +00:00
ryan
daf37cc98c
Media Library updates from andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 06:54:15 +00:00
ryan
b9d443b574
Introduce get_post_ancestors(). Add current_page_ancestor class to ancestors of the current page. Props AaronCampbell. fixes #5662
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:28:18 +00:00
ryan
77f215393c
fix overuse of default mime icon and re-shuffle mp4/m4a file type matches. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:57:00 +00:00
ryan
1b08613a81
Add some defaults for wp_insert_attachment. fixes #6006
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:51:45 +00:00
ryan
16c4b30145
update mime-to-icon matching and get filename from function instead of guid. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 08:54:11 +00:00
ryan
b49ff57e63
Make sure post has future status before publishing from cron. Props hailin. fixes #5801
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 19:59:12 +00:00
ryan
dce0978cee
Notice fixes from nbachiyski. fixes #5961
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:43:56 +00:00
ryan
c5d19aed9c
Media library work from andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:53:47 +00:00
ryan
2f7d3a377e
Add a default for post_conten_filtered
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:52:51 +00:00
ryan
b09e83ddca
pre_post_update action from tellyworth. fixes #5815
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:46:44 +00:00
ryan
366cfe0d03
Media Library design updates from Andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 06:13:20 +00:00
ryan
c21c9af12a
Reduce queries by wp_count_posts(). Props josephscott. fixes #5820
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 09:30:26 +00:00
ryan
7aa24fb904
Use array keys instead of hard coded list when traversing post fields to sanitize. Props andy. fixes #5836
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:49:23 +00:00
ryan
1edf014a54
s/2.4/2.5/. Props ffemtcj. fixes #5810
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:59:34 +00:00
ryan
b85271e8ed
Add wp_count_posts().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 19:08:14 +00:00
ryan
d88983793b
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
2e8ee3b0e0
Typo fix
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 03:19:34 +00:00
ryan
e5c94063b0
Clear post_meta cache upon change. Props nbachiyski. fixes #5718
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:55:21 +00:00
ryan
e51dd5d7d1
Don't forget to pass the category
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 23:38:30 +00:00
westi
839ea6c294
Fix the updated times when publishing/editing with APP. See #5680 props rubys.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 20:25:08 +00:00
ryan
6afab28342
Refactor login. see #5405
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 19:35:19 +00:00
westi
ac2d661ee9
Add xmlrpc methods to discover the valid post and page statuses. See #5569 props josephscott.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:46:25 +00:00
westi
484a252c4b
Ensure that we preserve GUIDs when importing from RSS. Fixes #5589 props peterjanes.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:27:08 +00:00
westi
1aaec4ff30
Notice fixing for wp-includes. See #5607 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:51:07 +00:00
ryan
1ae1811dd0
Unused var cleanup. Props DD32. see #5418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan
e46b5e6bc2
Port autosave to jquery. Props rmccue. see #3824
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:46:33 +00:00
ryan
0bc86efb8c
set_post_type from filosofo. fixes #4844
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 20:06:00 +00:00
ryan
545e8a3e76
\s is not a valid escape sequence. Props xknown. fixes #5539
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-27 08:09:31 +00:00
ryan
7541abd7e5
Don't do hierarchical if includes specified. Props Kafkaesqui. fixes #5373 for 2.4
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 21:24:03 +00:00
ryan
0da0bf3436
Fetch only post category terms in get_posts(). Props MichaelH. fixes #5317
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 21:21:16 +00:00
ryan
4f92b64b2e
Update term counts when future posts are published. fixes #4913 #5488
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 00:48:49 +00:00
westi
d7d770ef7c
Don't create empty tags. Fixes #5412 props ionfish
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:34:15 +00:00
ryan
8f6268e38b
clean page cache when reparenting pages after deletion. Props hailin. fixes #5457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 20:56:55 +00:00
ryan
c7198d281d
post phpdoc from m0n5t3r and darkdragon. see #3982
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 00:28:34 +00:00
ryan
f0a47b7127
Query page attachments from page requests so that they can both use the same set of rewrite rules. see #3614
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 11:45:55 +00:00
ryan
028a159440
Remove unused vars. Props DD32. see #5418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
ryan
7c033fd82c
Don't save page and attachemtn uris to page_uris and page_attachment_uris. This is not needed. Add an option to use wildcard page rewrite rules instead of per-page rules. see #3614
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-04 00:19:10 +00:00
ryan
b51a0cb0f8
Update page on front settings when deleting the page on front. Props hailin. fixes #5361
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-16 17:39:15 +00:00
ryan
964c6c72c1
Skip sanitization altogether for raw context. Props Quandary. fixes #5325
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-07 06:20:08 +00:00
ryan
52934a6cee
Fix comment typo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-02 00:58:15 +00:00
ryan
c148b6ce78
Make sure ID is set for later update() calls.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-02 00:47:04 +00:00
ryan
fbbbfb9a48
Typo fix from DD32. Fixes uploads. fixes #5302
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 16:20:16 +00:00
ryan
d9bba52a5f
Post timezone to lastpost filters. Props mdawaffe. fixes #5292
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 16:59:05 +00:00
ryan
e236161cf9
wp_get_archives caching. fixes #5275
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-30 06:03:11 +00:00
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
rob1n
96535f8d01
Fix typo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:31:54 +00:00
rob1n
1948792ee1
Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:00:19 +00:00
ryan
9e6ab0a59d
Relocate get_post_tags.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 18:22:54 +00:00
rob1n
7bb92d3873
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: http://svn.automattic.com/wordpress/trunk@5189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:25:41 +00:00
ryan
00e9ff778a
Bit twiddling. Add type bitfield to categories table. see #3723
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-05 21:16:02 +00:00
rob1n
eaac63e0d0
Add exit hook to wp_delete_post(). Props kevinB. fixes #4055
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 21:41:08 +00:00
matt
3eb1182967
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: http://svn.automattic.com/wordpress/trunk@5113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 18:05:28 +00:00
matt
613dbfcffa
A backend interface for tagging.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 07:28:29 +00:00
ryan
e9e3e0787d
Castaways on Gilligan's Isle
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:16:16 +00:00
matt
7602d17899
(int)er the dragon.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan
46fa88baf1
Cast to int
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 23:03:07 +00:00
ryan
5b22739cac
More int casts
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 20:52:29 +00:00
ryan
4bfbba990b
Quote values heading to DB. Cast some ints.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 16:09:44 +00:00
ryan
239b5ba356
Prophylactic casting.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 20:34:01 +00:00
markjaquith
3320dd1380
Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
ryan
8d7839b14c
Standardize on 'url' for fetching the blog's url. Props rob1n. fixes #3623
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 03:05:41 +00:00
markjaquith
d0f79bb3f2
trailing tabs and whitespace cleanup.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
matt
92cf3691ad
Add similar hook as XML-RPC for Atom
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-11 04:32:31 +00:00
markjaquith
690c3604cf
get_post() should check post cache before page cache. fixes #3724
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-31 03:43:02 +00:00
ryan
1ec4dd0209
Revert accidental commit.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 01:46:05 +00:00
ryan
f8c689b4f0
Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 01:43:39 +00:00
markjaquith
c08e55fc61
Make <!--more--> regex non-greedy. Props Curloso and Viper007Bond. fixes #3698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-27 23:31:42 +00:00
ryan
425d2f70b1
Delete page_uris option before updating it to avoid possibly expensive array comparison. #3614
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 20:36:35 +00:00
ryan
9b0816118a
Use cache sets instead of adds. Props andy. fixes #3562
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-11 22:34:18 +00:00
ryan
c5e22b5098
wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-05 20:54:55 +00:00
ryan
6befacf8f7
wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-04 18:16:33 +00:00
ryan
716e89b369
Now with less bugs. fixes #3411
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 19:51:36 +00:00
ryan
cd99ca7b90
Attachment fixes from mdawaffe. fixes #3411
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 19:28:30 +00:00
markjaquith
d0e0ceb748
Move wp_check_for_changed_slugs() to post.php so it can be called in non-admin contexts. fixes #3461
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 17:17:39 +00:00
ryan
203f6c5ab4
Some caching cleanups.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 07:35:45 +00:00
markjaquith
010379dd52
get_page() logic re-ordering and inline comments
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 03:10:47 +00:00
ryan
1b9c2ead05
Fix up get_page cache handling.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 01:06:28 +00:00
ryan
995d839bfb
Attachment data abstraction from mdawaffe. fixes #3440
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:37:19 +00:00
ryan
175dd7bca7
Use get_the_category() within wp_get_post_categories() so that the cache is used. Props markjaquith. fixes #3430
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 06:45:48 +00:00
markjaquith
84ec7763be
change post_parent on orphaned attachments. props ryanscheuermann. fixes #2681
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 14:25:21 +00:00
ryan
ca4b493965
Make sure multiple attachments for the same post have unique permalinks. Props filosofo. fixes #3033
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 23:09:27 +00:00
ryan
30af9648b5
Filter post_content_filtered
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-25 17:54:41 +00:00
markjaquith
64429cec1e
whitespace tidying by Viper007Bond. fixes #3385
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 22:55:28 +00:00
ryan
43fca5536b
Caching fixes and cleanups.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 20:44:03 +00:00
ryan
814a2b0c1c
Key caches by blog ID for those doing the multi blog trick.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 20:39:39 +00:00
matt
226a7a48eb
Caching for get_pages
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 17:21:08 +00:00
matt
64b8121680
Typo in logic was causing extra page queries.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 16:06:16 +00:00
ryan
bb0d086933
get_children() uses get_posts(). Props mdawaffe. fixes #3189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 04:23:12 +00:00
ryan
9f534ebae6
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan
209ca583ff
get_page_by_title()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-26 19:55:10 +00:00