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 |