Commit Graph

3336 Commits

Author SHA1 Message Date
ryan 10334eff33 Don't set fields to empty values in _wp_translate_data(). Props scribu, johnjamesjacoby. fixes #16673
git-svn-id: http://svn.automattic.com/wordpress/trunk@18082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 16:08:46 +00:00
azaozz ab43381c33 Fix notice, props greuben, fixes #17613
git-svn-id: http://svn.automattic.com/wordpress/trunk@18074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 14:12:08 +00:00
azaozz 7536a1107e Improve JS array/object detection when outputting the TinyMCE init array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 21:18:58 +00:00
nacin cbba3fe581 Don't use array calling for post_status in wp_edit_attachments_query() to prevent any use of the deprecated query_string filter (as in, don't use it) from tanking the page. see #17556, #17559. for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 05:41:34 +00:00
ryan eb825b2b40 Remove duplicate IDs before passing comment post IDs to get_pending_comments_num()
git-svn-id: http://svn.automattic.com/wordpress/trunk@18041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 17:36:26 +00:00
ryan e68292421d Fix notices. Props ocean90. fixes #17528
git-svn-id: http://svn.automattic.com/wordpress/trunk@18038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:46:40 +00:00
ryan ae8f4a2a80 If there is only one submenu and it is has same destination as the parent, remove the submenu. fixes #17528
git-svn-id: http://svn.automattic.com/wordpress/trunk@18034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:05:52 +00:00
azaozz 27a001b635 Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:55:59 +00:00
ryan 8192d0dae8 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
ryan 9aeffe1487 Don't show _access_denied_splash() for network admin pages. Props sorich87. fixes #17511
git-svn-id: http://svn.automattic.com/wordpress/trunk@18009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:11:03 +00:00
ryan 2e2807147c Don't show _access_denied_splash() if the user has permissions for the site but insufficient perms for a particular page. Props sorich87. fixes #17514
git-svn-id: http://svn.automattic.com/wordpress/trunk@18008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:08:19 +00:00
ryan 2cfb1592f0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:25:28 +00:00
ryan cb44c14449 Use correct keys
git-svn-id: http://svn.automattic.com/wordpress/trunk@17996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:21:34 +00:00
ryan 81a5f821fb Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:42 +00:00
nacin fad60afa23 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 22:30:05 +00:00
nacin e813941988 Move the closing tags inside the same conditional in wp_plugin_update_row. props mitchoyoshitaka, fixes #17536.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:24:32 +00:00
nacin b101aa6781 Only show multisite upload space when user has upload_files, rather than edit_posts. props johnbillion, fixes #17510.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 17:43:19 +00:00
azaozz 33b0327924 Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
git-svn-id: http://svn.automattic.com/wordpress/trunk@17971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 16:12:13 +00:00
azaozz af3ce311a0 More IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 05:35:08 +00:00
azaozz 5175149c03 IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 02:23:02 +00:00
markjaquith 33aba110ee Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441. see #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:06:04 +00:00
markjaquith bb8978972e Add a per-post-type nav menu items filter for plugin control. props aaroncampbell. see #16075
git-svn-id: http://svn.automattic.com/wordpress/trunk@17951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 16:44:21 +00:00
azaozz dcb9985b13 Use the "media" admin menu icon for the add media button in DFW, move the tagline, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:33:22 +00:00
azaozz 19c80ff93c Maximum i18n flexibility for word count, props nacin, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 04:25:15 +00:00
nacin da2732c7de Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:45:07 +00:00
westi 53ce9d6f50 More phpdoc typo fixes. See #17414 props Utkarsh
git-svn-id: http://svn.automattic.com/wordpress/trunk@17926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 09:56:59 +00:00
markjaquith 0e57bd3a37 Centralize pagination bound exceeding redirects for list tables. props garyc40. props johnjamesjacoby. fixes #16208
git-svn-id: http://svn.automattic.com/wordpress/trunk@17900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 06:09:42 +00:00
nacin 8abc94a139 Don't show broken 'View' links when a CPT isn't publicly queryable. fixes #13301, props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 06:04:47 +00:00
nacin 815d4fd975 Shorten key used for browse happy site transient so it fits in option_name. fixes #17323, props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:45:02 +00:00
nacin 5bd0023422 Document img_src_ssl in wp_check_browser_version(), see #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:45:25 +00:00
azaozz 8fe1d44938 Warning for out of date and insecure browsers, props aaroncampbell, fixes #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@17887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:33:27 +00:00
azaozz de88c22a6c Allow plugins to disable screen options with filter, props yoavf, fixes #17187
git-svn-id: http://svn.automattic.com/wordpress/trunk@17884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:12:41 +00:00
azaozz beae1e56aa Improve code for DFW buttons, fix colors in some rare TinyMCE popups, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:53:51 +00:00
westi f99e85d728 Switch this to be inside the else to match previous functionality more closely.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 17:05:35 +00:00
westi 374cba6192 Add a filter in postbox_classes on the classes being returned so you can add ones to your metabox easily if you want. See #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@17857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 16:57:00 +00:00
azaozz e96949c9bd DFW: add tagline, move the Word count under the editor, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 09:18:32 +00:00
azaozz 55fcecdba8 DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 23:21:34 +00:00
azaozz 20528f3463 Add the new grey TinyMCE icons, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 03:20:50 +00:00
azaozz 9a12a7d908 Close >> Exit fullscreen, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 15:37:28 +00:00
azaozz a2fcf40bd8 DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 06:32:44 +00:00
azaozz 8267ff9aae DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 02:01:53 +00:00
markjaquith 87f06616a7 A few "login" used as a verb fixes. props xibe. fixes #17335
git-svn-id: http://svn.automattic.com/wordpress/trunk@17831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 03:26:23 +00:00
koopersmith 700db493d8 Move 'Search Engines Blocked' to 'Right Now' from admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 23:42:37 +00:00
dd32 dad316dccc * Allow Pagination for Must-Use/Dropin plugins
* Respect WP_CONTENT_DIR & WPMU_PLUGIN_DIR for help text
 * Move help text into WP_Plugins_List_Table
See #17327

git-svn-id: http://svn.automattic.com/wordpress/trunk@17806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 05:24:15 +00:00
ryan 5161c47792 Make "Space Used" gray instead of green in multisite Right Now box. Props ocean90. fixes #17283
git-svn-id: http://svn.automattic.com/wordpress/trunk@17799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:49:25 +00:00
ryan a7909cf4b6 Always show # items text. Props johnbillion. fixes #17260
git-svn-id: http://svn.automattic.com/wordpress/trunk@17798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:45:41 +00:00
ryan 26e2d8b986 Change View All Buttons into plain links. Show full set of status links in recent comments box. Drop Change Theme button.Props ryanimel. fixes #17282
git-svn-id: http://svn.automattic.com/wordpress/trunk@17797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:18:20 +00:00
ryan 69dfdd4a36 Show hierarchy for pages and taxonomies in nav menus admin. Props greuben. fixes #17029
git-svn-id: http://svn.automattic.com/wordpress/trunk@17796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 18:59:40 +00:00
ryan d55f5b35af Denote images that are headers or backgrounds in the media ui. Props ocean90. fixes #17291
git-svn-id: http://svn.automattic.com/wordpress/trunk@17793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 18:28:31 +00:00
azaozz cf8c91ce03 Fix action handling code, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:28:58 +00:00
azaozz 1ffb2468a5 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:10:23 +00:00
markjaquith 8464d7203d Provide no-js message on the dashboard when the cache is not hot and an XHR is required. props ocean90. see #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@17782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 17:24:06 +00:00
ryan 04487fc268 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 20:05:12 +00:00
nacin b59bcc8720 Remove unused variable. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 18:21:38 +00:00
nacin 124bb0289b Revert unrelated code from [17765].
git-svn-id: http://svn.automattic.com/wordpress/trunk@17766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:46:27 +00:00
nacin 52e6f54063 Update the self-referential destruction sequence in WP_Widget_RSS to account for trailing slashes. TODO: Strengthen our validation here.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:44:43 +00:00
nacin 90928c0251 Don't load dashboard widgets via XHR when the feed cache is hot. What a difference it makes, too. Reverts part of [11613], fixes #16927.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 06:54:03 +00:00
nacin 567f0c21ec Use proper placeholders. No need to exit after wp_die(). fixes #17121.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 01:51:53 +00:00
ryan 06c03f44f0 Show access denied page and list a user's sites if they visit an admin they don't have permissions for rather than redirecting to the users' primary blog. fixes #17121
git-svn-id: http://svn.automattic.com/wordpress/trunk@17762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 00:43:48 +00:00
westi 80f4e83a8c Introduce WP_MAX_MEMORY_LIMIT constant for the high memory limit we set when image processing and unzipping.
Ensure it is always filterable by plugins as well as configurable in wp-config
Fixes #13847 props hakre


git-svn-id: http://svn.automattic.com/wordpress/trunk@17749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 16:25:36 +00:00
nacin 9cb6e158fc Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:24:49 +00:00
nacin 8b5122b411 Don't load the QuickPress widget via XHR. see #16927. Reverts [16725] as it's no longer needed. Reverts part of [14815], which introduced the behavior, see #10917.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 12:02:24 +00:00
dd32 c85ae9cc94 Include TwentyEleven in the 3.2 upgrade process. Props markmcwilliams. See #14484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 09:08:39 +00:00
nacin 3b25728930 Only show the sticky posts checkbox when edit_others_posts. Doesn't work without it. props solarissmoke, linuxologos, fixes #16947.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 11:27:08 +00:00
ryan a5361b3b24 Export commentmeta. Props duck_. see #12871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 19:25:45 +00:00
azaozz 258a8f6844 Distraction Free Writing mode, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:01:34 +00:00
dd32 bed23730dc Handle zip error's in PclZip better. PclZip::extract() returns an array on success, 0 on failure. Fixes #17224
git-svn-id: http://svn.automattic.com/wordpress/trunk@17693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 14:30:44 +00:00
dd32 26cc29597b Ensure all theme searching is done case-insensitive. Props solarissmoke for initial path. Fixes #17059
git-svn-id: http://svn.automattic.com/wordpress/trunk@17691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 13:01:52 +00:00
nacin 5f29ef7e7b Add the filter in display_rows, rather than _display_rows.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:33:53 +00:00
nacin 26989db5d4 Remove vestige code, prevent over-escaping of post titles when using Quick Edit for hierarchical post types. fixes #17218.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:20:49 +00:00
nacin efce9e6953 This folder is back now under new management. Quit killing it on auto updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 16:55:48 +00:00
dd32 f4ccdcc188 Do not delete local package files in WP_Upgrader. Props joelhardi. Fixes #14963
git-svn-id: http://svn.automattic.com/wordpress/trunk@17660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-19 05:54:01 +00:00
ryan 5fc53472ce Introduce get_screen_icon(). Props aaroncampbell. fixes #15377
git-svn-id: http://svn.automattic.com/wordpress/trunk@17656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:51:54 +00:00
nacin 1e96186c14 Clarify the return value of get_page_templates(). props kovshenin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 11:50:27 +00:00
ryan 64552a67ee Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:55:11 +00:00
azaozz 24599d17f0 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: http://svn.automattic.com/wordpress/trunk@17625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-10 18:36:05 +00:00
dd32 efa709d1b5 Move closedir() to better locations to prevent the need for error suppression, prevents suppressed Warnings/Notices to be thrown during Plugin Installation. Fixes #16547
git-svn-id: http://svn.automattic.com/wordpress/trunk@17617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 09:07:56 +00:00
nacin 16e649f95f Remove type attribute from textarea. props solarissmoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 08:30:08 +00:00
ryan 91dc365567 Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: http://svn.automattic.com/wordpress/trunk@17603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 17:13:04 +00:00
dd32 9081c7636c Set the mb_string internal encoding to ISO-8859-1 whilst uncompressing archives using PclZip. Fixes 'PCLZIP_ERR_BAD_FORMAT (-10) : Invalid block size' errors on systems utilising mbstring.func_overload. Fixes #15789
git-svn-id: http://svn.automattic.com/wordpress/trunk@17592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 12:32:06 +00:00
dd32 65db854b9f Remove debug cruft from [17590]. See #14182
git-svn-id: http://svn.automattic.com/wordpress/trunk@17591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 11:55:27 +00:00
dd32 479e64c170 When upgrading plugins|themes, if the new destination folder is different from the previous folder, delete the old folder upon upgrade. Fixes #14182
git-svn-id: http://svn.automattic.com/wordpress/trunk@17590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 11:54:07 +00:00
dd32 ca26b494da @ignore for _copy_dir(). Props duck_. See #14484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 10:40:55 +00:00
dd32 dfaa85ee9a Back-compat for core upgrades with pre-3.2. Utilises a temporary _copy_dir() function which can be removed in 3.3-dev to bring immediate wp-content relief to the 3.1-3.2 upgrades. See #14484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 09:50:01 +00:00
dd32 dd3c9a5195 Add an extra FTP_LANG_DIR override constant to short-circuit WP_Filesystem_Base::find_folder(WP_LANG_DIR);. See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 09:17:27 +00:00
dd32 e16755db0d Back-compat for upgrades with WP_LANG_DIR. See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 09:13:50 +00:00
dd32 4a7cdbc0d7 Typo in r17576, Twentyten isn't new to 3.2. See #14484 See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-31 13:32:58 +00:00
dd32 5b12ecb83d Be a party-pooper; No more Akismet Dancing upon upgrade; Respect custom WP_CONTENT_DIR for bundled plugins/theme installation; Respect custom WP_CONTENT_DIR/WP_LANG_DIR for Language files when upgrading; Standardise WP_Filesystem path method returns (They're trailing slash'd). Adds an exclusion list to copy_dir() as well as WP_Filesystem_Base::wp_lang_dir(). See #14484 See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-31 13:28:36 +00:00
ryan 924f783fda Add some nonce checks to the uploaders. Props duck_. For trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:30:59 +00:00
nacin f88e2edae0 Bump update-core and readme for 3.2.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 21:14:46 +00:00
azaozz 62f2f81ad9 Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:12:32 +00:00
dd32 00dc7a57d6 First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
git-svn-id: http://svn.automattic.com/wordpress/trunk@17555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 02:42:20 +00:00
nacin adcc961d69 Send an associative array to the display_post_states filter. props greenshady, kawauso, fixes #15421.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:57:12 +00:00
nacin 8d7df99551 Avoid functions.php from ever being treated as a page template. fixes #16689.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:40:52 +00:00
dd32 ebf169b350 Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
git-svn-id: http://svn.automattic.com/wordpress/trunk@17534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 11:35:41 +00:00
dd32 a83a2842ea Optimisations to WP_Filesystem; Pass known information to called functions. Props aldenta (John Ford) for investigation and patch. See #10913
git-svn-id: http://svn.automattic.com/wordpress/trunk@17525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 00:04:15 +00:00
markjaquith d36a6d3d6c Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
git-svn-id: http://svn.automattic.com/wordpress/trunk@17523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-21 18:30:56 +00:00
azaozz 78c18602c6 Allow JS functions in the TinyMCE init array, fixes #15596
git-svn-id: http://svn.automattic.com/wordpress/trunk@17522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-17 22:01:40 +00:00
ryan 30462d25ca Mark theme preview iframe as a preview_iframe so that the admin bar doesn't show. Props tetele. fixes #16659 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 21:54:05 +00:00
nacin 68322f81b5 Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 18:33:55 +00:00
nacin c6edeffa66 Avoid printf entirely. props SergeyBiryukov, fixes #16611 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 10:12:38 +00:00
nacin 1445d78cf0 Use get_comments_number() in comments_bubble() method. Removes chance of sprintf arguments error due to percent encoding in URLs and kills unnecessary translations. Escape translations into attributes. esc_url on admin_url. fixes #16611 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 04:24:20 +00:00
ryan 400dc5312f Don't allow changing the post type. Props nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 18:58:06 +00:00
ryan 65702d0ad1 Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 03:43:47 +00:00
ryan 19afce5e23 Disallow and hide user removal (as opposed to deletion) for single site installs. Removal is a multisite concept. Props nacin. fixes #16501 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:37:26 +00:00
ryan f63ccddadb Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:36 +00:00
ryan ba47c80ef7 Add additional promote_users checks. Show Add existing button only for multisite. Don't show bulk actions if user can't promote users. Show add new user menu if user has create_users but not promote_users. Props nacin. fixes #16501 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:30:26 +00:00
markjaquith 3dabc4a39e Skip authors that no longer exist when doing an export. props nacin. fixes #16479
git-svn-id: http://svn.automattic.com/wordpress/trunk@17415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:58:41 +00:00
markjaquith dff3130153 A little escaping paranoia, just to be safe. (Already sanitized, higher up). for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:11:17 +00:00
ryan 687c69d009 Properly encode the post title. Props koopersmith, nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:26:46 +00:00
ryan 5385398e76 Remove debug cruft. Props markmcwilliams. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:00:21 +00:00
nacin 277be4ce51 Use array_intersec_assoc. props duck_, fixes #16378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 19:37:38 +00:00
markjaquith 7cb71c46d5 Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
git-svn-id: http://svn.automattic.com/wordpress/trunk@17356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 04:16:55 +00:00
ryan 862b5e4da7 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00
nacin 34358d9a42 Add orderby and order hidden fields to each list form, to allow for state. props SergeyBiryukov, fixes #16341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:36:54 +00:00
nacin 45828057ed doaction buttons don't need a name, only an ID. fixes #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:31:35 +00:00
nacin a1d3c1c62a Global comment_type in WP_Comments_List_Table::prepare_items(). props jorbin, fixes #16344.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:27:04 +00:00
nacin 19efd03fe8 Use only an ID, no name, on the 'Filter' buttons on list screens. see #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:25:32 +00:00
ryan 498c93cb81 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: http://svn.automattic.com/wordpress/trunk@17347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 03:25:29 +00:00
markjaquith 47c8008257 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 21:17:12 +00:00
markjaquith acd8d41b65 Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 20:28:41 +00:00
nacin 385ac2ef74 Use get_column_count() instead of manual logic. props scribu, fixes #16279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 07:39:21 +00:00
nacin 8dc4329246 Properly account for columns shown in the list table display_rows_or_placeholder methods. props garyc40, fixes #16279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:19:34 +00:00
nacin 7061e7efe0 Don't sort the plugin name column. It doesn't stick between actions and is quite useless, so out it goes. fixes #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:09:46 +00:00
nacin cda05de396 Don't allow the 'Path' column on sites.php to be hidden. see #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:09:01 +00:00
nacin ee1a4eba16 Link to site-users and network/user-edit on sites.php. props PeteMall, see #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:08:24 +00:00
westi 3c278d6421 Don't touch web.config when flushing rewrite rules if it is a multisite install. Fixes #16076 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 16:49:46 +00:00
markjaquith df3882ab23 Fix the "Back to Authors and Users" link on Edit Users page. props SergeyBiryukov. fixes #16275
git-svn-id: http://svn.automattic.com/wordpress/trunk@17324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-17 23:36:23 +00:00
nacin 37075f7f71 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:47:24 +00:00
nacin 94eb65baa0 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:34:38 +00:00
nacin a099ac06a7 Remove assignment that is later overridden. props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 05:47:21 +00:00
markjaquith e5a88166a9 Append -network or -user suffix in convert_to_screen(). props kawauso. fixes #16238
git-svn-id: http://svn.automattic.com/wordpress/trunk@17318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 05:38:44 +00:00
nacin 49887cdd9a Offer the standard tags for the plugin name datapoint. props Kawauso, fixes #16241.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 07:26:45 +00:00
westi 035b3fb22a Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927
git-svn-id: http://svn.automattic.com/wordpress/trunk@17309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 03:40:52 +00:00
ryan d0e923486b Improve presentation when there are no available themes. Props solarissmoke, garyc40. fixes #16196
git-svn-id: http://svn.automattic.com/wordpress/trunk@17303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 00:35:29 +00:00
nacin dcbe9ba65d Prevent new bulk actions from being added through the bulk_actions-screen filter. fixes #16031 at least for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 07:20:13 +00:00
nacin 7a38616d0f Hide the many extraneous meta boxes for pages by default too. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 01:02:15 +00:00
westi 93465db918 The old methods are good enough in alot of cases where plugins want to extend simply. So un deprecate for now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 23:19:51 +00:00
nacin 35066d7770 Remove the button too. props ryan, see #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:56:10 +00:00
nacin b2d0685b2d Old files removal for 3.1, against r17285.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:19:05 +00:00
nacin c605738e8b Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 21:57:30 +00:00
markjaquith bf473f3545 Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420
git-svn-id: http://svn.automattic.com/wordpress/trunk@17284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 07:14:12 +00:00
nacin 519449a9f9 Fix plugin-install column hiding and widths. props PeteMall, fixes #16210.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:50:23 +00:00
nacin d1c2b06a7e Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:21:30 +00:00
nacin 9c1f2901cd Revert [17275] and [17276]. The rabbit hole is too deep. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:50:35 +00:00
nacin 68c994d72b Move edit.php bulk actions code to a handler in the list table class. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:34:18 +00:00
nacin 99171772c8 Force get_pagenum to validate max pages. Add sanity redirect code to upload.php. see #16187. props MarkJaquith, greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:24:34 +00:00
nacin 7c5fd789ac Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:06:33 +00:00
nacin f1b634cfbe Document abstract methods in WP_List_Table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 08:05:23 +00:00
nacin f9cdc3156d Leave the 'Try Again' link for the wp_die() when the themes API fails. props solarissmoke, fixes #16132.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 00:18:23 +00:00
nacin f5cdbd1ded Add nonces to instances where the list table display() method is overridden. see #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 22:42:22 +00:00
nacin 6a7411f3b0 Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:03:50 +00:00
markjaquith 5e71ad01fd Remove the help prompt text on the Post Format UI. It gets annoying quickly. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@17250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:56:23 +00:00
ryan 536564b8ff Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: http://svn.automattic.com/wordpress/trunk@17239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 20:52:42 +00:00
ryan 9b88439cb6 Fix net admin theme deletion over FTP. see #16117
git-svn-id: http://svn.automattic.com/wordpress/trunk@17237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 19:01:34 +00:00
ryan 3baba9fd17 Use edit_comment cap. Props casben79. fixes #16129
git-svn-id: http://svn.automattic.com/wordpress/trunk@17232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:17:05 +00:00
ryan 85f1feed84 Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:11:14 +00:00
nacin 02d663acb4 More room for your content! Increase default post edit rows as the meta boxes are all hidden by default. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 00:57:24 +00:00
ryan bfee572698 Avoid notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 18:18:31 +00:00
ryan 694e3e9bf3 Don't show button in placeholder row. Props SergeyBiryukov. fixes #16095
git-svn-id: http://svn.automattic.com/wordpress/trunk@17222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 16:27:39 +00:00
nacin 679051e9b0 Alter admin_notices usage in admin/includes/ms.php due to changes in the action with the network/user admin. props PeteMall, see #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 07:26:57 +00:00
ryan 55d6d8af12 PHP4 compat. Props SergeyBiryukov, westi. see #16080
git-svn-id: http://svn.automattic.com/wordpress/trunk@17211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:19:34 +00:00
nacin 9602072aca Use correct variables. props garyc40, see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-02 10:55:10 +00:00
nacin e8d5e62d1b Disabled states for first/prev and next/last pagination buttons when they should noop. see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 23:19:26 +00:00
nacin f15b1ad05d Allow us to return from whence we came. Specify wp_http_referer for user-edit in the network admin, as we may come from network/users or site-users. props PeteMall, SergeyBiryukov, fixes #16053.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 22:30:46 +00:00
nacin 53d0af84b0 Don't esc_html the default error string. props SergeyBiryukov, fixes #16058.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 22:14:42 +00:00
ryan a6e8ff128f Introduce include_selected arg for wp_dropdown_users(). Add current author to dropdown in post_author_meta_box(). fixes #16045
git-svn-id: http://svn.automattic.com/wordpress/trunk@17198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 01:52:03 +00:00
nacin 48c84b91de Remove a random nacin typo introduced in 3.0. see [12976], #16055.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 23:58:02 +00:00
nacin 1322474b22 div.alignleft.actions needs to wrap the 'Empty Trash' button too, otherwise they're not aligned. see #15580.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 23:56:38 +00:00
nacin fea73f0bc5 Restore original argument order for the taxonomy quick_edit_custom_box hook. fixes #15285.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 16:34:08 +00:00
nacin a18f529d6e Small visual improvements to post formats on edit.php. see #16047.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 04:49:27 +00:00
ryan b6346ae5cd Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
git-svn-id: http://svn.automattic.com/wordpress/trunk@17189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 23:38:21 +00:00
nacin 138c0ff862 Typo fix. props Kawauso.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 21:58:44 +00:00
ryan 2df3d85f4e Fix registered and path column sorting. Props garyc40. fixes #16034
git-svn-id: http://svn.automattic.com/wordpress/trunk@17180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 18:06:33 +00:00
markjaquith ff92f29be4 urlencode() theme name when creating theme edit link. props tomthewebmaster. fixes #16028
git-svn-id: http://svn.automattic.com/wordpress/trunk@17177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 16:09:01 +00:00
ryan 9b3c2a5db3 Hard limit to 10 comments on edit post screen. Props greuben. fixes #15998
git-svn-id: http://svn.automattic.com/wordpress/trunk@17168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 15:58:46 +00:00
ryan 0630489d88 Issue manage_pages_custom_column for hierarchical post types. Props mrwok, duck_. fixes #16000
git-svn-id: http://svn.automattic.com/wordpress/trunk@17160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 19:34:31 +00:00
ryan 226e983063 Link Links columns to link manager. Props nacin. fixes #15994
git-svn-id: http://svn.automattic.com/wordpress/trunk@17159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-27 16:57:19 +00:00
ryan b9187228d2 Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983
git-svn-id: http://svn.automattic.com/wordpress/trunk@17156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 22:06:15 +00:00
ryan 9433827b1c RTL pagination fixes. Props yoavf. fixes #15974
git-svn-id: http://svn.automattic.com/wordpress/trunk@17153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 21:54:52 +00:00
ryan 964e5e46ec Give search submit buttons a unique ID. Props dd32. fixes #15979
git-svn-id: http://svn.automattic.com/wordpress/trunk@17151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 21:49:51 +00:00
nacin 434087c311 RTL for theme installer. props yoavf, fixes #15984.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 06:31:46 +00:00
nacin 8011db1107 Revert to esc_html when escaping the textarea for nav menu item description. see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 18:42:59 +00:00
nacin 9009245db5 Tag textareas escaped earlier with textarea_escaped. see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 17:58:01 +00:00
nacin 6ca0be1c1e RTL for the new style pagination links. fixes #15974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 13:48:13 +00:00
ryan 625a229313 MS themes fixes. Fix bulk actions when no items selected. Props SergeyBiryukov, nacin. fixes #15920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:41:36 +00:00
nacin b0be8cd9f4 Validation fixes. props ocean90, fixes #15287.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 14:19:41 +00:00
ryan 476e468faf Fix comment reply colspan. Props garyc40. fixes #15876
git-svn-id: http://svn.automattic.com/wordpress/trunk@17124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 17:21:29 +00:00
westi 56584f6801 Ensure that images added using Press This get the correct source url set. Fixes #15841 props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 15:41:05 +00:00
ryan ad52588e82 Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@17117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 14:44:51 +00:00
ryan 41476a07ea Set the correct plural. Use plugins class on the table. Props scribu. fixes #15922
git-svn-id: http://svn.automattic.com/wordpress/trunk@17115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 14:34:14 +00:00
ryan edc2f694ad Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: http://svn.automattic.com/wordpress/trunk@17113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 19:03:43 +00:00
ryan 1fe263e46c Use term_taxonomy_id instead of term_id. Props duck_, nootron. fixes #15941
git-svn-id: http://svn.automattic.com/wordpress/trunk@17108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 17:38:22 +00:00
markjaquith b9a7bb4bc7 Display placeholder when no comments found. props garyc40. fixes #15937
git-svn-id: http://svn.automattic.com/wordpress/trunk@17103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:34:29 +00:00
ryan 587ea006b5 Translations in title attributes require esc_attr().
git-svn-id: http://svn.automattic.com/wordpress/trunk@17102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:17:58 +00:00
ryan a1d8c65604 Add delete support to network themes. Props PeteMall. fixes #15707
git-svn-id: http://svn.automattic.com/wordpress/trunk@17101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 16:50:16 +00:00
nacin 9fdf778067 New help strings in internal linking. props jane, see #15739.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 15:04:59 +00:00
nacin e5b099a459 Add missing translation for 'Page Template' in the theme editor. props SergeyBiryukov, fixes #15933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 14:58:54 +00:00
nacin 53895d9778 Don't include trash posts in the sticky posts count. props garyc40, fixes #15934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 14:58:17 +00:00
ryan 3bce6d9be9 List table spinner. Props scribu. see #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@17090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 18:45:05 +00:00
ryan eb9fa27602 Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 17:25:39 +00:00
nacin e68063f9f3 Don't check the upload space site option if the option is disabled. props greuben, fixes #13601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:44:33 +00:00
ryan e8468d167a Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:25:35 +00:00
ryan edd8ffdb68 Consistently use edit_posts_per_page. Props sorich87. fixes #14135
git-svn-id: http://svn.automattic.com/wordpress/trunk@17082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:18:13 +00:00
nacin 60a828c31f Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 15:26:44 +00:00
ryan 8d56bc7265 Restrict meta update/delete to the current post. Props kawauso. fixes #15276
git-svn-id: http://svn.automattic.com/wordpress/trunk@17078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 12:38:21 +00:00
nacin e1eec3925a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:25:21 +00:00
nacin 041c9a445e Don't double-slash list table include. props wpmuguru, fixes #15904.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:14:15 +00:00
markjaquith 3469500927 Only set default post format on new posts – not old ones. props nacin. fixes #15882
git-svn-id: http://svn.automattic.com/wordpress/trunk@17062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 19:22:31 +00:00
nacin ade50f7e35 Allow dfault post format selections. fixes #15882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 05:36:11 +00:00
ryan 09a2d27d5e Remove 'Search Results filter from ms themes. fixes #15872
git-svn-id: http://svn.automattic.com/wordpress/trunk@17050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 01:11:38 +00:00
ryan 26129ad9a1 Search query string tweaks for net plugins. Props PeteMall. see #15872
git-svn-id: http://svn.automattic.com/wordpress/trunk@17038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 23:47:40 +00:00
ryan 1d304b55c6 Remove the delete action link from the network admin if the plugin is active on the main site. Remove the plugin(s) from the deletion list for the bulk actions and shows an error if no other plugin was selected for bulk-deletion. Props PeteMall. see #15709
git-svn-id: http://svn.automattic.com/wordpress/trunk@17033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 21:53:47 +00:00
ryan 58e65d1855 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: http://svn.automattic.com/wordpress/trunk@17032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 21:48:30 +00:00
scribu 01c718f85f Fix notices in quick-edit. See #15285
git-svn-id: http://svn.automattic.com/wordpress/trunk@17027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 13:20:17 +00:00
scribu 6bc5c659ce Always show term search box. See #15857
git-svn-id: http://svn.automattic.com/wordpress/trunk@17026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 11:41:59 +00:00
scribu e729294124 Display categories again. Props garyc40. Fixes #15857
git-svn-id: http://svn.automattic.com/wordpress/trunk@17025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 11:17:41 +00:00
scribu c1e19baef8 Disable sorting by post count for now. See #15861
git-svn-id: http://svn.automattic.com/wordpress/trunk@17024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 10:25:27 +00:00
westi 4b4e4a02d2 Make note that this is a preview_iframe. See #15856
git-svn-id: http://svn.automattic.com/wordpress/trunk@17018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 08:30:33 +00:00
scribu 0879929ca7 Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 00:38:15 +00:00
scribu 6963b1997b Get only required fields in populate_network(). See #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 00:11:21 +00:00
ryan 2cc6b2e7ff phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: http://svn.automattic.com/wordpress/trunk@17009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 22:46:13 +00:00
westi 3122155c6c Give the button an id so it validates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 21:35:39 +00:00
westi 08576ca317 Give the screen options Apply button an id so it validates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 21:08:37 +00:00
scribu cfe09b99e5 Introduce WP_List_Table::search_box(). See #15353
git-svn-id: http://svn.automattic.com/wordpress/trunk@17006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 20:45:10 +00:00
PeteMall b9c491d090 New filter for network admin plugins action link. Fixes #15850.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:22:46 +00:00
scribu 5fce5c6d14 Always display the table, with a placeholder row when there are no items. Fixes #15849
git-svn-id: http://svn.automattic.com/wordpress/trunk@17002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:05:14 +00:00
ryan 3a66c698ee Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@17001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 17:48:20 +00:00
nacin eb574d4e5f Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:31:42 +00:00
nacin a189f21c45 Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:18:28 +00:00
nacin 117be6ae19 Move check_permissions() out of ajax_response(). see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:48:16 +00:00
nacin cc08068dba Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:43:22 +00:00
nacin 8c03934da4 We don't apply markup here. see #15742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:04:54 +00:00
nacin 6f1016586f Use maybe_network_admin_url. see #15840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:12:55 +00:00
PeteMall 932ef80a9e s/<? /<?php / in [16963].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 23:21:07 +00:00
nacin 50669e46f6 Post formats help text. fixes #15376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:24:34 +00:00
PeteMall 527a1381d6 This is only for use in the Network admin when it is always multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:11:55 +00:00
westi dd86bd529f This is only for use in the Network admin when it is always multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:09:50 +00:00
westi c9809f18f3 Re-instate this code so AJAX still works
git-svn-id: http://svn.automattic.com/wordpress/trunk@16966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:04:31 +00:00
westi d70286d3a6 Move post_type var setup back into edit.php and reinstate the cap check. See #15326
git-svn-id: http://svn.automattic.com/wordpress/trunk@16965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:58:05 +00:00
nacin 6f607d4046 Revert [16645]. see #15625.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:50:39 +00:00
nacin 6c025aa06f Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:48:40 +00:00
westi 98ae904159 Fix HTML validation errors. Fixes #15716.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:34:59 +00:00
nacin d3d0fe2e2e s/example-about-page/sample-page/. see #14973.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 17:55:49 +00:00
nacin 844636bf1c Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:27:38 +00:00
scribu 87c95d40f8 Limit height only to iframe body. Fixes #15679
git-svn-id: http://svn.automattic.com/wordpress/trunk@16937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 10:39:50 +00:00
ryan 7f88c122ea Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@16931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 02:36:24 +00:00
nacin 1050da7bce Remove unneeded stripslashes. see #14543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 18:56:15 +00:00
nacin f4c1734b60 Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 17:58:47 +00:00
scribu e6d0e7a509 Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: http://svn.automattic.com/wordpress/trunk@16911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:53:31 +00:00
scribu 0f6329b74f Run parent title through 'the_title'. Props garyc40. Fixes #13968
git-svn-id: http://svn.automattic.com/wordpress/trunk@16908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 10:22:06 +00:00
dd32 20e1171ae8 Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:31:33 +00:00
ryan ad6f2b2921 Use https for preview links if is_ssl(). Props nacin, filosofo. fixes #13328
git-svn-id: http://svn.automattic.com/wordpress/trunk@16903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 22:38:27 +00:00
ryan 07d2164984 Add user id to lock. Props duck_. see #15130
git-svn-id: http://svn.automattic.com/wordpress/trunk@16901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:23:46 +00:00
ryan 3949ce12d0 Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:21:50 +00:00
ryan 5868584335 Bump ver.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 15:33:39 +00:00
dd32 4d74379c6b Add missing global for r16881 See #15781
git-svn-id: http://svn.automattic.com/wordpress/trunk@16882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 06:40:52 +00:00
dd32 3615a69edd Include Javascript Global variables in iframe_header(); Add extra style/script actions which are missing from iframe_header() to bring it inline with admin-header.php. Fixes #15781
git-svn-id: http://svn.automattic.com/wordpress/trunk@16881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 05:43:35 +00:00
westi 568043870d Fix row hilighting when user is spam. See #15558 props beaulebens.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:40:49 +00:00
nacin a717edca97 Always exit after wp_redirect. props filosofo, fixes #15518.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 18:02:54 +00:00
ryan 3df76a04e3 Don't show the WP plugins widget in multisite in the site admin. Props ocean90. fixes #15748
git-svn-id: http://svn.automattic.com/wordpress/trunk@16841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:37:16 +00:00
nacin 42407cf411 Adjust branching and errors in WP_Themes_List_Table::no_items(). fixes #15751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:12:04 +00:00
scribu 3bf4bab66a Fix strange JS error when trashing a comment. Props greuben. Fixes #15746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 14:16:35 +00:00
nacin fe12d85623 Example About Page. props jane, studionashvegas. fixes #14973.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 13:20:40 +00:00
nacin 8d00b7b63b s/can_edit_site/can_edit_network/g. see #15720.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 12:36:39 +00:00
scribu 1474c1a64a Add @return to add_*menu_page() docs. Fixes #15747
git-svn-id: http://svn.automattic.com/wordpress/trunk@16831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 06:54:48 +00:00
nacin adbcaa8019 Fix menu_page_url() for submenu pages attached to custom menu pages. props duck_, see #14159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 04:02:37 +00:00
nacin e2f71931d3 Add the for atteibute to internal linking labels. props batmoo, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 01:46:31 +00:00
markjaquith 28f16ea431 Keep Dashboard RSS widgets in same place when configuring. props duck_. fixes #14785
git-svn-id: http://svn.automattic.com/wordpress/trunk@16814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:53:26 +00:00
dd32 1bc51e9c15 Remove visit site button gradient images from pre-3.0. see [16417]. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 10:01:18 +00:00
nacin 898e58d568 Fix logic inversion. see #15699.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:28:20 +00:00
nacin 69ca141a66 Handle posts without titles better in internal linking. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:22:43 +00:00
nacin 9998836363 Don't show plugin edit link in the site admin. fixes #15722. fixes logic in [16777].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:14:44 +00:00
nacin bc39153b2e Don't show plugin edit link in the site admin. fixes #15722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:06:44 +00:00
nacin 944f37cd3e Don't check post counts in the network admin. props scribu, fixes #15699.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 20:54:04 +00:00
nacin 20bbf977a2 Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 19:42:57 +00:00
ryan 2eba21d6be Fix return the themes links. Props duck_. fixes #15718
git-svn-id: http://svn.automattic.com/wordpress/trunk@16766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:01:58 +00:00
westi 4bd2db1ca5 Use a span so we mark up the all the info about the site. See #15716 - allows for css targetting based on site.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 15:00:30 +00:00
westi 381a4f7750 Introduce can_edit_site to replace inline checks on whether or not the site_id is for the current Network. See #15716.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 14:28:40 +00:00
westi 1bb4914c3a Allow for the callee of download_url() to specify a different timeout if they want to - maybe they don't want to wait that long.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 12:45:24 +00:00
nacin 4dae6777c0 Move [14551] to after the is_wp_error check. see #13133, fixes #15511, props alexdunae.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 07:12:55 +00:00
nacin 860b23d03e Don't reference nonexistent tabs. see #15707.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 21:37:35 +00:00
nacin 99d02e7d54 Set AuthorName even when no translation or markup is processed. see #15662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 21:18:18 +00:00
nacin ebcda1964d Add AuthorName to get_plugins() and use it when deleting a plugin. fixes #15662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 20:49:54 +00:00
nacin bee34b37bc Don't show theme deletion link in multisite in the site admin. Also, link to proper theme-install when using multisite if there are no themes. see #15707.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 20:48:41 +00:00
nacin e03399c715 Fix handling of no titles and long titles in internal linking. see #11240.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:28:06 +00:00
nacin 7ba61cbcd6 Use correct variable. props ocean90, fixes #15693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:44:30 +00:00
nacin 4dd3b77b48 Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:41:19 +00:00
nacin fde64e232f Restore bottom padding in plugin rows. fixes #15547.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:15:09 +00:00
nacin d9b4dcf576 String fixes. props demetris. fixes #15688.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 14:31:18 +00:00
nacin 9722f6a8cb Export filtering JS and minor tweaks. props duck_, see #15197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 11:21:08 +00:00
nacin fed2907095 Fix notice. props vericgar, fixes #11976.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 03:01:42 +00:00
nacin 5021403b9d Add 'Visual Editor RTL Stylesheet' to the list of theme file descriptions. see #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 04:22:48 +00:00
scribu ba56c58f44 Check correct cap in WP_Terms_List_Table::check_permissions. Props duck_. Fixes #15673
git-svn-id: http://svn.automattic.com/wordpress/trunk@16713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 23:18:02 +00:00
scribu 4c56a85962 Use more specific view classes in plugin & theme install screens. Props batmoo. Fixes #15658
git-svn-id: http://svn.automattic.com/wordpress/trunk@16710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 18:51:24 +00:00
PeteMall 70ab4e218f Show network only plugins for !is_multisite. Fixes #15666
git-svn-id: http://svn.automattic.com/wordpress/trunk@16709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 18:05:37 +00:00
westi 4b3fa56caf Actions and Filters for the Network Admin sites panel to make it easier to add custom actions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 12:12:44 +00:00
markjaquith 7aa5cb911e Backwards compat for plugin use of updated=1. fixes #15660
git-svn-id: http://svn.automattic.com/wordpress/trunk@16706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 10:59:20 +00:00
scribu c45f3936a7 More s/upgrade/update. Props michaelh. See #15656
git-svn-id: http://svn.automattic.com/wordpress/trunk@16701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 09:16:28 +00:00
PeteMall d078d4a530 s/Enable/Network Enable for net admin themes. Fixes #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:49:18 +00:00
nacin 8d9cf65725 s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:30:21 +00:00
markjaquith df1887a81a Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
git-svn-id: http://svn.automattic.com/wordpress/trunk@16696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:45:47 +00:00
scribu ecb7457627 Fix compression test 404. Props duck_. Fixes #15496
git-svn-id: http://svn.automattic.com/wordpress/trunk@16689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 14:15:25 +00:00
nacin c6027947e6 add_editor_style should include the parent theme CSS before the child theme CSS for override reasons. props JohnPBloch. fixes #14430.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 13:54:56 +00:00
nacin 85c0930679 define isRtl in the media upload iframe. props filosofo, fixes #15639.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 12:44:48 +00:00
markjaquith 3e539e8448 PHPDoc. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@16684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 05:47:17 +00:00
nacin 61a6e261c5 Revert [15742]. Custom post types and sticky posts don't mix. fixes #12702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 03:39:26 +00:00
markjaquith e7140d23cb The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 03:19:14 +00:00
markjaquith ff7ac5a045 Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@16678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 02:42:38 +00:00
ryan 0eeb985ef2 Deprecate and ignore the refresh arg. fixes #15605
git-svn-id: http://svn.automattic.com/wordpress/trunk@16673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 22:12:09 +00:00
markjaquith 5f15bf9db2 Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621
git-svn-id: http://svn.automattic.com/wordpress/trunk@16669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:41:47 +00:00
ryan 3f72e340d6 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +00:00
ryan e999b49423 Save meta id before performing actions since the insert_id can change. Props cyberhobo. fixes #15465
git-svn-id: http://svn.automattic.com/wordpress/trunk@16659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:11:47 +00:00
ryan ce490df051 Export filtering. Props duck_. fixes #15197
git-svn-id: http://svn.automattic.com/wordpress/trunk@16652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:21:58 +00:00
ryan 68f7ed2701 Don’t nag to Change Permalinks if permalink structure is defined. Props demetris. fixes #13918
git-svn-id: http://svn.automattic.com/wordpress/trunk@16651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:16:22 +00:00
westi e8471af340 Don't show the Post Format if the current theme doesn't support them. Fixes #15625.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 12:31:27 +00:00
nbachiyski 44f183e8dd Add another pair of parentheses, so that the right-hand win_is_writable() isn't always called. Fixes #15616
git-svn-id: http://svn.automattic.com/wordpress/trunk@16635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 21:41:57 +00:00
nbachiyski db9eeb3019 Run the iis7_supports_permalinks() check first
* It's cheapest, most of the others involve disk operations
 * Doesn't go through win_is_writable(), which can't avoid relying on the @ operator


git-svn-id: http://svn.automattic.com/wordpress/trunk@16634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:50:59 +00:00
PeteMall 91d8dac6b7 Remove update notifications from site-themes. See #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:31:49 +00:00
nbachiyski 54886235ab Rename the $rm variable so that the logic in win_is_writable() makes more sense
git-svn-id: http://svn.automattic.com/wordpress/trunk@16623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 19:57:39 +00:00
nbachiyski ce7bc3977b Proper spacing in win_is_writable(), according to the coding standards
git-svn-id: http://svn.automattic.com/wordpress/trunk@16622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 19:13:27 +00:00
nbachiyski a3d185fd50 COonvert spaces to tabs
git-svn-id: http://svn.automattic.com/wordpress/trunk@16621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 19:11:09 +00:00
PeteMall dc7baa81e9 Remove theme udpate notification from site admin for multisite installs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 03:03:40 +00:00
scribu 6eff593e14 Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:15:04 +00:00
ryan 096efd9957 Remove unnecessary addslashes. Props duck_. fixes #15325
git-svn-id: http://svn.automattic.com/wordpress/trunk@16608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 14:40:43 +00:00
westi d2bce97ced Make the list of actions that can be performed on a site in the User List in Network admin filterable.
Add classes for all core site status types to the view url.
Move the CSS to a css file rather than including it inline.
See #15558

git-svn-id: http://svn.automattic.com/wordpress/trunk@16607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 13:31:42 +00:00
scribu 4a980032b8 Set get_users() as a replacement to get_editable_user_ids() and friends. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@16605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:39:39 +00:00
scribu cbca4fd42a Make bottom admin pagination scroll to the top after rows are updated. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-28 19:05:12 +00:00
scribu cc540d502a Fix problems with hidden columns on network users screen. Props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-28 17:39:44 +00:00
scribu 2f5360bfcf Update get_*_columns() method docs. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 09:12:38 +00:00
scribu 3014920524 Make date columns first sort in descending order. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 02:03:02 +00:00
scribu 94e36009c7 Make comment content column unsortable. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 18:45:28 +00:00
scribu 4e87af0b1f Check public flag instead of query_var to decide if counts should be linked. See #15573
git-svn-id: http://svn.automattic.com/wordpress/trunk@16579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 01:39:34 +00:00
scribu 87e98f9f22 Don't link post counts if taxonomy isn't queryable. Fixes #15573
git-svn-id: http://svn.automattic.com/wordpress/trunk@16578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 23:29:13 +00:00
markjaquith ad6e83136d Improve the wording of the file upload security message. props janeforshort. fixes #13550
git-svn-id: http://svn.automattic.com/wordpress/trunk@16577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:45:21 +00:00
PeteMall 24bd7a417e Use get_user_count() in network admin users. Fixes #15567
git-svn-id: http://svn.automattic.com/wordpress/trunk@16574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:03:28 +00:00
PeteMall 9855ee1aa2 Hide posts column for site-users. Props ocean90, see #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 19:51:36 +00:00
PeteMall 652db28fad Add screen option in site-users. Props duck_, see #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 16:54:53 +00:00
markjaquith 02e9501c47 Do not double up on id attribute for submit_button() if id is provided in other attributes param. props duck_. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 16:30:40 +00:00
westi dc79a67932 Error suppression is lame!
git-svn-id: http://svn.automattic.com/wordpress/trunk@16565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 11:19:23 +00:00
markjaquith dc77ee14f8 Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
git-svn-id: http://svn.automattic.com/wordpress/trunk@16561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:44:46 +00:00
PeteMall b27bd5b253 Adapt user-list-table for network admin site-users. See #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 05:31:25 +00:00
PeteMall 5c803c9b28 Site Themes cleanup. See #14897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 00:27:54 +00:00
ryan 8b60cbd2db Set blog id for site-themes.php AJAX requests.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 22:27:05 +00:00
westi da6fe519f3 And proper context too!
git-svn-id: http://svn.automattic.com/wordpress/trunk@16550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 13:50:23 +00:00
westi 2e0a12e224 Correct incorrect action name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 13:41:57 +00:00
westi a1fa56fd5a Require nonces for all the confirm links so we know they actually came from us.
Add a nonce check on the confirm links in the Network Admin stage two.


git-svn-id: http://svn.automattic.com/wordpress/trunk@16548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 12:14:03 +00:00
westi 52dc84f158 Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table column added for the wpmublogsaction hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 11:46:10 +00:00
westi 93e23a7101 Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 11:39:50 +00:00
scribu 0324721ed2 Document url_shorten() and use in more places. Props latz for initial patch. Fixes #15540
git-svn-id: http://svn.automattic.com/wordpress/trunk@16536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:31 +00:00
nacin 69b3167678 Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:26 +00:00
PeteMall 9a23bd6078 Use first and last name in network admin users. Fixes #15528.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 04:31:31 +00:00
nacin d29759048d Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:27:12 +00:00
nacin b306f9f9c6 Indent a foreach.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:20:32 +00:00
scribu 2410a3bd8e Don't need WP_MS_Users_List_Table constructor anymore. See [16501]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 14:03:49 +00:00
ryan 49fd963999 Don't esc_textarea() in meta boxes since the post object is already escaped. Props Viper007Bond. see #15505
git-svn-id: http://svn.automattic.com/wordpress/trunk@16502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 06:10:07 +00:00
ryan e3d61691fa Could not bulk edit users in Network Admin due to reversed logic on capability check, and incorrect action included for comparing to nonce. Props beaulebens
git-svn-id: http://svn.automattic.com/wordpress/trunk@16501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 05:48:35 +00:00
nacin 9e91b81274 self_admin_url in plugin-install. props ocean90, fixes #14062.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 01:38:21 +00:00
nacin 9576fc93bf Don't include Network Only plugins in the site admin plugin counts. props PeteMall, fixes #15502.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 01:23:44 +00:00
ryan c1812e444d Site search performance tweaks. Use subquery for registration log queries to allow cross DB queries. Lose order by id by default. Search only by blog_id for numeric search strings. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:16:03 +00:00
nacin 8233e4f6b5 Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:31:07 +00:00
ryan 07d265659b get_media_item_args, swfupload_post_params, and swfupload_success_handler filters. Props simonwheatley. fixes #13817
git-svn-id: http://svn.automattic.com/wordpress/trunk@16476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 00:04:04 +00:00
scribu d5b3719be8 Make entire sortable header clickable. Props batmoo. Fixes #15352
git-svn-id: http://svn.automattic.com/wordpress/trunk@16472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 21:39:22 +00:00
ryan a216b1ed8f Fix undefined offset warnings on pages the current user does not have perms for. Props wpdavis. fixes #15469
git-svn-id: http://svn.automattic.com/wordpress/trunk@16471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:55:05 +00:00
nacin b8ce0261df More param fixes, props duck_. see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:12:48 +00:00
scribu cf06d54257 Always use 'paged' in list tables. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 17:00:24 +00:00
nacin 485daddde1 Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:59:05 +00:00
nacin 3bb8ace4e2 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 06:22:13 +00:00
nacin b68b0a5f01 Fix width of nav menu search boxes. props batmoo, fixes #15464.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 05:16:43 +00:00
nacin 931cecae63 Include a single-column option in gallery settings. props husobj, fixes #14836.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:30:55 +00:00
nacin 1b3ddf631e What you don't know can hurt you. Don't show 'You cannot modify this taxonomy.' props johnjamesjacoby, fixes #14197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:22:01 +00:00
nacin 0902043f6d We don't want a populated WP_User object here. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 00:26:29 +00:00
nacin 52fca11fca Kill unnecessary br.clear after div.tablenav. fixes #15354.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 20:10:12 +00:00
ryan 847499e531 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
markjaquith 6482610f9a esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@16431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:12:01 +00:00
scribu 0921736b76 Differentiate between localized and raw total pages. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:03:27 +00:00
nacin d22cc9bd64 s/Login/Username/ to restore 3.0 string. props demetris, fixes #15453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:58:15 +00:00
scribu b4674ec053 Remove drag_drop_help() and plugins_search_help(). Fixes #15451
git-svn-id: http://svn.automattic.com/wordpress/trunk@16426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:41:26 +00:00
scribu 2dcfb8a55f Make media_handle_sideload() return attachment id instead of URL. Props joostdevalk. Fixes #15432
git-svn-id: http://svn.automattic.com/wordpress/trunk@16383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 12:53:11 +00:00
nacin 478186859b Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 06:38:10 +00:00
scribu e2be537941 Don't show author column if the post type doesn't support it. Fixes #15425
git-svn-id: http://svn.automattic.com/wordpress/trunk@16376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:35:42 +00:00
scribu 14fa85ba94 Make submitted-on a class instead of an id. Fixes #15426
git-svn-id: http://svn.automattic.com/wordpress/trunk@16375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:28:55 +00:00
scribu 2bcb10213c Don't display upgradeable plugins in site admin and only translate plugin data for currently displayed plugins. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:34:59 +00:00
scribu e1c3e15de4 Fix post comments box and remove unused 'add-comment' ajax action. See #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:19:45 +00:00
scribu a41a7b5b5b Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:00:09 +00:00
nacin d81d7b7f4a Some escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@16366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 17:33:16 +00:00
scribu 03dd41a0d2 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 15:50:02 +00:00
scribu bb15731084 Rework WP_MS_Themes_List_Table column display. Props ocean90. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:47:14 +00:00
scribu 68981ccac4 Add back 'Submitted on ' text. Props zeo. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:58:39 +00:00
scribu e875f0f5da Fix 'response' column title. Props zeo. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:53:21 +00:00
scribu e496292ae5 Make manage_users_custom_column hook consistent between WP_(MS)?_Users_List_Table. Fixes #14562
git-svn-id: http://svn.automattic.com/wordpress/trunk@16354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:47:34 +00:00
scribu 2c9faf261b Make custom plugin columns hideable. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 17:21:40 +00:00
scribu 59ccc3815c Rename action to 'manage_plugins_custom_column' to be consistent with other screens. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 17:01:57 +00:00
scribu c37e363bc8 Add 'manage_plugin_custom_column' action and properly hide plugin columns. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:57:25 +00:00
scribu 7184b861c3 Introduce WP_Plugins_List_table:single_row(). See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:30:20 +00:00
scribu 37f29e649e Move network only status check out of foreach. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:25:56 +00:00
scribu bdbfca56a7 Begin rework of plugins list table. Props edward mindreantre. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:58:23 +00:00
nacin 81a8f2d3ce Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:53:55 +00:00
nacin e8af3af849 Use cap->edit_post in WP_Posts_List_Table. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 00:13:08 +00:00
ryan 8b562f1fb9 Set is_site_themes from current screen so the ajax request returns the proper rows for site-themes.php searches. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 22:44:08 +00:00
westi 435c4c2dbf Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu 98cda5bd65 Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
ryan f5282d040d Check delete_site and delete_sites caps. Check for delete_user is more places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 16:35:28 +00:00
ryan dd1630305b Check delete caps in network users admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 16:00:41 +00:00
nacin e915bc2f45 Remove dead code. props nathanrice, fixes #13893.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 11:26:14 +00:00
markjaquith 82ea187e58 Always add in the current post format, in case the theme was switched to one that does not support it. props anderswc. fixes #15393. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:21:17 +00:00
markjaquith 75d045de8e Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:10:56 +00:00
markjaquith 6d78cf73f9 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:05:33 +00:00
nacin 5f4a583fb1 Remove more create_function calls. props huichen, see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:50:36 +00:00
nacin 771de1c49e Kill a create_function by introducing is_plugin_inactive. see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:21:04 +00:00
ryan 0d489ee102 Add screen options to site-themes. Props PeteMall. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 15:16:16 +00:00
scribu 1f74ef6b02 Make 'registered' column sort by user id. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 11:47:10 +00:00
scribu 456b6cf6ed Make 'registered' column sort by site id. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 11:45:32 +00:00
westi ae213c99ca Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 23:31:54 +00:00
westi 4215d8be2c Blankity Blank. Fixes #15380 props arena.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 20:54:56 +00:00
nacin 4a4505c7db Use direct post_title instead of get_the_title() in get_inline_data(). reverts [13079] but adds trim() to solve original bug. fixes #14323, props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 17:08:05 +00:00
nacin 3b2c4501d1 Super Admin filter for network/users.php. fixes #15371.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 17:05:20 +00:00
nacin 5560332a2c Update phpdoc for wp_list_widgets(). fixes #15373.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 12:28:03 +00:00
nacin 21da8738a2 Default to 'post' in WP_Terms_List_Table. props filosofo, fixes #15351.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 06:38:53 +00:00
nacin db5af22ed9 Use the name of the corresponding post type in the edit-tags column. TODO, typenow should be accessible from the current_screen object on edit-tags. see #14886 for current_screen, [15664] for previous TODO note.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:59:49 +00:00
nacin 75d7ca4b07 Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:46:05 +00:00
nacin fa3c017451 Use spaces for alignment. see #15343 [16236]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:42:35 +00:00
scribu 266a71eb7d Fix admin comment reply. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 23:07:37 +00:00
ryan d08a1970de site-themes.php cleanup. Props PeteMall. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 21:52:54 +00:00
ryan 39c1f5dc43 Use bool for allowed themes. Props PeteMall. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 19:40:05 +00:00
ryan 0ea71e1e45 Use submt_button(). see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:45:20 +00:00
ryan c4770f14d0 Update links. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:40:57 +00:00
ryan ea642853ff Fix typo. Props PeteMall. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:36:09 +00:00
ryan 90eff42b58 Add the former contents of ms-admin.php to a right now widget for the network admin. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:31:00 +00:00
westi 136df0f262 Encode quotes and chevrons in the HTML editor version of the generated captions too. Fixes #15343.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:15:14 +00:00
scribu 3d8f4b6b2e Use get_current_screen() in list table classes. Fixes #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 15:43:44 +00:00
scribu bbcf03f678 WP_Media_List_Table: merge display_rows() and display_orphans(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 23:00:17 +00:00
scribu de68225afc WP_Media_List_Table: remove code for displaying old 'actions' column. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 22:51:43 +00:00
scribu b5c613b364 WP_Media_List_Table: Use class property instead of $detached global. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 22:47:12 +00:00
scribu f21ccd3113 Use screen id instead of base, to be consistent with older filters. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 21:49:23 +00:00
scribu ce7f8c131c Clean up WP_Terms_List_Table::column_default(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:11:15 +00:00
scribu fa4ea77657 Make post column hooks consistent. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 21:16:46 +00:00
scribu c0b067fcf5 remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: http://svn.automattic.com/wordpress/trunk@16205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 14:34:09 +00:00
markjaquith f1a30e2dd5 format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 07:09:13 +00:00
markjaquith a4ac7eca6f get_post_format_string() to get nice version of a post format slug. Try appending post format as a post-status label. Enclose in square brackets to help it stand out. Remove post format strings filter. If this is going to be standard, it should be standard. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 03:04:13 +00:00
markjaquith 920bfad390 Use post_type_supports() to check for whether a post type supports post formats. Only posts support it by default. props mikeschinkel. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 02:04:22 +00:00
scribu 0bfee7db48 Rename property _screen to screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 21:02:13 +00:00
scribu b078890091 Fix screen options for the network admin themes and plugins. Props ocean90. Fixes #15269. Also fixes [16190]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:49:30 +00:00
scribu 94339af889 Revert [16182] for comments table. See#14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:04:31 +00:00
markjaquith b581a43b30 Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:33:50 +00:00
scribu 0e77a0b5e4 Minor cleanups. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:28:58 +00:00
markjaquith d80160e0ae Limit post format UI to posts only, for now. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:02:24 +00:00
scribu c5a9fd309d Default to get_current_screen() in list table classes. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 15:00:55 +00:00
westi 5e90c5d1c3 Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:07:03 +00:00
markjaquith 17fbb0e123 add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 07:41:07 +00:00
scribu 836ec33dca List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 21:09:27 +00:00
ryan 1e95d0f38e Allow trailing wildcard site searches by appending *. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 19:26:23 +00:00
ryan b713a76272 Make IP query threshold more restrictive. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 18:40:12 +00:00
ryan 97cb9b2a08 Drop Sites search action dropdown. Determine the search action from the search string. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 18:28:02 +00:00
ryan bee047cabb Check for install_plugins cap too since it can be removed for supes. see #15163
git-svn-id: http://svn.automattic.com/wordpress/trunk@16163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 14:57:10 +00:00
ryan 8804523ad7 Lose wildcards in site search. Maybe bring it back as an option. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 13:57:43 +00:00
ryan f5ab587c9d Show latest x users with no paging if on a large network. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 13:34:04 +00:00
westi 0c4a2788cf Revert part of [16126] and restore the correct behaviour in the ms sites list. Fixes #15297 props ronbme
git-svn-id: http://svn.automattic.com/wordpress/trunk@16158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 22:13:16 +00:00
ryan 32e86e7d3e Default to id since registered doesn't have an index. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 21:23:26 +00:00
nacin 500e2d3f4c Remove deleted file from the manifest. Note that most other blue files were never added. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 05:24:58 +00:00
nacin 7a76c916c3 Housekeeping for blue refresh. Script bumps, image bumps, remove unused blue-specific files. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 05:05:27 +00:00
nacin 541b88a096 Add theme updates to the network themes screen. props PeteMall, see #14897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 20:08:25 +00:00
ryan 470304e2c6 Add edit theme links. Props PeteMall. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 19:14:03 +00:00
ryan e08e1bf63b For large networks, show the latest registered blogs without paging to avoid expensive count queries. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 17:53:03 +00:00
ryan 70295ae440 edit.php markup fixes. Props wahgnube. fixes #15260
git-svn-id: http://svn.automattic.com/wordpress/trunk@16134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 16:24:48 +00:00
westi 5c88dc48e7 Enable the dialog for paste as plain text in the new TinyMCE paste plugin. Fixes #15278.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 15:59:48 +00:00
westi a4908141b8 Allow better contextual based filtering of the path to the image being edited by having specific filters for local filesystem and url based paths.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 10:36:35 +00:00
westi 8b62d686ca Group the Network admin List Tables class mapping seperately so they are easier to pick out. See #14435, #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:24:32 +00:00
westi ad92d629d6 The big renaming of the list-table class files.
See #14579

git-svn-id: http://svn.automattic.com/wordpress/trunk@16128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:19:50 +00:00
westi c66629c140 Split out the list table functions into a seperate file from the base class.
See #14579.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:56:27 +00:00
westi 034621a8d7 Correct the subdomain/non-subdomain logic when listing sites.
Tidy up the case statement.
See #15174.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:43:24 +00:00
westi a4d26eefc2 Make the class to filename mapping easier to read.
Ensure that we support PHP4 for now by passing references to objects in list tables code.
See #14579.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:37:02 +00:00
scribu 7c2662a476 Fix search in network themes panel. Props PeteMall. See #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 23:26:38 +00:00
scribu c8bd2835a0 make not_found puctuation translatable. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 23:21:56 +00:00
nacin 125733fff3 Translate a string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 15:38:13 +00:00
scribu 89e0ee3047 remove redundant 'Network ' prefix from action names and redundant display_tablenav() method. See #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:38:04 +00:00
westi d8eee3d47f First pass at a new Network Admins page for Theme enable/disable/upgrade. See #14897 props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 09:37:15 +00:00
westi 0597ad55c4 Check for empty strings before indexing into them. Fixes #15265 props solarissmoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 09:29:57 +00:00
nacin 7d66e163c2 <br/> tags are self-closing. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 05:13:46 +00:00
scribu d75cca7dcf WP_List_Table::no_items() consistency fixes. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 01:29:23 +00:00
scribu bb99a95284 Move no_items logic to WP_Comments_Table. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 01:17:00 +00:00
nacin 6c03909488 Fix nested HTML in submit_button(). fixes #15257, see #15064.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 06:14:15 +00:00
scribu 089a7226f1 Optimize menu item creation. Props filosofo. Fixes #14415
git-svn-id: http://svn.automattic.com/wordpress/trunk@16096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 00:13:45 +00:00
nacin 62b349e605 Kill what_to_show on upgrade. fixes #9815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:39:05 +00:00
azaozz 28466e59f1 Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
git-svn-id: http://svn.automattic.com/wordpress/trunk@16090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 20:06:00 +00:00
scribu b0641c55c9 Fix bulk actions for Network Admin -> plugins. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 19:09:04 +00:00
nbachiyski 9f5c506a9f Introduce and use translate_nooped_plural(). Fixes #13996
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
 * translate_nooped_plural() takes one such associative array and translates it
 * it works on both the result from _n_noop() and from _nx_noop()
 * this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
 * translate_nooped_plural() is applied where applicable


git-svn-id: http://svn.automattic.com/wordpress/trunk@16073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 13:12:14 +00:00
markjaquith fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
ryan 2b86361848 Don't show private attachment taxonomies in the uploader. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 18:53:09 +00:00
westi 39fceab5b4 Add a filter to the mime type list displayed in the iframe media uploader when viewing the media library. Fixes #6348 props wojtek.szkutnik
git-svn-id: http://svn.automattic.com/wordpress/trunk@16047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 12:41:37 +00:00
nacin 111ac18ada Don't show plugin update notifications outside of the network admin. props PeteMall, see #14435.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:31:16 +00:00
nacin 80873094fe Remove unnecessary bulk actions for plugins re: network admin. props PeteMall, see #14435.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:30:37 +00:00
scribu f7ba3fd70d Prevent double inclusion of plugin when already activated on main site. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 23:54:43 +00:00
nacin 82b1349664 Docs for wp-admin/includes/file.php. props sivel, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 22:24:06 +00:00
scribu 80ce121521 Don't call activation hooks when upgrading. Props joelhardi for initial patch. See #14915
git-svn-id: http://svn.automattic.com/wordpress/trunk@16012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 13:40:14 +00:00
scribu 1482db4c2d Pass $network_wide flag to de/activation hooks. See #14170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 13:20:53 +00:00
nacin 05fde90357 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 10:46:24 +00:00
nacin a34d2bbe94 Don't check the raw edit_others_posts cap. see #12702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 08:48:55 +00:00
nacin 51b4b138af Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 08:27:45 +00:00
nacin 6d2f18f240 Remove trailing newlines. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 20:21:27 +00:00