Commit Graph

261 Commits

Author SHA1 Message Date
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