Commit Graph

3463 Commits

Author SHA1 Message Date
nacin 9b49096f5e Add argument to get_theme_feature_list() to allow the tags to be returned without hitting the WP.org API. We'll be using this to translate tags. Remove trailing space in the 'Light' string. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:38:09 +00:00
duck_ a395e06896 Reduce references to the $wp_rewrite global because it's no longer used or a wrapper function can be used instead. Fixes #14546.#14546.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:29:33 +00:00
nacin b367a71d1a Do not save the last visited tab on the multisite Network Themes page and Site Themes tab. These are poor UX, see #18810 for plugins. Entering these screens will always default to 'all' themes view. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:13:21 +00:00
duck_ bb94e702f8 Drop image resizing code from wp_handle_upload(). Fixes #19800.
This code stops wp_handle_upload() from reporting errors when the upload couldn't be moved to its final local and it was a non-JS fallback that is unused.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:02:43 +00:00
ryan e4ce1046b0 Pass post id to get_upload_iframe_src() instead of relying on a global. Props tott. fixes #20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@19999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-27 19:23:03 +00:00
nacin 69f037f8cc Remove out-of-place double quote. props niallkennedy. fixes #20113.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 20:49:54 +00:00
azaozz 73c87020c7 HTML in image captions, first run, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@19982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 01:58:18 +00:00
nacin 013b783a05 Preserve keys when splitting themes up for pagination. props Utkarsh. fixes #15306.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-23 14:42:01 +00:00
nacin 097be218c8 Use version_compare() when checking installed themes in the theme installer. fixes #20097.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-22 14:03:59 +00:00
nacin 4a9e14a011 Allow bundled plugin headers to be translated. see #19597.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:26:08 +00:00
nacin cbbef554e9 Add an @return. fixes #19974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 21:59:47 +00:00
nacin fe96801c4b Add WP_Screen methods get_help_tabs(), get_help_tab( $id ), get_help_sidebar(). Store help tabs by tab ID, not numeric key; allows proper removal with remove_help_tab( $id ). props BenChapman, npetetin for initial getter patch. fixes #19974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 23:40:02 +00:00
nacin bc73871a55 Only show 'Show on screen' once in screen options. fixes #17431.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 23:19:52 +00:00
nacin a40a97dbc9 Use class name for @return. props markuak, fixes #20063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 23:15:05 +00:00
nacin 7167c79364 Remove unused logo-login.png after all. fixes #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 05:06:09 +00:00
nacin 87bc44fa86 Remove old logo-login.gif from manifest. props edward mindreantre, see #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 04:59:42 +00:00
nacin aefde50081 Deprecate ancient "debugging" tools.
* logIO() and the global $xmlrpc_logging in XML-RPC.
 * log_app() and the global $app_logging in APP.
 * debug_fwrite(), debug_fopen(), debug_fclose(), and $debug.
see #20051.



git-svn-id: http://svn.automattic.com/wordpress/trunk@19935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 00:02:42 +00:00
duck_ af2eb34f8a Correct faulty logic when dealing with autocomplete_users_for_site_admins, and break logic into multiple lines. See #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-16 17:12:10 +00:00
duck_ b7dd19a963 Display menu_order value in quick edit for non-hierarchical post types. Props nikolay.yordanov. Fixes #19911, see #18352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-15 17:19:59 +00:00
duck_ 010396ab1a Remove use of nonexistent include_last_update_time arg from get_terms() call. See #19953.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-15 16:48:27 +00:00
ryan 7ff7850931 Lose unnecessary space. Props SergeyBiryukov. fixes #19964
git-svn-id: http://svn.automattic.com/wordpress/trunk@19921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 17:25:40 +00:00
ryan 86901353cf Add post ID argument to _wp_post_thumbnail_html() rather than relying on a global. Post the ID from wp_ajax_set_post_thumbnail(). Props batmoo. fixes #20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@19902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 17:41:37 +00:00
markjaquith 481959acec Autocomplete for add-user screens in multisite. props boonebgorges, Japh, DrewAPicture, PeteMall, nacin, koopersmith, markjaquith. see #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 08:45:17 +00:00
ryan 723bb1a99c Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
git-svn-id: http://svn.automattic.com/wordpress/trunk@19887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 17:20:26 +00:00
nacin bfeb575df9 Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:12:11 +00:00
ryan a575cd242e Switch post_content_filtered from text to longtext so that it matches post_content. Props ejdanderson. fixes #19387
git-svn-id: http://svn.automattic.com/wordpress/trunk@19863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 14:51:18 +00:00
duck_ 4d600fe454 Bump WXR_VERSION because of r19858 which affects the regex based importer. See #15203.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:51:14 +00:00
duck_ 6f343f700f Export valid XML by escaping the closing CDATA sequence "]]>". Props ceefour. See #15203.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:48:45 +00:00
ryan c1f604e78e Change feature filter from post to get so feature selections aren't lost when paging. Props SergeyBiryukov. fixes #18094
git-svn-id: http://svn.automattic.com/wordpress/trunk@19857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:06:52 +00:00
nacin 72c995441a Allow localized commas to be used as tag separators. see #7897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 18:06:12 +00:00
ryan f3a546d0fd Hide theme details by default. Props helenyhou, DH-Shredder. fixes #19853
git-svn-id: http://svn.automattic.com/wordpress/trunk@19840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 20:54:01 +00:00
azaozz 6981611202 Remove unused TinyMCE media plugin images, props SergeyBiryukov, fixes #19963
git-svn-id: http://svn.automattic.com/wordpress/trunk@19828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 17:58:41 +00:00
nacin cb3b946d8c Initial import of localized CSS, for Chinese and Hebrew. see #19603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 00:54:42 +00:00
ryan a2618da365 Setup now that global is not used. see #15327
git-svn-id: http://svn.automattic.com/wordpress/trunk@19822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 20:13:22 +00:00
nacin dad0c4ed9f Translate the monthnum/month abbreviation construct in the Publish box. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:23:25 +00:00
nacin e23bba5249 Use existing string to properly translate month + year combo. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:11:01 +00:00
nacin cbafaaea36 Use home_url() rather than get_option() + is_ssl(). props ocean90, fixes #19942.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 22:31:35 +00:00
nacin 162546a7fc s/plugin/theme/ in an edge case string in the theme updater. props pavelevap, fixes #19940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 16:08:36 +00:00
nacin c1b4310367 Provide contexts for a 'Welcome' string. Sometimes we're saying hello, other times referring to the welcome panel. props pavelevap, fixes #19698.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:47:49 +00:00
nacin 568fbf24e0 Use wp_die() in ajax-actions. props kurtpayne. see [19801], fixes #15327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 22:14:39 +00:00
ryan 5fd633b48b Drop the comment_approved index from the comments table. comment_approved_date_gmt is sufficient. fixes #19935
git-svn-id: http://svn.automattic.com/wordpress/trunk@19799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 18:26:07 +00:00
ryan 0f80145c67 Drop the blog_id column from the options table during upgrade. Props barry. fixes #17188
git-svn-id: http://svn.automattic.com/wordpress/trunk@19798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 17:45:22 +00:00
ryan 36d2989fed Remove blog_id column from wp_options. Props scribu. fixes #17188
git-svn-id: http://svn.automattic.com/wordpress/trunk@19793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 20:47:25 +00:00
ryan 5fce3217ad Check the return of wp_insert_term() for WP_Error or array. Prevents fatal erros and failure to add categories when adding terms via ajax. Props mdawaffe. fixes #17938 #17939
git-svn-id: http://svn.automattic.com/wordpress/trunk@19792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 18:19:27 +00:00
nacin 17ac9ebf82 Use the _x context function. props Mamaduka. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 23:43:14 +00:00
nacin 5d761c1cb6 Switch to Feedback, from Suggest Ideas, for a default link, based on 3.3 toolbar. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 20:25:59 +00:00
nacin fda09f5124 Allow translators to specify a default timezone string OR GMT offset. Stop doing date('Z')/3600 math for default gmt_offset, as since WP 2.9, we set server time to UTC. Server time is unreliable, so no workarounds for now. fixes #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 20:04:11 +00:00
nacin bdd70470e2 Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 19:56:33 +00:00
nacin b905dc7122 Offer default links and applicable URLs for translation. Some of these are already translatable elsewhere. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 05:14:59 +00:00
nacin 0b169b5361 Offer start_of_week for translation. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 04:21:53 +00:00
ryan b2d61dab8a Load the new admin and network admin mo files, if present. see #19852
git-svn-id: http://svn.automattic.com/wordpress/trunk@19772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-27 22:19:56 +00:00
nacin 61abfcd3c7 Add 'ep_mask' as an argument to the 'rewrite' array for register_post_type() and register_taxonomy(). Keeps 'permalink_epmask' compatible as an argument for post type registrations. Fixes endpoints for category and tag pages. fixes #19275.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-23 19:12:04 +00:00
duck_ cd43f96110 Prevent "Undefined index: settings-updated" notice in settings_errors(). Props garyc40. Fixes #19377.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-13 18:15:55 +00:00
nacin ed3a628088 'No comments awaiting moderation.' props demetris. fixes #15689.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 19:53:51 +00:00
nacin d6fb70098f Prefix table name against the post_parent field in _edit_attachments_query_helper() to avoid ambiguous queries. props benbalter. fixes #19779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 15:55:30 +00:00
ryan e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
dd32 3fe0d5e688 Show Changelog by default for "View version x.y.z details" links for Plugin updates. Props linuxologos. Fixes #19208
git-svn-id: http://svn.automattic.com/wordpress/trunk@19711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 12:36:17 +00:00
dd32 f60ca6da11 Better indentation. Props SergeyBiryukov. See #16580
git-svn-id: http://svn.automattic.com/wordpress/trunk@19710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 09:18:56 +00:00
dd32 3928e40daf s/Faq/FAQ/ for Plugin Installer tabs, Gains Translation support for Tabs/Titles as well. Fixes #16580
git-svn-id: http://svn.automattic.com/wordpress/trunk@19708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 05:39:49 +00:00
dd32 3686bc4b6e use maybe_unserialize() in update and API checks, Tighten up the checks on expected return data to avoid processing invalid responses after change. See #19617
git-svn-id: http://svn.automattic.com/wordpress/trunk@19707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 03:48:05 +00:00
duck_ 65b840b565 Fix mistakes in parameter documentation and add some missing param docs. See #19756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:31:43 +00:00
nacin aa6c34ac3e Create a network/about.php page and leverage it, to prevent the dashboard from switching to the blog admin. fixes #19762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 17:53:41 +00:00
dd32 e15f5275a8 Fix edge case in get_home_path() where the incorrect path may be returned. Props ptahdunbar. Fixes #18768
git-svn-id: http://svn.automattic.com/wordpress/trunk@19697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 13:46:22 +00:00
nacin 277a8131d2 Use array_filter() to remove empty values from an array, not jankiness.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:22:44 +00:00
nacin c94b474b17 Update some old upgrade functions to use untrailingslashit().
git-svn-id: http://svn.automattic.com/wordpress/trunk@19690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:21:51 +00:00
ryan 83b131f8e3 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: http://svn.automattic.com/wordpress/trunk@19687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:50:54 +00:00
duck_ 965a71033e Remove "the hackiest hack that ever did hack" from add_user(). wp_insert_user()/edit_user() can deal with adding new users of any defined role. Fixes #18749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:38:40 +00:00
ryan 616c35e71c One newline is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
nacin d5d55f62a7 Fix typo in [19052]. Believe it or not, it worked as is. props TobiasBg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:06:49 +00:00
ryan fd1393ab7a Clear strict notices for the walkers. fixes #19249
git-svn-id: http://svn.automattic.com/wordpress/trunk@19679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:03:46 +00:00
ryan 85304c2dc7 Introduce term_is_ancestor_of(). Finish taxonomy support for wp_insert_category(). Props garyc40. fixes #15581
git-svn-id: http://svn.automattic.com/wordpress/trunk@19678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 22:44:19 +00:00
ryan d1ba11c7d1 Update some @since. Props dgwyer. fixes #19638
git-svn-id: http://svn.automattic.com/wordpress/trunk@19673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:03:33 +00:00
nacin 5372ac002b Fix tabbing for comment reply and edit. see #19727, for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 20:18:31 +00:00
nacin 54016f80f2 Add a space.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:06:03 +00:00
nacin 7bfc537c54 Remove esc_js() as this content now gets json encoded rather than a straight echo. props ocean90. see #19644, for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:04:56 +00:00
nacin b66ca19aec Fix widget count on dashboard to account for orphaned widgets. see #19553 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 17:53:31 +00:00
nacin 33f5a73a63 Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 17:24:51 +00:00
nacin 7931ec33f1 Better checking for values for multisite upload limits. see #19538 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-30 23:10:54 +00:00
ryan 5f0013ec51 Remove Recently Updated from dash Plugins widget. see #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-23 00:26:58 +00:00
ryan 3f94d307b3 About face. Revert [19628]. Gonna improve Plugins widget instead of tossing it. see #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-23 00:25:09 +00:00
ryan 40345f1d63 Remove Plugins dashboard widget. fixes #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-22 21:57:21 +00:00
ryan 301b9aed41 Remove 'Recently Updated' from plugin installer. Props nacin. see #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-22 21:21:57 +00:00
ryan c924060858 Remove extraneuos newlines
git-svn-id: http://svn.automattic.com/wordpress/trunk@19623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 18:42:11 +00:00
ryan 340e93324c Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: http://svn.automattic.com/wordpress/trunk@19596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 17:36:38 +00:00
ryan 95754aacc9 Trunk is now 3.4 alpha
git-svn-id: http://svn.automattic.com/wordpress/trunk@19594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:47:39 +00:00
ryan 07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
ryan d5c2ccde9e Update _old_files for 3.3. fixes #19517
git-svn-id: http://svn.automattic.com/wordpress/trunk@19588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-12 20:24:19 +00:00
ryan 02a1dd7ccb Best practice, use wp_safe_redirect() when dealing with referrers. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-10 18:26:48 +00:00
ryan 9d03183e6d Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 23:02:33 +00:00
nacin 247dc83ecb Don't show new feature pointers for new installs and users. fixes #19382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 21:55:39 +00:00
ryan c6fcc03bcf Contextual help: Remove dead overview code. Prepend old- to back compat ID. Props nacin. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 00:13:52 +00:00
ryan fe9de5f4a4 Handle themes that have no customization screens. fixes #19408
git-svn-id: http://svn.automattic.com/wordpress/trunk@19545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 20:48:47 +00:00
nacin de11d4cb22 Remove debug cruft and fix variable collision. fixes #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 06:02:18 +00:00
nacin 3aed7560f6 Push logic into _redirect_to_about_wordpress() and be more specific about which context this runs under. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 05:03:11 +00:00
ryan 6bba5a265b Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:51:35 +00:00
nacin d9983a790c Use GLOBALS. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:49:57 +00:00
nacin e209ce5948 Finalize the code which redirects to about.php after a core update. Only triggers on update-core.php in case wp_update_core() is called in a different context.
props ocean90 for initial patch. fixes #18467.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:38:51 +00:00
nacin 2c789f296a Make current_screen an action, not a filter. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:34:55 +00:00
nacin a16fe7f86f Deprecate add_contextual_help() for get_current_screen()->add_help_tab(). fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:29:55 +00:00
nacin cc50764a8b They call me multisite. props ryan, zeo. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:36:19 +00:00
nacin 02dfdbbbf4 s/Screen Info/Overview/g, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:34:31 +00:00
azaozz 5ec6bd4833 Sanitize options for resizing in the uploader, props mhauan, nacin, fixes #19399
git-svn-id: http://svn.automattic.com/wordpress/trunk@19494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:05:22 +00:00
nacin 5b248a72c8 'Overview' for old-style help tabs, not 'Screen Info.' props jane. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 20:58:39 +00:00
nacin 532d1561f4 Allow scratch beta/RC installs to experience pointers. Uncomment this before release. see #19360, #19382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:08:29 +00:00
nacin 31c8813108 Don't show pointers for new users. Works for new installs, too. fixes #19360.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:05:59 +00:00
nacin 63b2f4c6e7 Cap checks for pointers. see #19360.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 15:59:55 +00:00
nacin 65fde75e85 WP_Screen: Whitelist -new and -add screens, and prevent edit-comments and edit-tags from being mashed on. fixes #19353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 22:58:51 +00:00
ryan b6b8a588bb Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: http://svn.automattic.com/wordpress/trunk@19470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:35:36 +00:00
nacin 28276e825c Move multisite-specific upgrade code from upgrade_330() to upgrade_network(). see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:04:00 +00:00
nacin f9ee8ccfd2 Use a scalpel to dissect names passed to convert_to_screen(). Carefully watch for post type names, suffixes we need to detect and remove, and when we need to remove 'edit-' from the start of a hookname. see #19353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 18:33:40 +00:00
nacin 6e648d2356 Bump final db_version for 3.3, otherwise no new beta installs will see the pointers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 17:47:26 +00:00
nacin 572dcb6205 Use class_exists() rather than is_admin() as otherwise the unit tests won't work without a WP_ADMIN hack. see #19342.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 05:15:28 +00:00
nacin 97dcf902db Revert [19372] for 3.3. see #13473.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 16:06:17 +00:00
nacin fd676baa81 Redirect to about.php on update. props ocean90. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:38:36 +00:00
koopersmith 5ff76fd777 Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:14:03 +00:00
ryan ff358379c9 Move convert_to_screen() back to template.php to avoid fatal errors with plugins and themes that direct include template.php into the front end. Flag this bad behavior with _doing_it_wrong(). Props nacin. fixes #19342
git-svn-id: http://svn.automattic.com/wordpress/trunk@19428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:29:33 +00:00
nacin a7c296dd47 Move WP_Editor to a _WP_Editors encapsulation.
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
 * TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
 * Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes #19320.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00
koopersmith 689dade993 RTL styles for pointers. props helenyhou, fixes #19335.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:53:11 +00:00
nacin dd697967bf Change show/hide storage mechanism for show_welcome_panel. 0 = hide, 1 = show, 2 = show if the multisite owner. Make welcome panel dismissable without JS (openable too via the URL). fixes #19338, fixes #19127.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:30:45 +00:00
duck_ 84b34160fa Go back to $post_type global as get_current_screen()->post_type is empty during add/edit-tag AJAX requests. Fixes #18722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 15:20:45 +00:00
markjaquith 279615ea59 Fix "wp_db_current_db_version" typo. see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@19411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 22:05:42 +00:00
markjaquith a1fb35ca98 Introduce initial_db_version and leverage it so that pointers only get shown to updated installs, not new 3.3 installs. props nacin. see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@19410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:50:50 +00:00
azaozz fb79e5e64c Restore back-compat with wp_tiny_mce(), see #19320
git-svn-id: http://svn.automattic.com/wordpress/trunk@19408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:01 +00:00
nacin 00823b1deb Remove old dismissed pointers as the IDs have changed. Switch to underscores that way we don't need to translate them for method names. Avoid an empty pointer in the array. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 23:04:35 +00:00
koopersmith f00103b488 Add new 3.3 pointer content, encapsulate 3.3 internal pointers in a final class. props ocean90, see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 22:39:48 +00:00
nacin 5f60ab4076 Remove $post_type global usage from media list table. Correct $post_type to 'attachment' for upload screens. see #18722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 20:48:57 +00:00
azaozz 3fcae6d702 Output the "After a file has been uploaded..." message by using the post-upload-ui action, fixes #18764
git-svn-id: http://svn.automattic.com/wordpress/trunk@19384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 20:46:15 +00:00
duck_ 16cce52b9f Link the posts count on taxonomy list table for non-public taxonomies. Instead check if the post type has show_ui => true as we're linking to the post list table. Fixes #18722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 20:44:48 +00:00
westi a29b2945ae Respect the default comment/ping status for new posts even when someone has hidden the meta box which lets you alter them on a per-post basis.
Fixes #13473 props solarissmoke. 


git-svn-id: http://svn.automattic.com/wordpress/trunk@19372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 13:45:10 +00:00
azaozz eb5dbde246 Admin bar IE7, iPad and rtl refresh, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 02:03:02 +00:00
azaozz eeedb253a7 Improve RTL for Welcome panel, refresh css files, see #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 02:10:10 +00:00
koopersmith c65d96de08 Help tabs: remove scrollbar and max-height. see #19155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 01:03:17 +00:00
azaozz 6c38abc51d Show Insert into post button in the media library when the current post supports editor (not the attachment parent), props SergeyBiryukov, fixes #18912
git-svn-id: http://svn.automattic.com/wordpress/trunk@19350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 04:28:39 +00:00
azaozz 507643807a Welcome Screen: remove white space, make the second dismiss link work, see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 00:42:22 +00:00
koopersmith 2f808f68d4 Shift welcome panel columns below WP badge. Improve column grid. props chexee, see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 23:33:11 +00:00
ryan d89f81d168 Welcome Screen styling. Props chexee. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 18:58:46 +00:00
ryan 396d5a0184 Welcome Panel: Add 'First Steps With WordPress' link. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 15:32:23 +00:00
ryan f42169fabb Welcome Panel: Consult current theme capabilities. Remove trailing punc from list items. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 15:30:31 +00:00
azaozz 7f9b0fcc1e Don't show the uploader on iPads (it's pointless), fixes #19004
git-svn-id: http://svn.automattic.com/wordpress/trunk@19335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 08:43:16 +00:00
azaozz af14c4fdb0 Change text prompt in HTML uploader, props jane, fixes #19276
git-svn-id: http://svn.automattic.com/wordpress/trunk@19330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 01:25:27 +00:00
ryan 76283bae32 First pass at Welcome Screen content. Props jane. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 22:54:54 +00:00
ryan 258bed4b6f Change Close tab in Welcome Screen to a Dismiss link. Aligh bullets with paragraphs. Props georgestephanis, chexee. fixes #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 20:48:40 +00:00
ryan 66388c185e Don't fallback to default post type or taxonomy if given an invalid post type or taxonomy. Use typenow as the canonical post type. Props nacin. see #19131
git-svn-id: http://svn.automattic.com/wordpress/trunk@19321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 18:01:08 +00:00
nacin f0eebf3376 Remove extra space. props danielbachhuber.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 04:41:51 +00:00
markjaquith 2e2c07f094 Only fall back to get_site_option() if blog_upload_space value is === false. Zero should not fall back. fixes #18119. props jakub.tyrcha
git-svn-id: http://svn.automattic.com/wordpress/trunk@19314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 22:02:01 +00:00
ryan 7f10cf4814 Don't show edit links for spam comments. Props DH-Shredder. fixes #18340
git-svn-id: http://svn.automattic.com/wordpress/trunk@19296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 14:02:42 +00:00
nacin c657c79258 Use REQUEST rather than GET to check the current post status page in _post_states(). Addresses a Quick Edit display issue. fixes #18611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 03:51:28 +00:00
azaozz 8f4fd39550 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 23:21:16 +00:00
azaozz e09e8f465c Filter the link href when inserting external image in the editor, props DrewAPicture, fixes #18445
git-svn-id: http://svn.automattic.com/wordpress/trunk@19275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 19:35:32 +00:00
koopersmith 8740d2c65d New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 10:30:14 +00:00
azaozz a491abfbb2 Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 18:37:30 +00:00
azaozz 7123026a3b Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 02:01:13 +00:00
azaozz 9961962861 Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:52:26 +00:00
nacin 64ab05ab09 Normal sentence case. see #19228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 20:32:20 +00:00
azaozz a37b440bac Bring back the multi-file/html uploader switching, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:40:23 +00:00
ryan 61fca35691 Don't show 'Use as featured image' in the image insert dialog if the post type does not support thumbnails. Props SergeyBiryukov. fixes #18669
git-svn-id: http://svn.automattic.com/wordpress/trunk@19256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:38:34 +00:00
ryan 4c837e9522 Check caps when showing media edit and attach links. Clean up formatting. Props kurtpayne, DH-Shredder, solarissmoke. fixes #17419
git-svn-id: http://svn.automattic.com/wordpress/trunk@19252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:04:54 +00:00
ryan 6bbc8d4ce4 Avoid notice when themes dir is empty or missing. Don't reset current theme in current_theme_info() if there are no themes. Show warning in Right Now if there are no themes. Props azaozz. fixes #19089
git-svn-id: http://svn.automattic.com/wordpress/trunk@19251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 14:10:54 +00:00
ryan ba9bd2e208 Properly handle child themes for WP_DEFAULT_THEME. Props SergeyBiryukov. fixes #18591
git-svn-id: http://svn.automattic.com/wordpress/trunk@19249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 21:06:57 +00:00
azaozz 6074eda69d Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 20:33:26 +00:00
ryan 872428d60d More specific error strings for failed theme and plugin package uploads. Props dd32. fixes #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:41:44 +00:00
nacin 89c5a967d6 Add wxr_export_skip_postmeta filter for skipping postmeta in exports. props westi, fixes #18280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:32:44 +00:00
nacin 087eb4e30a Rename attachment link button from 'Post URL' to 'Attachment Post URL.' props jeremyclarke, fixes #13544.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:23:31 +00:00
nacin 4fa61390ef Fix link in welcome panel. see #19217, props cebradesign, SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 15:21:26 +00:00
azaozz eca4184725 Revert media.php too, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:42:20 +00:00
azaozz 331b242bcd Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:34:09 +00:00
azaozz 623220187a Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:23:40 +00:00
ryan 91bf9d9bae Don't show the view link for a future post unless the current user has the permissions to edit the post. Treat future posts as a preview case. Props ocean90. fixes #18894
git-svn-id: http://svn.automattic.com/wordpress/trunk@19213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:24:14 +00:00
nacin 84280671d4 Don't use $post_type global in the posts list table. props scribu, see #18475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:14:27 +00:00
nacin ab5f3aa79c Remove default help text. Keep the default_help filter in place for plugins. fixes #19154.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:13:06 +00:00
nacin 534578f339 Space out two strings. props ocean90, fixes #19167.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 20:21:12 +00:00
azaozz f7fa2684e8 Uploader: split "Drop files here -or-..." on two lines, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:09:38 +00:00
koopersmith eec22244dc Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:17:50 +00:00
nacin 31c84c9d7b Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:06:11 +00:00
nacin 0a825c74be Pass $tab array to callback execution for help tabs. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:04:58 +00:00
koopersmith 51741405a0 First half of new welcome panel formatting. props chexee. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 01:31:31 +00:00
nacin 9741ce2773 Allow is_network and is_user to work for all screen instances. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:00:46 +00:00
azaozz 8454367edf Revert the look and functionality of Screen Options ans Help links/tabs, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 20:26:09 +00:00
azaozz f73e6b3228 Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 17:08:12 +00:00
azaozz 84a23bfd81 Remove the Cancel Upload button, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:47:12 +00:00
nacin bfb98c193e s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:14:10 +00:00
dd32 16697d503e Tabs > Spaces. Props SergeyBiryukov. See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 12:16:47 +00:00
nacin 3932addc50 Reverse variable assignment order. D'oh. see #19108.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 04:24:17 +00:00
nacin fff2457234 Remove cruft. see #19106.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 04:14:14 +00:00
markjaquith c59f813e32 Use %s instead of %d in plugin install notice strings. props johnbillion. fixes #19106
git-svn-id: http://svn.automattic.com/wordpress/trunk@19109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 02:36:18 +00:00
nacin 6c9e82de0a Use more obvious variables in WP_Screen. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:36:04 +00:00
azaozz b63ffa3f38 Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:38:28 +00:00
nacin 13db43d2d3 Always run the old contextual_help filter. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:37:43 +00:00
nacin 29e469f151 Consistently set taxnow/typenow and the current screen's post_type/taxnomy, whenever it can be detected. Allow WP_Screen::get() to accept a post type as a hook_name. Fixes issues with the meta box $page/$screen argument. fixes #19080. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:28:17 +00:00
nacin c2064f9976 Move from quickpress_post_ID to post_ID. fixes #19095.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 17:08:36 +00:00
nacin aa6eb9729a Fix copypasta in in WP_Screen. see #19095, props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 16:57:29 +00:00
nacin 4c9afe489a Require show_ui rather than public for a taxonomy's parent post type. see #19080.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 05:30:57 +00:00
ryan 31e3ff3fb1 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 15:48:44 +00:00
ryan e261ac43e7 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 20:00:09 +00:00
nacin 1c9abd21ca Use correct object. props adambackstrom. fixes #19045.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:08:24 +00:00
nacin 1e6e52e1c1 Add missing keyword. fixes #19046, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:05:39 +00:00
nacin 68225fdf13 Make convert_to_screen() more resilient. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 06:54:23 +00:00
nacin f9d807d649 Merge upgrade_old_widgets_order_array() into upgrade_330(). see #18811, see #18821.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:50:39 +00:00
nacin 66125a116f Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:48:09 +00:00
nacin 6f9612f45c Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:29:28 +00:00