Commit Graph

363 Commits

Author SHA1 Message Date
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Peter Westwood 010f5ed7b2 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 17:05:10 +00:00
Mark Jaquith 0ca7018899 Use the edit_others_posts capability for controlling sticky checkbox display and usage. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8577 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:31:40 +00:00
Ryan Boren 742aa7d933 Sticky Posts, firct cut. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8546 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 05:48:21 +00:00
Ryan Boren 13ff742a0c Eliminate unused var. Props tschai. fixes #7374
git-svn-id: https://develop.svn.wordpress.org/trunk@8397 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-22 15:49:44 +00:00
Ryan Boren 93240aef3b Add med buttons to TinyMCE fullscreen. Props azaozz. fixes #7232
git-svn-id: https://develop.svn.wordpress.org/trunk@8248 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 15:55:45 +00:00
Ryan Boren b0a0139c4d Don't unpublish pages when a user who can edit publised pages but not publish new pages edits a page. Props jeremyclarke. see #6943 #7070 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8034 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 06:44:40 +00:00
Ryan Boren 8c766f4960 Don't unpublish posts when a user edit who can edit publised posts but not publih new posts edits a post. Props jeremyclarke. see #7070 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8032 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-02 21:01:42 +00:00
Ryan Boren 163aa65807 Post revisions API cleanup from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@8011 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 22:21:36 +00:00
Ryan Boren bd67810803 Don't double escape. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7980 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:12:17 +00:00
Ryan Boren 36f755bf12 Add non-existent values instead of returning g false in update_post_meta(). Props filosofo. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7978 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:01:00 +00:00
Ryan Boren a1be16cf86 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7907 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 17:25:07 +00:00
Ryan Boren fec6cabd09 Add editable_slug filter. Props nbachiyski. see #6915
git-svn-id: https://develop.svn.wordpress.org/trunk@7896 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 17:08:13 +00:00
Peter Westwood b0ff8876f0 Revert [7887] see #6915.
git-svn-id: https://develop.svn.wordpress.org/trunk@7891 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 08:15:54 +00:00
Peter Westwood a17ecd3f22 Make international slugs easier to edit. Fixes #6915 props options.
git-svn-id: https://develop.svn.wordpress.org/trunk@7887 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 21:13:42 +00:00
Ryan Boren fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren a9d89696f3 Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7638 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 20:09:45 +00:00
Ryan Boren 373fab4080 Update timestamp when only the minute value is changed. fixes #6456 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7614 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 17:19:43 +00:00
Mark Jaquith 261a876e31 Update timestamp when only the minute value is changed. props johnconners. fixes #6456 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7570 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 06:00:59 +00:00
Mark Jaquith 5e779414fd Clean up the Write Post/Write Page/Edit Comment screens for people without JS. Introduce the hide-if-no-js and hide-if-js automagical classes. fixes #6395
git-svn-id: https://develop.svn.wordpress.org/trunk@7529 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:06:18 +00:00
Mark Jaquith 933afe995a Always show 15 media files per page in the media manager (do not use front-of-house ppp setting). props Denis-de-Bernardy. fixes #6334
git-svn-id: https://develop.svn.wordpress.org/trunk@7458 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 20:03:31 +00:00
Ryan Boren 4dcc023818 ngettext fixes from nbachiyski. fixes #6261
git-svn-id: https://develop.svn.wordpress.org/trunk@7397 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 16:00:09 +00:00
Ryan Boren eae7b967de Display 15 posts. Remove no longer needed add-post AJAX action. Props johnhennmacc. fixes #6264
git-svn-id: https://develop.svn.wordpress.org/trunk@7352 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-17 22:18:32 +00:00
Ryan Boren 56a7acdf15 Better date editing from MarkJaquith. see #6250
git-svn-id: https://develop.svn.wordpress.org/trunk@7338 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 23:05:16 +00:00
Peter Westwood a951a2019b Only replace the last segment of the uri when generating the sample permalink. Fixes #6068.
git-svn-id: https://develop.svn.wordpress.org/trunk@7320 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 21:27:10 +00:00
Ryan Boren 72d53b30d7 Use constant instead of DB option for setting autosave_interval. Props mdawaffe. fixes #6075
git-svn-id: https://develop.svn.wordpress.org/trunk@7165 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 06:07:53 +00:00
Mark Jaquith 5330df3c0a Post slug fixes from nbachiyski. fixes #6072
git-svn-id: https://develop.svn.wordpress.org/trunk@7162 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-05 22:09:28 +00:00
Ryan Boren 9df4b3f641 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7146 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 00:05:30 +00:00
Ryan Boren 4e4e172045 Slug edit fix from nbachiyski. fixes #6072
git-svn-id: https://develop.svn.wordpress.org/trunk@7139 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:02:53 +00:00
Ryan Boren 387f9a1e87 Show page hierarchy when editing page slugs. fixes #6068
git-svn-id: https://develop.svn.wordpress.org/trunk@7133 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 22:15:30 +00:00
Ryan Boren 6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren 5275c7d335 Restrict edit.php searches to posts. No pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@7111 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 22:29:57 +00:00
Ryan Boren 71f274c599 Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: https://develop.svn.wordpress.org/trunk@7109 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 21:49:49 +00:00
Ryan Boren e29306e69c Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7103 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 09:51:36 +00:00
Ryan Boren 7ed364b2ce Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:43:56 +00:00
Ryan Boren da73b7408d Slug edit for pages. Hide advanced slug field if JS enabled. Trigger first autosave after 15 chars. Set autosave interval to 60s. Props filosofo. see #5749
git-svn-id: https://develop.svn.wordpress.org/trunk@6955 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 20:19:34 +00:00
Ryan Boren 908e657b61 Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: https://develop.svn.wordpress.org/trunk@6954 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 17:08:06 +00:00
Ryan Boren 5f85c2dc0c Media Library design updates from Andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6910 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-19 06:13:20 +00:00
Peter Westwood 8fc5c28128 Make sure we can publish private posts. Fixes #5881, #4206.
git-svn-id: https://develop.svn.wordpress.org/trunk@6872 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-16 16:24:52 +00:00
Ryan Boren 8a83872300 Manage->Pages design update
git-svn-id: https://develop.svn.wordpress.org/trunk@6796 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-12 05:51:53 +00:00
Ryan Boren fa8e0c1a62 Use full slug, not abbreviated slug, when editing. Props nbachiyski. fixes #5816
git-svn-id: https://develop.svn.wordpress.org/trunk@6794 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 23:19:09 +00:00
Ryan Boren 4c6d9571f9 Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: https://develop.svn.wordpress.org/trunk@6761 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-08 19:57:50 +00:00
Ryan Boren 71cb9095e4 Fix edit.php h2 text
git-svn-id: https://develop.svn.wordpress.org/trunk@6733 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 21:16:19 +00:00
Ryan Boren dd53dd5b8f First cut at post status menu. Needs style fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@6731 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 20:30:24 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren d04499eccc Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: https://develop.svn.wordpress.org/trunk@6712 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 19:22:14 +00:00
Matt Mullenweg 098e6672e4 Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@6633 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-17 16:51:32 +00:00
Matt Mullenweg e4b2fa59dc Have the bottom boxes be closed by default. Remove the global padding kill from thickbox CSS.
git-svn-id: https://develop.svn.wordpress.org/trunk@6604 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-14 00:20:52 +00:00
Ryan Boren 90d8fb5f30 Save toggle box open/closed state. Props nbachiyski. fixes #5610
git-svn-id: https://develop.svn.wordpress.org/trunk@6584 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 17:46:13 +00:00
Ryan Boren 721b8c930b Remove unused variables. Props DD32. fixes #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 00:29:05 +00:00
Ryan Boren f00acd7eb0 Check publish_posts not edit_published_posts when setting pending status. Props jeremyclarke. fixes #5329
git-svn-id: https://develop.svn.wordpress.org/trunk@6333 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:58:09 +00:00
Ryan Boren e14f9e0d4d Post filter fixes from mdawaffe. fixes #5249
git-svn-id: https://develop.svn.wordpress.org/trunk@6287 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 23:02:24 +00:00
Ryan Boren 770c20562c Eliminate , , and . see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6229 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:12:34 +00:00
Ryan Boren 490789554f jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6213 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:49:42 +00:00
Ryan Boren 5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren 682ac07750 Redirect back to post-new.php when doing a save and continue with empty post fields. fixes #4855
git-svn-id: https://develop.svn.wordpress.org/trunk@5967 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:24:42 +00:00
Ryan Boren 9fe6a868ca Post filter rework. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-11 19:57:43 +00:00
Ryan Boren a4d31e4b3d Protect _wp_page_template too.
git-svn-id: https://develop.svn.wordpress.org/trunk@5733 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 22:42:25 +00:00
Ryan Boren 5cfd6c7543 Prevent editing of protected meta keys.
git-svn-id: https://develop.svn.wordpress.org/trunk@5723 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-18 16:28:11 +00:00
Mark Jaquith 0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
Ryan Boren f1a0a595d7 attribute_escape()s and int casts. see #4333
git-svn-id: https://develop.svn.wordpress.org/trunk@5543 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 09:41:04 +00:00
Ryan Boren 09f70467e0 Admin includes reorg. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 07:16:21 +00:00