Commit Graph

247 Commits

Author SHA1 Message Date
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
Andrew Ozz
52c78986b0 Type error when redirecting after post save, url_to_postid() may return the id as int or str, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8530 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 05:15:36 +00:00
Andrew Ozz
fc84847f4c Stop PHP warnings when $_GET[revision] is not set. Props DD32, see #7437
git-svn-id: https://develop.svn.wordpress.org/trunk@8508 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 12:32:04 +00:00
Ryan Boren
4c68e11599 don't show autosave message if post and autosave are 'identical'. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@8175 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 22:25:27 +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
e4440a230d Fix trackback meta box. Props mdawaffe. fixes #7010
git-svn-id: https://develop.svn.wordpress.org/trunk@7967 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 23:46:31 +00:00
Ryan Boren
6c16408dce Put checked categories at the top of the checlist. Props mdawaffe. fixes #7000 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7956 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-19 21:35:18 +00:00
Ryan Boren
349b77ba9c add_meta_box() for edit page form. Props DD32. see #6964
git-svn-id: https://develop.svn.wordpress.org/trunk@7948 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-18 20:08:18 +00:00
Ryan Boren
5bbbce8a6d Add default edit post meta boxes via API. see #6964
git-svn-id: https://develop.svn.wordpress.org/trunk@7930 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-14 08:22:01 +00:00
Ryan Boren
eb744058fb Quick post bookmarklet. First cut. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@7919 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 19:08:39 +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
Peter Westwood
b80f64444a Add ARIA markup for required fields. Fixes #6914 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7888 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 21:28:12 +00:00
Peter Westwood
f70f8d56cc Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:37:06 +00:00
Ryan Boren
67d3c5a09d Word count from azaozz. see #4807
git-svn-id: https://develop.svn.wordpress.org/trunk@7854 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-29 19:17:23 +00:00
Mark Jaquith
c3bc7b30b7 Fix redirect issue with null post_ID equaling null url_to_postid(). fixes #6674 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7794 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 22:58:36 +00:00
Ryan Boren
c72fd439c6 Post revisions from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7747 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 23:38:21 +00:00
Ryan Boren
64393648c9 Don't run url_to_postid on admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@7740 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 18:22:33 +00:00
Ryan Boren
f15d3fc773 Don't query post cats if no post. see #2621
git-svn-id: https://develop.svn.wordpress.org/trunk@7739 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 18:12:04 +00:00
Ryan Boren
7f228f1cd6 wp_category_checklist() and wp_link_category_checklist() to replace the nested cats code. see #2621
git-svn-id: https://develop.svn.wordpress.org/trunk@7737 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 17:41:10 +00:00
Ryan Boren
2d413e83cd Revert [7689], gonna try another approach. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7720 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:32:38 +00:00
Ryan Boren
4dce6df7a7 Preserve author during autosave. fixes #6753 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7708 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:56:37 +00:00
Ryan Boren
97cfa272b0 Demand load the category list. Props mdawaffe. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7689 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:00:52 +00:00
Ryan Boren
14b93694f0 More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7669 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:31:20 +00:00
Mark Jaquith
ff06c87a84 Tags work without JS, so we should not hide them!
git-svn-id: https://develop.svn.wordpress.org/trunk@7544 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 03:02:54 +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
Ryan Boren
ba57072603 Redirect consistency when saving pages and posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@7527 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 18:55:24 +00:00
Matt Mullenweg
df232a0133 Sometimes people have huge numbers of posts, let's always number_format them. Also, additional related link.
git-svn-id: https://develop.svn.wordpress.org/trunk@7485 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 07:10:17 +00:00
Matt Mullenweg
cca0da63c9 Spacing cleanups and fixes. Hat tip: azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@7484 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 06:41:43 +00:00
Peter Westwood
e8088c9af3 Tabindex for the Preview/View links. See #6352.
git-svn-id: https://develop.svn.wordpress.org/trunk@7480 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 22:19:25 +00:00
Peter Westwood
2494516420 Improve the tabindex's on the Write>Post page. Need to do the others too.
git-svn-id: https://develop.svn.wordpress.org/trunk@7472 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 09:14:49 +00:00
Mark Jaquith
a2718cb246 Don't show 'Go Back' link for drafts
git-svn-id: https://develop.svn.wordpress.org/trunk@7439 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 03:35:27 +00:00
Mark Jaquith
29475bd4be "Go back" link for admin-initiated post/page edits. e.g. do a search, edit a post, click the link to go back to the search.
git-svn-id: https://develop.svn.wordpress.org/trunk@7438 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 03:31:12 +00:00
Mark Jaquith
0967f47758 Only show Contributors post stati they can chose. Hide date editing from Contributors (as they cannot use it). fixes #6303
git-svn-id: https://develop.svn.wordpress.org/trunk@7409 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 04:19:58 +00:00
Ryan Boren
98e215a58e Remove dead code
git-svn-id: https://develop.svn.wordpress.org/trunk@7400 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 16:51:43 +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
2d7ba950bc Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@7325 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 22:57:47 +00:00
Peter Westwood
1168abf8f3 Add an action to allow plugins to add extra related links to the list. Fixes #6232.
git-svn-id: https://develop.svn.wordpress.org/trunk@7310 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 08:40:22 +00:00
Ryan Boren
872d374ece Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: https://develop.svn.wordpress.org/trunk@7304 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 23:58:31 +00:00
Matt Mullenweg
1d749413cd Date display and editing tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@7285 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 08:17:59 +00:00
Matt Mullenweg
cb1aa603b4 Remove drafts from Write page.
git-svn-id: https://develop.svn.wordpress.org/trunk@7282 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 07:07:46 +00:00
Ryan Boren
875d0265d4 More TinyMCE color abstraction and new border for title and editor. Props azaozz. fixes #6156
git-svn-id: https://develop.svn.wordpress.org/trunk@7240 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 16:54:48 +00:00
Matt Mullenweg
bde39aec07 Visual and English tweaks throughout.
git-svn-id: https://develop.svn.wordpress.org/trunk@7230 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 07:23:07 +00:00
Matt Mullenweg
1a25889bb9 A number of style tweaks; widen up a little; starting to add contextual help to various forms; catching up unloved forms with new UI guidelines.
git-svn-id: https://develop.svn.wordpress.org/trunk@7181 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-07 10:05:54 +00:00
Matt Mullenweg
26a14e222b Fix some names and order of filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@7170 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 10:23:00 +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
742b6b7ceb Autosave notice styling from mdawaffe. fixes #6054
git-svn-id: https://develop.svn.wordpress.org/trunk@7145 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:15:34 +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
9a7997c931 Fix private post toggle
git-svn-id: https://develop.svn.wordpress.org/trunk@7120 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-01 06:26:13 +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