Commit Graph

1224 Commits

Author SHA1 Message Date
ryan 72a58f8025 Add per page option to Screen Options for comments, posts, pages, and media.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 22:47:47 +00:00
azaozz d2f10cfa07 Make uploader selection "sticky"
git-svn-id: http://svn.automattic.com/wordpress/trunk@10844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 08:36:51 +00:00
ryan 586b13382a use_ssl is a user option, not a blog option
git-svn-id: http://svn.automattic.com/wordpress/trunk@10842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-26 21:52:29 +00:00
ryan 35b069a3c7 Delete options that are now transients
git-svn-id: http://svn.automattic.com/wordpress/trunk@10841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-26 21:43:36 +00:00
ryan 022bc7646f Serialize arrays
git-svn-id: http://svn.automattic.com/wordpress/trunk@10840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-26 17:59:27 +00:00
azaozz 0cf0733ba8 Fix empty table cells in IE
git-svn-id: http://svn.automattic.com/wordpress/trunk@10839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-26 02:17:01 +00:00
azaozz 05783317a4 Add toggle all button to the Gallery tab in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@10837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 17:20:03 +00:00
ryan a3d28151b2 Show template files in subdirs. Props DD32. fixes #4131
git-svn-id: http://svn.automattic.com/wordpress/trunk@10835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 16:51:08 +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 05e7b08659 Split add new plugin dashboard into search and upload.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-20 13:31:00 +00:00
azaozz bea5770abc Fix notice in plugins editor, props sivel, fixes #9367
git-svn-id: http://svn.automattic.com/wordpress/trunk@10826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-20 01:02:05 +00:00
azaozz fb0c5fbe97 More theme install styling, see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-20 00:14:57 +00:00
westi 427e5aa3e5 Fix notice when registering admin avatar filter. See #9366 props sivel
git-svn-id: http://svn.automattic.com/wordpress/trunk@10821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-19 21:52:50 +00:00
westi 842c0927ef Fix notice in plugin installer. See #9365 props sivel
git-svn-id: http://svn.automattic.com/wordpress/trunk@10820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-19 21:49:32 +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 9f9fcdfa9d Add sort order for the gallery in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@10793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 13:05:09 +00:00
azaozz c054f27b6e TinyMCE 3.2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@10791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 16:55:49 +00:00
azaozz 1b7ef6aab5 Add some styling to plugins descriptions when installing
git-svn-id: http://svn.automattic.com/wordpress/trunk@10790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 13:09:25 +00:00
azaozz 5da7e83817 Theme install style tweaks, see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 11:04:34 +00:00
ryan b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
ryan 04a572f4a7 Set autoload in populate options query
git-svn-id: http://svn.automattic.com/wordpress/trunk@10768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 01:07:12 +00:00
ryan d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
ryan 2f4b8b8566 Use two queries to populate all options during install/upgrade instead of 2 times the number of options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 22:41:33 +00:00
ryan dd98e4f40f Create user object. Props mark8barnes. fixes #9309 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:37:53 +00:00
ryan 4b729c6cba Cleanup plugin compatibility messages. Props DD32. fixes #8868
git-svn-id: http://svn.automattic.com/wordpress/trunk@10759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:31:55 +00:00
azaozz 7c018a31cf Move hidden span so it's not copied together with the permalink
git-svn-id: http://svn.automattic.com/wordpress/trunk@10754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 02:14:42 +00:00
westi d66daa8a98 Allow a plugin to control how many posts are displayed on edit pages. Fixes #9307 props aaroncampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@10749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:14:09 +00:00
azaozz 0acdb66f83 Fix values for gallery sort order
git-svn-id: http://svn.automattic.com/wordpress/trunk@10748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 07:02:38 +00:00
azaozz 519356e97a Save RSS feed URL in the Incoming Links widget, props johnbillion, fixes #9299
git-svn-id: http://svn.automattic.com/wordpress/trunk@10743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-08 05:08:32 +00:00
azaozz a2fccc011b Add RSS Error handling functionality to RSS Widget displays, props DD32, fixes #9273
git-svn-id: http://svn.automattic.com/wordpress/trunk@10739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 19:44:28 +00:00
ryan 98462ab1b6 Don't show already installed plugins in the Plugins dashboard widget. Props Viper007Bond. fixes #8781
git-svn-id: http://svn.automattic.com/wordpress/trunk@10738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 02:07:24 +00:00
ryan e70c54c967 Typo fix. Props josephscott. fixes #9294
git-svn-id: http://svn.automattic.com/wordpress/trunk@10736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 23:12:24 +00:00
ryan 3c803da070 Add index on taxonomy. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 08:26:45 +00:00
ryan d43bd8177c Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
azaozz 6405b50953 Force-wrap comments in Recent Comments on the dashboard, expand width when no avatar, fixes #9283
git-svn-id: http://svn.automattic.com/wordpress/trunk@10729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 03:20:38 +00:00
ryan 801705a502 Initialize post_date_gmt for default post to edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 23:06:04 +00:00
ryan 35eb4bca32 post_exists() and comment_exists() fixes. Fixes post duplication during import. Props tott. fixes #8460
git-svn-id: http://svn.automattic.com/wordpress/trunk@10722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 22:16:29 +00:00
ryan db1eb66625 Limit year field to 4 digits. Props sivel. fixes #9120
git-svn-id: http://svn.automattic.com/wordpress/trunk@10716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 20:15:10 +00:00
ryan b72c13c912 delete_theme(). see #8678
git-svn-id: http://svn.automattic.com/wordpress/trunk@10715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 19:15:56 +00:00
ryan f8ada7a44a Filter text to be sent to editor when used From URL. Props nbachiyski. fixes #6588
git-svn-id: http://svn.automattic.com/wordpress/trunk@10710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:54:10 +00:00
ryan b6f5ddf7f0 Add filter on type_form_. Props nbachiyski. fixes #6585
git-svn-id: http://svn.automattic.com/wordpress/trunk@10709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:48:02 +00:00
ryan e3e53f3463 Don't process page template description since it is not used. Props simonwheatley. fixes #7850
git-svn-id: http://svn.automattic.com/wordpress/trunk@10706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 20:51:06 +00:00
ryan 12bd1a3053 Avoid double encoding of attachment descriptions. Props dwc. fixes #9168 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:37:33 +00:00
ryan d7b53ad4f8 Add RSS Error handling functionality to RSS Widget displays. Props DD32. fixes #9273
git-svn-id: http://svn.automattic.com/wordpress/trunk@10697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:24:48 +00:00
azaozz 65e0cea07b Show file url after upload form media library, props yoavf, fixes #9267
git-svn-id: http://svn.automattic.com/wordpress/trunk@10696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 08:22:25 +00:00
ryan a33afa3546 Pass blog charset to html_entity_decode(). Props adferguson. fixes #7563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 18:37:25 +00:00
westi 43ba2effcd Allow a plugin to change the jpeg image quality. Fixes #9245 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 21:55:40 +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
ryan cc26b0347f Bail if no themes found. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-01 19:38:42 +00:00
ryan 5c402dd266 Make sure last_updated is set. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-28 20:09:09 +00:00
ryan ba14664d1e Don't display empty theme. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 21:24:19 +00:00
ryan 0e3ffd1095 Display more theme info. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 21:22:49 +00:00
ryan f20bb41b3c Text tweaks. Props MichaelH. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 20:23:30 +00:00
ryan a02d6e4179 Use SimplePie for widget and dashboard feeds. First cut. see #9198
git-svn-id: http://svn.automattic.com/wordpress/trunk@10666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 19:32:50 +00:00
westi 6eb64d687b Enhance checked and selected as well as consolidating code. See #9032 props johnbillion for the idea.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 18:28:09 +00:00
westi 402c4609ff Use the html entity for the smart quote. Fixes #9058 props rmccue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 08:43:48 +00:00
ryan c4f1411a69 More theme install tweaks. See #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-26 23:35:38 +00:00
ryan 35afb3b9c7 Hide theme details. See #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-26 07:54:33 +00:00
ryan a0fd2c6eaf Use plain link style instead of button. See #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-26 02:46:51 +00:00
ryan 6498762e4c Try grid layout for theme browser. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-26 00:44:32 +00:00
ryan b193b920bf Upload theme from zip fixes. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 23:43:30 +00:00
ryan 1d4574f9bf Use get_transient() for update_themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 23:18:42 +00:00
azaozz 75d701ec40 Don't use mb_* functions when initializing CodePress, see #9173
git-svn-id: http://svn.automattic.com/wordpress/trunk@10643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-24 23:39:12 +00:00
azaozz 05135541be Allow the dashboard widgets to be arranged in up to four columns. The number of columns can be selected from the Screen Options tab.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-24 02:37:22 +00:00
azaozz 4db5cef310 Prevent the user from leaving the write/edit page when an upload button is clicked before the page has finished loading
git-svn-id: http://svn.automattic.com/wordpress/trunk@10640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 23:28:34 +00:00
ryan edb5bb3499 Filter row actions. Props jamescollins. fixes #9172
git-svn-id: http://svn.automattic.com/wordpress/trunk@10629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 04:28:50 +00:00
westi cde6596747 Focus on the first blank field when asking for credentials for upgrade/install. Fixes #9061 props rmccue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 21:49:48 +00:00
ryan dc1602f411 Allow editing all of a plugin's files. see #6732
git-svn-id: http://svn.automattic.com/wordpress/trunk@10627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 20:05:11 +00:00
azaozz 6d94947a44 Add CodePress syntax highlighting to Theme and Plugin editors (first run), props beaulebens, see #9173
git-svn-id: http://svn.automattic.com/wordpress/trunk@10614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 02:12:00 +00:00
ryan 74b9642857 Append .txt to import files rather than .import. Props donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@10611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 21:39:20 +00:00
ryan 4399d9f7f9 Add documentation lookup shortcuts to Theme and Plugin Editors. Props beaulebens. fixes #9184
git-svn-id: http://svn.automattic.com/wordpress/trunk@10607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 20:00:09 +00:00
ryan fc660a45a3 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
ryan 750459382b Use _n(). Props mrmist. fixes #9190
git-svn-id: http://svn.automattic.com/wordpress/trunk@10605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:22:34 +00:00
ryan ff2e6c8f34 Deactivate plugins that don't have valid plugin headers. see #9164
git-svn-id: http://svn.automattic.com/wordpress/trunk@10594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 18:39:04 +00:00
ryan 4073f2b153 More theme preview tidying. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 22:32:42 +00:00
ryan c6ecb155d6 Fix preview for theme installer. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 21:55:00 +00:00
ryan 2fe8698a5f Add Sticky to list of post states
git-svn-id: http://svn.automattic.com/wordpress/trunk@10585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 19:13:31 +00:00
azaozz 748b4d67a2 Change "Unpublished" to "Draft" in quick edit, props lloydbudd, fixes #9151
git-svn-id: http://svn.automattic.com/wordpress/trunk@10582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-16 22:09:41 +00:00
westi ea903eba7e Add documentation to detail reasoning for default from address. See #5007 props pishmishy
git-svn-id: http://svn.automattic.com/wordpress/trunk@10575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 13:31:43 +00:00
ryan a43b91a4bc UI tweaks to theme installer. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 22:12:57 +00:00
ryan e18f062b92 Disambiguate 'Approved' translation. Props nbachiyski. fixes #8638
git-svn-id: http://svn.automattic.com/wordpress/trunk@10564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 20:42:04 +00:00
ryan 13566f1004 Warn if upload dir not writable when importing. Props filosofo. fixes #8048
git-svn-id: http://svn.automattic.com/wordpress/trunk@10561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 19:39:35 +00:00
ryan 190ca8b9b7 Theme install updates from DD32. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 18:31:16 +00:00
ryan 7bb01e4c48 Rough first cut of theme browser/installer. Props DD32. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-11 23:10:11 +00:00
ryan 56bce2a700 Don't put any wp-content files in the old files list.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-11 21:38:29 +00:00
azaozz 52d12303ea Add hook "after_db_upgrade" and flush rewrite rules on the next page load after successful upgrade
git-svn-id: http://svn.automattic.com/wordpress/trunk@10530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-09 19:19:38 +00:00
azaozz 552b480eb2 Autosave post/page when pressing Control/Command+S in TinyMCE, props srobbin, fixes #9060
git-svn-id: http://svn.automattic.com/wordpress/trunk@10528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 18:37:47 +00:00
azaozz ccd5cea290 Fix permalink editor for pages, hide "View Post" button while editing permalink, fixes #9040
git-svn-id: http://svn.automattic.com/wordpress/trunk@10525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 13:38:02 +00:00
azaozz 515b09febb Fix delete warnings for categories, link categories, tags and comments, fixes #9050
git-svn-id: http://svn.automattic.com/wordpress/trunk@10522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-07 15:26:01 +00:00
ryan 7aec230e33 Use transient for update_core, update_plugins, update_themes. see #9048
git-svn-id: http://svn.automattic.com/wordpress/trunk@10515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-06 18:06:20 +00:00
azaozz 4aa67fce76 Add a filter to the post states list, props johnbillion, fixes #9033
git-svn-id: http://svn.automattic.com/wordpress/trunk@10497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 16:52:36 +00:00
azaozz 23604d3499 Fix hooks in Users/Categories/Link Categories/Tags table columns, props PeteHoliday, fixes #8788
git-svn-id: http://svn.automattic.com/wordpress/trunk@10493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 12:31:47 +00:00
azaozz fc511373de Disable QuickPress buttons while saving, change "Cancel" to "Reset"
git-svn-id: http://svn.automattic.com/wordpress/trunk@10479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-02 01:43:56 +00:00
azaozz af04dea7db Fix singular/plural translation collision, props nbachiyski and Kuba Zwolinski, fixes #8154
git-svn-id: http://svn.automattic.com/wordpress/trunk@10478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-02 00:00:11 +00:00
azaozz 75850602a5 Detect when the server compresses output, see #8628
git-svn-id: http://svn.automattic.com/wordpress/trunk@10476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-01 09:45:24 +00:00
azaozz cb35d830c4 Typo fix: occured/occurred, props demetris, fixes #8950
git-svn-id: http://svn.automattic.com/wordpress/trunk@10468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-30 14:30:30 +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
markjaquith a196faec47 Drafts have post_date populated now, so look for a zeroed out post_date_gmt to determine non-scheduled nature. fixes #8978 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-28 19:37:36 +00:00
ryan e027822f45 Optimize maybe_create_table(). Props jamescollins. fixes #8977
git-svn-id: http://svn.automattic.com/wordpress/trunk@10447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-27 22:35:21 +00:00
ryan 2724b924d6 Force the index only for 0 OR 1 queries. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 22:34:50 +00:00
westi 00e9626be4 Switch to using the ID when calling get_avatar internally to support caching plugins. Fixes #8940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 22:03:40 +00:00
azaozz f20f62b27d Improvements to the script loader: allows plugins to queue scripts for the front end head and footer, adds hooks for server side caching of compressed scripts, adds support for ENFORCE_GZIP constant (deflate is used by default since it's faster), see #8628, fixes #8884
git-svn-id: http://svn.automattic.com/wordpress/trunk@10442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 12:59:10 +00:00
ryan cd3286b018 Don't use order and limit for count query. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-23 22:40:37 +00:00
ryan 1428dd5a79 Eliminate SQL_CACLC_FOUND_ROWS for edit-comments.php query. Use results of earlier wp_count_comments() if appropriate otherwise perform COUNT query. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-23 22:26:40 +00:00
ryan 576f4098d4 If link name not given, use url for name. Props Denis-de-Bernardy. fixes #7789 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 22:47:34 +00:00
ryan 7c6f70ba9c Don't show plugin by line if no author. Props Denis-de-Bernardy. fixes #4632 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 19:02:15 +00:00
azaozz e9636d400c When inserting orphaned attachment in a post, set post_parent only for this attachment, see #8721
git-svn-id: http://svn.automattic.com/wordpress/trunk@10390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 03:45:57 +00:00
ryan 37abfcb33f Show absolute date instead of relative date for scheduled pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@10389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 23:07:21 +00:00
ryan 18213b4116 Show absolute date instead of relative date for scheduled posts
git-svn-id: http://svn.automattic.com/wordpress/trunk@10388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 22:47:18 +00:00
azaozz ab30688c26 Ensure translations are loaded properly in TinyMCE when using the compressed version
git-svn-id: http://svn.automattic.com/wordpress/trunk@10384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 20:31:31 +00:00
azaozz 5ce5238272 Concatenated and compressed versions of the default TinyMCE scripts
git-svn-id: http://svn.automattic.com/wordpress/trunk@10369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-16 12:58:38 +00:00
azaozz 3f7facfbe6 Add action hook in admin footer so plugins can output scripts there on specific pages only, props GamerZ, fixes #8859
git-svn-id: http://svn.automattic.com/wordpress/trunk@10362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-15 00:08:20 +00:00
azaozz fc7d871678 Split the script queue in head and footer part, concatenate and compress the default js and css, first run, see #8628
git-svn-id: http://svn.automattic.com/wordpress/trunk@10357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-14 14:18:51 +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 94be137f5c Fix ajax-delete of categories, link categories and tags
git-svn-id: http://svn.automattic.com/wordpress/trunk@10343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-10 14:25:51 +00:00
azaozz 3cc307471c TinyMCE: don't load unneeded CSS (custom styles have moved to /themes/advanced/skins/wp_theme)
git-svn-id: http://svn.automattic.com/wordpress/trunk@10338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-09 13:05:16 +00:00
ryan cb38e921dc Add get_editable_roles() and role filtering. Props jeremyclarke. fixes #8770
git-svn-id: http://svn.automattic.com/wordpress/trunk@10323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 22:00:05 +00:00
azaozz c045b1a045 Make titles into links in Dashboard Right Now module, props mattwalters, fixes #8438 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 10:08:31 +00:00
azaozz 6d1a60e14c Cast to array to silence warnings from plugin added menus, props DD32, fixes #8782
git-svn-id: http://svn.automattic.com/wordpress/trunk@10293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-04 04:29:28 +00:00
azaozz 9caa0dc079 Add hooks for the Users/Categories/Link Categories/Tags table columns, props GM_Alex, fixes #8788
git-svn-id: http://svn.automattic.com/wordpress/trunk@10292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-04 04:21:35 +00:00
ryan 6bc4151290 phpdoc for wp_dropdown_roles(). Add role_names_listing filter. Props jeremyclarke. fixes #8761
git-svn-id: http://svn.automattic.com/wordpress/trunk@10285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 17:40:05 +00:00
ryan 4b3f7d62c4 Add clearing break. Props johnbillion. fixes #8677 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 22:42:05 +00:00
ryan bbe5c7f6d1 Show actions and checkbox only if user is editable by current user. Props jeremyclarke. fixes #8760
git-svn-id: http://svn.automattic.com/wordpress/trunk@10268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 19:38:44 +00:00
ryan 331e05ee74 user_can_access_admin_page() fix. Props arena. see #8535
git-svn-id: http://svn.automattic.com/wordpress/trunk@10267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 19:18:18 +00:00
azaozz b54484f937 Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-27 12:18:38 +00:00
azaozz 1ff4349ee5 Fix debug notices for bulk edit, fixes #8707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-26 22:35:08 +00:00
ryan 5aaf5ac0ad Allow overriding cat walker. Props AaronCampbell. fixes #8682 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-23 12:52:37 +00:00
ryan 22a1c35cea get_previous_comments_link() and get_next_comments_link(). Props Viper007Bond. fixes #8058 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-22 19:33:09 +00:00
ryan b117040958 Notice fix from apokalyptik
git-svn-id: http://svn.automattic.com/wordpress/trunk@10225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 22:26:03 +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
ryan d3b9da7025 Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-16 23:50:39 +00:00
azaozz 394889ad25 Silence warnings when looking for translations for external plugins for TinyMCE, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-14 01:12:00 +00:00
ryan 07f625bc03 Explicitly return ref for the sake of PHP4. Fixes user_level being empty when installing on PHP4. Props Mr Pete. fixes #8317 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-12 20:47:18 +00:00
ryan 6e78e3aaf4 Reset port when saving credntials. Props dwenaus and DD32. fixes #8580 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-12 20:12:16 +00:00
ryan c08f309815 Sort by 'menu_order, post_title'. see #8549
git-svn-id: http://svn.automattic.com/wordpress/trunk@10182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 22:22:30 +00:00
westi 129d2296d1 Sort page_parent dropdown by menu_order. Fixes #8549.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 21:48:41 +00:00
ryan 046c47f1b0 Remove unneeded lines. Props matthewh84. fixes #8563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 19:43:24 +00:00
ryan dd816fc740 Show 'Post submitted' insted of published when submitting for review from Quick Press. fixes #8547
git-svn-id: http://svn.automattic.com/wordpress/trunk@10154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 20:38:44 +00:00
ryan 556965cfed Show media buttons for quick press only if user can upload_files. see #8547
git-svn-id: http://svn.automattic.com/wordpress/trunk@10153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 20:31:51 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan c5ccfa0e22 Fixed undefined var notice when user can't edit the post
git-svn-id: http://svn.automattic.com/wordpress/trunk@10148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 17:44:04 +00:00
ryan 28cc8c8b56 Don't show preview link if user can't edit post/page. fixes #8544
git-svn-id: http://svn.automattic.com/wordpress/trunk@10146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 17:31:43 +00:00
markjaquith fc9076f6e9 Allow IP comment search to search spam if initiated from spam page. props vladimir_kolesnikov. fixes #8394
git-svn-id: http://svn.automattic.com/wordpress/trunk@10143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 12:31:41 +00:00
azaozz 169bbfa0a6 Keep the menu closed while loading
git-svn-id: http://svn.automattic.com/wordpress/trunk@10140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 12:00:44 +00:00
markjaquith d04406a031 Fix typo in last commit
git-svn-id: http://svn.automattic.com/wordpress/trunk@10138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 09:14:31 +00:00
markjaquith 19177023c9 Move from generic "Save" to better "Update X", more consistent use of button-primary for major actions. fixes #8374. props azaozz, FFEMTcJ
git-svn-id: http://svn.automattic.com/wordpress/trunk@10137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 09:07:36 +00:00
azaozz 34a17a5188 Fix inserting images, uploader buttons add Press This nag after submitting in Quick Press
git-svn-id: http://svn.automattic.com/wordpress/trunk@10125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 10:52:23 +00:00
azaozz 5426f43c7d Do not show Gallery tab in the uploader if no files have been uploaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 07:38:05 +00:00
azaozz 797f203e2f Straighten comment bubbles for FF
git-svn-id: http://svn.automattic.com/wordpress/trunk@10122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 01:39:23 +00:00
ryan 3b5ef2f644 gettext image size names
git-svn-id: http://svn.automattic.com/wordpress/trunk@10118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 20:35:50 +00:00