Commit Graph

459 Commits

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