Commit Graph

610 Commits

Author SHA1 Message Date
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
dd32
810775c865 Move nonces into better locations, Currently nested within the Editor support, which is not always enabled. Props duck_. Fixes #12867
git-svn-id: http://svn.automattic.com/wordpress/trunk@14148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:23:03 +00:00
nacin
6ec7cb4540 Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
nacin
f0a9c50f18 Escape some permalinks. add_query_arg will &, not &, so we need to use esc_url those when used in an attribute. fixes #12126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:01:19 +00:00
nacin
340acf8263 Don't enqueue unnecessary scripts when the post type doesn't support the editor. fixes #12590, props scribu, _duck.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 14:03:48 +00:00
nacin
1c25af8cb6 Add actions to the form tags of user-new, user-edit, and post edit. props sivel, fixes #11933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 13:57:57 +00:00
nacin
baa8cd08bb Fix display of 'enter title here'. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:27:46 +00:00
nacin
d05e120d44 Add 'enter title here' text to title box. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 10:23:17 +00:00
ryan
7095a9b0d3 Move wp-ajax_add-tax hook back to registration. Reverts part of [13924]. see #10437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 17:07:30 +00:00
dd32
ee058cca62 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: http://svn.automattic.com/wordpress/trunk@13940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:12:49 +00:00
dd32
44ae35ec09 Use the taxonomy show_ui flag to control if all WordPress generated UI is exposed (Menu previously, This affects metaboxes). See #10437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 01:23:58 +00:00
markjaquith
e64f2d30f0 Use correct post type label in a few key places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 20:14:26 +00:00
ryan
81d6e1e8b3 Allow enabling/disabling title and editor per post type. Introdoce remove_post_type_support(). Add enable/disable for author override. Props scribu. fixes #12590
git-svn-id: http://svn.automattic.com/wordpress/trunk@13710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 21:16:41 +00:00
ryan
fcbca58853 wp_get_shortlink() and pluggable shortlink generation. fixes #10640
git-svn-id: http://svn.automattic.com/wordpress/trunk@13635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 19:36:38 +00:00
dd32
35cdac687c More Taxonomy cap checks. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:26:44 +00:00
markjaquith
0f924eee99 Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
ryan
d45311c9fb Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:54:42 +00:00
ryan
5922f7e2c4 Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
ryan
6eb6fbf151 Don't hardcode post type. Props typeomedia. fixes #12067
git-svn-id: http://svn.automattic.com/wordpress/trunk@12887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:21:26 +00:00
dd32
32adec13a9 First scratch at Taxonomy Capabilities. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@12833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:32:04 +00:00
ryan
b1b44019ff Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 19:30:05 +00:00
ryan
94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
dd32
7f34057330 Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674. Fixes #11703
git-svn-id: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 11:44:51 +00:00
ryan
05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
ryan
6ce726545b Always use post.php for form action. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 19:03:03 +00:00
ryan
c616e65733 Merge page.php into post.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 16:50:37 +00:00
ryan
ad30e86462 Merge edit-page-form.php into edit-form-advanced.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:42:45 +00:00
ryan
25e152a58b Post type caps. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:23:14 +00:00
ryan
083064e628 Revert extra bits that snuck in with [12650]
git-svn-id: http://svn.automattic.com/wordpress/trunk@12651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:55:48 +00:00
ryan
8c875db5b4 Assume current user of user ID is not passed. Props filosofo. fixes #11808
git-svn-id: http://svn.automattic.com/wordpress/trunk@12650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:45:57 +00:00
ryan
da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
azaozz
4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
ryan
c6bba74d06 Remove target from view post/page links. Props scribu. fixes #11406
git-svn-id: http://svn.automattic.com/wordpress/trunk@12406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 18:36:57 +00:00
markjaquith
bf264bb66d Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
ryan
1c90385918 Allow registering post image support per post type. fixes #11364
git-svn-id: http://svn.automattic.com/wordpress/trunk@12350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 15:39:20 +00:00
markjaquith
f74935eb92 More standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:24:32 +00:00
markjaquith
0415ab7b42 Standardize around "post image" instead of "post thumbnail"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
markjaquith
408b217622 Reverting [12324] and [12322] after some discussion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 04:31:44 +00:00
markjaquith
8b8dbd3205 Display Post/Page Thumbnail meta box even if theme does not support it -- just display an info message. props janeforshort
git-svn-id: http://svn.automattic.com/wordpress/trunk@12322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:02:51 +00:00
markjaquith
a8c96db902 Introducing add_theme_support(feature) and current_theme_supports(feature) for announcing and checking theme support for various features. Implement it for post/page thumbanils, hiding UI if not supported.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 05:27:39 +00:00
azaozz
c790ebcdd9 Remove remains from the old bookmarklet code
git-svn-id: http://svn.automattic.com/wordpress/trunk@12029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 05:53:49 +00:00
azaozz
b2966fba30 Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 10:02:42 +00:00
azaozz
bc9fb32835 Open View/Preview post in a new window from the link in the Saved/Updated message, cleanup messages code, add Draft updated for Pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-11 00:37:26 +00:00
azaozz
3d1fa0d0d1 Show "Draft updated" instead of "Post updated" when saving drafts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 07:24:05 +00:00
markjaquith
d7a30e235f First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
westi
2918ccefd5 Better feedback on publishing of future posts and pages. Fixes #10711 based on patch from scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 21:15:20 +00:00
westi
e2a720ee12 Refactor the meta boxes out of the edit pages and into an include file. See #9674 props wnorris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 17:37:40 +00:00
azaozz
4105845402 Stop direct loading of files in wp-admin that should only be included, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-03 00:04:45 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan
1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
markjaquith
bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
ryan
f14028d743 Better excerpt text and linkage. Props demetris, Denis-de-Bernardy. fixes #9371
git-svn-id: http://svn.automattic.com/wordpress/trunk@11267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:36:43 +00:00
markjaquith
d7b015645d esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
azaozz
0ba921274d Change CSS classes to avoid collisions with ui.tabs, fixes #9740
git-svn-id: http://svn.automattic.com/wordpress/trunk@11224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 21:31:07 +00:00
markjaquith
6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz
12924135ce Add wpspin_light and wpspin_dark spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 18:57:43 +00:00
azaozz
84591d777c Some cleanup for edit-page-form.php and edit-form-advanced.php, props simek, fixes #9501
git-svn-id: http://svn.automattic.com/wordpress/trunk@11183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 02:14:25 +00:00
ryan
808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
azaozz
6c74505f59 Make tags accessible without js on the edit screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 12:13:44 +00:00
ryan
87b704d710 Clean up save mssage. see #8713
git-svn-id: http://svn.automattic.com/wordpress/trunk@11159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-02 21:44:09 +00:00
ryan
ef0b1dc621 Add labels to text inputs. see #9445
git-svn-id: http://svn.automattic.com/wordpress/trunk@11152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 21:52:34 +00:00
azaozz
d409315d8c Add wpspin.gif and replace all spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 19:43:22 +00:00
ryan
922fd9cdc0 Add labels to titles. see #9445
git-svn-id: http://svn.automattic.com/wordpress/trunk@11149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 17:54:05 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
c2ff1cd44a Some attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 23:09:08 +00:00
azaozz
67d841770a Add "code" class to more URL input fields, props johnbillion, fixes #8383
git-svn-id: http://svn.automattic.com/wordpress/trunk@10995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-18 06:47:56 +00:00
azaozz
29f9a48eaa CSS cleanup and fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 04:41:05 +00:00
azaozz
8c7f6cb6ee Fix flash upload button, right sidebar on write pages in IE6
git-svn-id: http://svn.automattic.com/wordpress/trunk@10865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 10:21:43 +00:00
azaozz
52cddcbd2f Fix typo, props hakre, fixes #9431
git-svn-id: http://svn.automattic.com/wordpress/trunk@10854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 00:14:38 +00:00
azaozz
61ff5addca jQuery 1.3.2 and UI 1.7.1, may still have some regressions, add screen columns setting to the write/edit post/page screen options, fixes #8867
git-svn-id: http://svn.automattic.com/wordpress/trunk@10834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 14:29:22 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
azaozz
361b70792f Fully escape Post/Page titles, props Viper007Bond, fixes #9322
git-svn-id: http://svn.automattic.com/wordpress/trunk@10787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 07:59:12 +00:00
ryan
0bf194de3b Use _x() and extracted comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 19:20:19 +00:00
westi
4e787135ea Don't pass defaulted argument to checked(). Fixes #9032 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 22:15:14 +00:00
azaozz
12676c8e03 Show comments on the Edit Post screen in separate postbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@10480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-02 03:41:19 +00:00
azaozz
981ae0bb18 Show the permalink even when not "pretty" and add "View Post" button if the post is published, see #8976
git-svn-id: http://svn.automattic.com/wordpress/trunk@10458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-29 12:11:52 +00:00
azaozz
1c9353ad2e Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: http://svn.automattic.com/wordpress/trunk@10348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-12 13:43:17 +00:00
azaozz
e7b78b9292 Fix tags postboxes when no js
git-svn-id: http://svn.automattic.com/wordpress/trunk@10345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-10 15:10:06 +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
azaozz
5fec33de25 Show "Post submitted" message when contributors submit a post for review, props mdawaffe, fixes #8519
git-svn-id: http://svn.automattic.com/wordpress/trunk@10094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 03:39:00 +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
bc8627c841 Hide slug box by default. Allow turning it on via screen options. fixes #8332
git-svn-id: http://svn.automattic.com/wordpress/trunk@9956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 22:35:01 +00:00
azaozz
7c68e6945a Screen icons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 13:51:25 +00:00
ryan
a313f9ee63 Comment screen tweaks. see #8344
git-svn-id: http://svn.automattic.com/wordpress/trunk@9879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 21:11:05 +00:00
ryan
ceee359abf Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: http://svn.automattic.com/wordpress/trunk@9871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 18:33:04 +00:00
westi
61fb6ea540 Give context to more translations to allow for differentiation between plural noun, verb and adjective translations. Fixes #8154 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 18:16:44 +00:00
markjaquith
481f264e04 Remove errant nbsps
git-svn-id: http://svn.automattic.com/wordpress/trunk@9806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 03:29:44 +00:00
markjaquith
15bc8f4e74 Remove Visbility stubs since I actually did it for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@9755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 08:43:31 +00:00
azaozz
a4da82e877 CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:01:00 +00:00
ryan
54f3e3561d Swap Save Draft and Preview button locations
git-svn-id: http://svn.automattic.com/wordpress/trunk@9723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 19:33:20 +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
azaozz
818ef0d5f4 Preview button: add permalink as a fallback and remove "View Post" when no js, see #8096
git-svn-id: http://svn.automattic.com/wordpress/trunk@9711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 10:42:28 +00:00
markjaquith
9928e82e36 Do not show Media Upload buttons in Visual Editor if user lacks the capabilities to upload files. fixes #8110
git-svn-id: http://svn.automattic.com/wordpress/trunk@9660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 07:45:11 +00:00
markjaquith
41b43c1d03 Visibility section for the Publish Module for Pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 19:31:39 +00:00
markjaquith
d6c4fac277 Visibility section of Publish Module for Posts. Pages later.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 18:36:48 +00:00
ryan
cc7c443f62 Move screen_meta() to admin header. Add all meta boxes before requiring admin-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 22:40:16 +00:00
ryan
e635db2ee6 Discussion and Send Trackbacks meta boxes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:25:30 +00:00
azaozz
330e07bfa4 Move error notice to the top of Custom Fields postbox, props Simek, fixes #8138
git-svn-id: http://svn.automattic.com/wordpress/trunk@9608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 12:12:34 +00:00
ryan
bf433456ce Don't show category adder to users without manage_categories cap. fixes #8114
git-svn-id: http://svn.automattic.com/wordpress/trunk@9574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 23:10:31 +00:00
azaozz
ea03719b8b Styling for custom fields
git-svn-id: http://svn.automattic.com/wordpress/trunk@9564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 02:15:53 +00:00
ryan
88d2ecbb4e screen_meta() fixes. Show Help on more pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 22:21:27 +00:00
ryan
0e20f26fe7 Add view link to publish notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@9555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 21:26:11 +00:00
azaozz
268c7cdd71 Help tab
git-svn-id: http://svn.automattic.com/wordpress/trunk@9545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 08:13:50 +00:00
ryan
7663bd0168 Move notices below h2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 19:17:22 +00:00
azaozz
8d65096069 Add "Choose from popular tags" to the tags postbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@9518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 23:15:59 +00:00
ryan
2fdde1e736 Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 03:22:24 +00:00
markjaquith
ef37aa39aa Update to publish box styles. More horizontal room, consistent button placement, better for i18n, better wording.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 07:06:36 +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
4a2fb422f3 Default privacy box to the side
git-svn-id: http://svn.automattic.com/wordpress/trunk@9448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 21:48:00 +00:00
markjaquith
8be1ba6191 Disable "Visibility" placeholder for now. Propagate new Publish box formatting and functionality to Edit Page form.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 05:38:31 +00:00
ryan
166ccef6c3 Revert [9413]
git-svn-id: http://svn.automattic.com/wordpress/trunk@9414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 15:50:21 +00:00
azaozz
016942b825 Better comments listing, props Matt
git-svn-id: http://svn.automattic.com/wordpress/trunk@9413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 12:24:11 +00:00
markjaquith
0e01062062 Publish postbox layout tweaks for Main Column Mode.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 03:50:23 +00:00
markjaquith
3a0dc54a26 More work on Publish postbox. Post status tweaks, post date tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 19:22:56 +00:00
markjaquith
c9db5d9061 Publish box tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@9398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 08:19:15 +00:00
markjaquith
3eb1cd5ade Numerous Publish postbox tweaks, fixes, and flourishes. Still WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@9394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 06:00:22 +00:00
azaozz
da113155e8 Write page styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 10:59:26 +00:00
markjaquith
8b07a301c5 More work on publishing module. WIP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 06:07:59 +00:00
azaozz
2e6d9f228e Attach 'Screen Options' button to the sliding layer and related changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 01:22:24 +00:00
markjaquith
682428cda9 Screen Options tab, rough draft
git-svn-id: http://svn.automattic.com/wordpress/trunk@9319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 10:29:07 +00:00
ryan
33f8a5e080 Introduce normalize_whitespace(). Use it instead of wp_text_diff() when checking for identical autosave revisions. Props tellyworth. fixes #7691
git-svn-id: http://svn.automattic.com/wordpress/trunk@9302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 20:03:16 +00:00
azaozz
408600ce58 Postboxes drag/drop for all browsers, some base css fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 22:08:58 +00:00
markjaquith
b9a948d5b5 Initial work on Publish box. Very rough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 04:36:35 +00:00
azaozz
a8f998d914 Comments post-box: show 10 comments at load only if the postbox is not hidden
git-svn-id: http://svn.automattic.com/wordpress/trunk@9241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 17:00:20 +00:00
markjaquith
4d2d655490 Covering our XSS bases
git-svn-id: http://svn.automattic.com/wordpress/trunk@9233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:06:22 +00:00
azaozz
b7959c1d28 Comments post-box: show comments on the currently edited post with ajax, 20 at a time
git-svn-id: http://svn.automattic.com/wordpress/trunk@9225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 09:44:22 +00:00
ryan
d457e3d181 Bring back h2 for add/edit post
git-svn-id: http://svn.automattic.com/wordpress/trunk@9221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 00:36:18 +00:00
ryan
2b74b0ad04 Punt media box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 17:29:38 +00:00
ryan
13212c4b3b Remove dead markup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 17:09:41 +00:00
ryan
9ce46d3937 phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
ryan
637cca38da Draggable dash, first cut. Props mdawaffe. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 23:32:34 +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
azaozz
28d9d8fde9 Move Page Options button to the header
git-svn-id: http://svn.automattic.com/wordpress/trunk@9054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:32:27 +00:00
ryan
6ba60d72ad Show Publish Immediately instead of dave time for drafts. fixes #7806
git-svn-id: http://svn.automattic.com/wordpress/trunk@9044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 23:02:49 +00:00
ryan
ea0ce44d87 h2 removal per wireframes. Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 22:06:23 +00:00
azaozz
94dc5f67bd Move and adjust "Page Options" box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 04:11:27 +00:00
westi
2fc5044a80 post password admin template tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 21:10:14 +00:00
westi
95e26235ad Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:41:25 +00:00
ryan
659463e56d Rename some media text. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 17:12:32 +00:00
azaozz
203530fe88 Publish postbox and post status select updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-14 12:58:00 +00:00
ryan
460f30e7dd Move Show Settings into header and rename Advanced Options. Move preview links into submit box. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-13 19:12:55 +00:00
azaozz
3c789c1cb3 Edit/Save buttons and post status select changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-12 13:12:28 +00:00
ryan
581ac55f04 Privacy Options for pages. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 06:04:51 +00:00
ryan
589df9dcfd Remove privacy checkbox from submitbox. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 04:19:19 +00:00
azaozz
e2b4009e66 Saving/restoring the user interface state, see #7654
git-svn-id: http://svn.automattic.com/wordpress/trunk@8784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-31 06:34:43 +00:00
azaozz
01a8c764b3 Reply to comments from admin, small improvements and fixes, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 05:07:40 +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
azaozz
06f4448c13 Some 'Show on screen' metabox settings styling, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 10:17:41 +00:00
azaozz
95fa29a208 Reply to comments from admin, first run, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-24 06:56:22 +00:00
ryan
b314e60f74 First cut of 'Show on screen' metabox show/hide. Needs styling. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 18:58:42 +00:00
markjaquith
e0f519adc5 Consolidate our hide-if-no-js CSS/jQuery stuff. Now, just: hide-if-js, hide-if-no-js. Simple, easy to remember.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 06:42:19 +00:00
azaozz
39e0608b33 Some css cleanup and fixes after the merge, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 02:25:14 +00:00
ryan
d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
westi
c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +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
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
markjaquith
ce1404129e Use the edit_others_posts capability for controlling sticky checkbox display and usage. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:31:40 +00:00
markjaquith
bc5419ac4f Give separate paragraphs to the private/sticky checkboxen (heh) and give them distinct IDs for plugin CSS-hiding purposes. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:23:34 +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
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
ryan
88f779c343 don't show autosave message if post and autosave are 'identical'. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@8175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 22:25:27 +00:00
ryan
4bb7f1c0c4 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: http://svn.automattic.com/wordpress/trunk@8032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-02 21:01:42 +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
f08f975835 Fix trackback meta box. Props mdawaffe. fixes #7010
git-svn-id: http://svn.automattic.com/wordpress/trunk@7967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 23:46:31 +00:00
ryan
01acf41355 Put checked categories at the top of the checlist. Props mdawaffe. fixes #7000 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 21:35:18 +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
c46da4e0f5 Add default edit post meta boxes via API. see #6964
git-svn-id: http://svn.automattic.com/wordpress/trunk@7930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-14 08:22:01 +00:00
ryan
9830ab988c Quick post bookmarklet. First cut. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 19:08:39 +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
westi
7759f1672f Add ARIA markup for required fields. Fixes #6914 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:28:12 +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
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
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
ryan
65e4ddc684 Don't query post cats if no post. see #2621
git-svn-id: http://svn.automattic.com/wordpress/trunk@7739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 18:12:04 +00:00
ryan
1fdbde921b wp_category_checklist() and wp_link_category_checklist() to replace the nested cats code. see #2621
git-svn-id: http://svn.automattic.com/wordpress/trunk@7737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 17:41:10 +00:00
ryan
d5f5f07270 Revert [7689], gonna try another approach. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:32:38 +00:00
ryan
d18e3f9d4a Preserve author during autosave. fixes #6753 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:56:37 +00:00
ryan
47a695049e Demand load the category list. Props mdawaffe. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:00:52 +00:00
ryan
8eff77e82d More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:31:20 +00:00
markjaquith
2b93618c82 Tags work without JS, so we should not hide them!
git-svn-id: http://svn.automattic.com/wordpress/trunk@7544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 03:02:54 +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
matt
7d7a28c515 Sometimes people have huge numbers of posts, let's always number_format them. Also, additional related link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 07:10:17 +00:00
matt
94c34601ef Spacing cleanups and fixes. Hat tip: azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 06:41:43 +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
ad583a7219 Improve the tabindex's on the Write>Post page. Need to do the others too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 09:14:49 +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
markjaquith
0764f3594b Only show Contributors post stati they can chose. Hide date editing from Contributors (as they cannot use it). fixes #6303
git-svn-id: http://svn.automattic.com/wordpress/trunk@7409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 04:19:58 +00:00
ryan
5132af64c4 Remove dead code
git-svn-id: http://svn.automattic.com/wordpress/trunk@7400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 16:51:43 +00:00
ryan
385677b909 Better date editing from MarkJaquith. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 23:05:16 +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
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
matt
62298aa7c7 Remove drafts from Write page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 07:07:46 +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
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
24d3ee2c98 Fix some names and order of filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 10:23:00 +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
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
ryan
e44e1b7202 Validation fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@6961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 22:20:19 +00:00
ryan
ed09992863 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: http://svn.automattic.com/wordpress/trunk@6955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:19:34 +00:00
ryan
f5afc1fd4f Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 17:08:06 +00:00
ryan
eb3cb51113 Auto add preview link after autosaving a new post or page. Props filosofo. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:19:46 +00:00
ryan
2c874f5189 Admin styling updates from mt. fixes #5940
git-svn-id: http://svn.automattic.com/wordpress/trunk@6950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:27:23 +00:00
ryan
efc3b70996 Add Related section to all write/edit pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@6949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 23:43:06 +00:00
ryan
3378e3b20b Lose the breaks and do it right
git-svn-id: http://svn.automattic.com/wordpress/trunk@6948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 23:31:56 +00:00
ryan
9183c9ee15 Add h2 headers to the write/edit pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@6947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 22:49:04 +00:00
ryan
b9c63b6f11 Change some meta box titles
git-svn-id: http://svn.automattic.com/wordpress/trunk@6932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 06:50:52 +00:00
ryan
7d06b85a36 Move timestamp to submitbox. Put it in a slidedown. see #5846
git-svn-id: http://svn.automattic.com/wordpress/trunk@6904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 22:07:57 +00:00
ryan
2169d4e439 submit box actions hooks from filosofo. fixes #5873
git-svn-id: http://svn.automattic.com/wordpress/trunk@6901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 19:38:01 +00:00
ryan
ffe43e781e Add submitpost_box action to post edit form. Props filosofo. see #5873
git-svn-id: http://svn.automattic.com/wordpress/trunk@6898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:44:14 +00:00
ryan
1bec10a40a Put closing div inside conditional.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 01:15:35 +00:00
ryan
171cb54946 Styling fix for previewview from hansengel. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-15 23:11:42 +00:00
ryan
3453246f35 Save tags lingering in quick add box upon save. Props fitzrev. fixes #5849
git-svn-id: http://svn.automattic.com/wordpress/trunk@6834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 00:51:28 +00:00
ryan
ecba594cdc Rough in Related section of preview view. Needs styling. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 21:58:46 +00:00
ryan
2b7ea6a824 Fix edit slug ajax nonce. props nbachiyski. see #5816
git-svn-id: http://svn.automattic.com/wordpress/trunk@6788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 17:40:16 +00:00
ryan
62a4e6518b Fix display of dates for drafts and future posts. Props DD32 and ffemtcj. see #5774
git-svn-id: http://svn.automattic.com/wordpress/trunk@6768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 08:40:00 +00:00
ryan
7f78733f6b Separate meta box context into page and context to accommodate postbox API changes. see #5798
git-svn-id: http://svn.automattic.com/wordpress/trunk@6762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 21:06:15 +00:00
ryan
bc817d2a2e Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:57:50 +00:00
ryan
47ac60f02c add_meta_box(). see #5798
git-svn-id: http://svn.automattic.com/wordpress/trunk@6758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 18:51:37 +00:00
ryan
7b946b9007 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: http://svn.automattic.com/wordpress/trunk@6739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:19:47 +00:00
ryan
45ebbd5bb8 Fix edit link form categories a bit. AJAX add still needs work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 20:31:56 +00:00
ryan
d42b1a8256 Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: http://svn.automattic.com/wordpress/trunk@6712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 19:22:14 +00:00
matt
5fbca12c9e Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 16:51:32 +00:00
ryan
7c51664827 Fix typo and clean up ternary logic. Props fitzrev. fixes #5677
git-svn-id: http://svn.automattic.com/wordpress/trunk@6625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 09:18:15 +00:00
ryan
51e4044a0b Show post modification time. Needs style. Rough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 09:02:18 +00:00
ryan
5bfe19954d Add date display and pending status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 07:26:41 +00:00
ryan
78acad2aa8 Relocate delete post on edit screen. Needs styling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 06:28:42 +00:00
ryan
102b274a40 Make publish status a dropdown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 05:52:38 +00:00
matt
5ff7c8126a Some styling tweaks to header and submit box.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 07:21:25 +00:00
matt
d01592f0ae Rough pass at submit box.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 01:14:57 +00:00