Commit Graph

154 Commits

Author SHA1 Message Date
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 6ff77fabe3 Don't redirect back to permalink after editing from Edit This link. fixes #7503 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 20:58:00 +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
westi b3cb14fb80 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:05:10 +00:00
azaozz 293f185635 Type error when redirecting after post save, url_to_postid() may return the id as int or str, for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 05:15:36 +00:00
azaozz c61a4db3e5 Stop PHP warnings when $_GET[revision] is not set. Props DD32, see #7437
git-svn-id: http://svn.automattic.com/wordpress/trunk@8508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 12:32:04 +00:00
azaozz 27b762bb8e Add "Page restored" message. Props Viper007Bond, fixes #7437 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 09:18:59 +00:00
ryan e455106cdf 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: http://svn.automattic.com/wordpress/trunk@8034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-03 06:44:40 +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 78bad5259d add_meta_box() for edit page form. Props DD32. see #6964
git-svn-id: http://svn.automattic.com/wordpress/trunk@7948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-18 20:08:18 +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
westi 3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan 123a6091fb Word count from azaozz. see #4807
git-svn-id: http://svn.automattic.com/wordpress/trunk@7854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 19:17:23 +00:00
markjaquith 1e811e8742 Fix redirect issue with null post_ID equaling null url_to_postid(). fixes #6674 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 22:58:36 +00:00
ryan 5ecd57c4de Check publish_pages capability, not publish_posts. Props matthijs. fixes #6777 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 06:48:00 +00:00
ryan 2ca92d8905 Don't run url_to_postid on admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 18:22:33 +00:00
markjaquith e6f396880b 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: http://svn.automattic.com/wordpress/trunk@7529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:06:18 +00:00
ryan 1c0b403516 Redirect consistency when saving pages and posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 18:55:24 +00:00
ryan 93d9dc3c21 s/Post/Page/. Props Denis-de-Bernardy. fixes #6361
git-svn-id: http://svn.automattic.com/wordpress/trunk@7490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 16:38:30 +00:00
westi da305bbce0 Tabindex for the Preview/View links. See #6352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 22:19:25 +00:00
westi 32d28d7be2 Tab index love for Write>Page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 10:29:54 +00:00
markjaquith 44c9c17fe4 Don't show 'Go Back' link for drafts
git-svn-id: http://svn.automattic.com/wordpress/trunk@7439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:35:27 +00:00
markjaquith 62642cb9fe "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: http://svn.automattic.com/wordpress/trunk@7438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:31:12 +00:00
ryan d95e0cf394 s/post/page/. Props xibe and ninjaWR. fixes #6260
git-svn-id: http://svn.automattic.com/wordpress/trunk@7350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 20:42:29 +00:00
markjaquith 0e881155a8 Sync "Last edited" on Edit Page screen to that on Edit Post screen. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 03:34:04 +00:00
markjaquith 0f9573513d Bring Edit Page screen up to parity with Edit Post screen WRT timestamps. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 03:26:53 +00:00
markjaquith 1ef02206f1 Fix reference to page as "post"
git-svn-id: http://svn.automattic.com/wordpress/trunk@7340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 03:18:17 +00:00
westi e65d6369f2 Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 22:57:47 +00:00
westi fe5387bbbc Add an action to allow plugins to add extra related links to the list. Fixes #6232.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 08:40:22 +00:00
ryan d74331ba32 Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: http://svn.automattic.com/wordpress/trunk@7307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 06:14:03 +00:00
ryan 7a1db035a2 Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: http://svn.automattic.com/wordpress/trunk@7304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 23:58:31 +00:00
matt 2085ea1c9a Date display and editing tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 08:17:59 +00:00
westi 0070e011a2 Add description for custom fields on write>page. Fixes #6190 props hansengel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 17:36:26 +00:00
ryan 0b22d34ee6 More TinyMCE color abstraction and new border for title and editor. Props azaozz. fixes #6156
git-svn-id: http://svn.automattic.com/wordpress/trunk@7240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:54:48 +00:00
matt 7f77979b0a Visual and English tweaks throughout.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 07:23:07 +00:00
matt c9b93dc282 Make deletes hover red, rawr.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-07 18:35:24 +00:00
matt 932ffd6ed7 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: http://svn.automattic.com/wordpress/trunk@7181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-07 10:05:54 +00:00
matt 878d16ecc6 Clean up comments links, link to more comments pages not posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 10:09:14 +00:00
ryan 4e45603410 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:05:30 +00:00
ryan 08ed4d3b40 Autosave notice styling from mdawaffe. fixes #6054
git-svn-id: http://svn.automattic.com/wordpress/trunk@7145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:15:34 +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 846991d804 Fix private post toggle
git-svn-id: http://svn.automattic.com/wordpress/trunk@7120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-01 06:26:13 +00:00
ryan d9aef704a1 Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 09:51:36 +00:00
ryan 4ecde2cdbb Set max width on .wrap. Props mt. fixes #6036
git-svn-id: http://svn.automattic.com/wordpress/trunk@7101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 08:08:17 +00:00
ryan 67fd73834b Update 'See Comments on this Page' link
git-svn-id: http://svn.automattic.com/wordpress/trunk@7085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 07:37:15 +00:00
ryan 83908c9078 Add page saved notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 20:53:07 +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 5afb77ccdd Submitbox style changes from mt. see #5949
git-svn-id: http://svn.automattic.com/wordpress/trunk@6969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 03:45:19 +00:00
ryan b666039878 Move submitboxes to be the first thing in the poststuff div. Props fitztrev. fixes #5947
git-svn-id: http://svn.automattic.com/wordpress/trunk@6966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 02:04:17 +00:00
ryan 00336b9a98 Validation fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@6962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 22:26:56 +00:00