Commit Graph

9400 Commits

Author SHA1 Message Date
bumpbot 8d41e38f7a Compress scripts/styles: 3.4-alpha-20109.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 02:45:21 +00:00
koopersmith 125a02a3c5 Theme Customizer: Add mini screenshot and description to theme info section. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 02:40:18 +00:00
bumpbot d260a2c5fa Compress scripts/styles: 3.4-alpha-20107.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 02:15:20 +00:00
koopersmith 9523a9037c Theme Customizer: Improve form markup. Make the theme title/author a section. Prevent section arrows from blocking clicks. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 02:06:11 +00:00
nacin c973568e76 Allow get_screenshots() to return absolute URLs. Make this the default; relative can be achieved with 'relative' as the argument. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 01:16:32 +00:00
bumpbot 46daef9849 Compress scripts/styles: 3.4-alpha-20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-03 00:30:21 +00:00
nacin ae113fba5e Pass WP_User object to the newuser_notify_siteadmin filter. props boonebgorges. fixes #20162.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 23:52:19 +00:00
nacin 3b9133ef4a In the admin, render the Toolbar immediately, rather than waiting until the footer. When intensive pages take a while to load, you aren't stuck without a working admin header. fixes #20161.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:51:29 +00:00
bumpbot 234d355ef7 Compress scripts/styles: 3.4-alpha-20095.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:15:21 +00:00
duck_ c0892fbaf0 Prevent notices by checking if the $group key isset(). See #20004.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 21:57:03 +00:00
bumpbot 085a053c22 Compress scripts/styles: 3.4-alpha-20090.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 21:15:21 +00:00
ryan 783e59e185 Fix NULL and FALSE in WP_Object_Cache and make found/not-found unambiguous. Props andy. fixes #20004
git-svn-id: http://svn.automattic.com/wordpress/trunk@20089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 21:10:37 +00:00
nacin c8a4cb1112 Use array_combine() in get_file_data() and avoid variable variables when an array is just fine. fixes #20126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 21:07:31 +00:00
nacin 1729a14278 $userdata should be null for anonymous requests. props MattyRob. props duck_ for the unit test. fixes #19769 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:59:30 +00:00
bumpbot 9852aaa561 Compress scripts/styles: 3.4-alpha-20084.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:30:19 +00:00
duck_ e8fb683689 Add a trailing colon for consistency with other widget labels. See #20158.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:25:12 +00:00
duck_ 44202223d8 Unhide the Select Link Category label. Fixes #20158.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:21:43 +00:00
nacin 3985eae452 Don't autoload the uninstall_plugins option. fixes #16741.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:13:35 +00:00
bumpbot f693f33f87 Compress scripts/styles: 3.4-alpha-20079.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:00:21 +00:00
nacin 248843afc4 <input> is not a block-level element; do not treat it like one in wpautop(). props SergeyBiryukov. props kurtpayne for the unit test. fixes #16456.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 19:59:50 +00:00
nacin ae8af5d0dd Introduce get_page_template_slug( $id = null ) to return a page's template (like "showcase.php"). Returns false if post ID is not a page, and an empty string for the default page template. Use the function across core. props billerickson for initial patch. fixes #18750.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 18:56:54 +00:00
nacin 73938cd0a9 We indent with tabs, but align with spaces.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 18:06:30 +00:00
nacin 31223d73ed Add template and stylesheet to readonly options that can be pulled from XML-RPC. props koke, ericmann. see #17132.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 17:59:47 +00:00
duck_ aea371da0d Add sorting and limiting to the links widget. Props yoavf. Fixes #12785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 13:58:58 +00:00
bumpbot 2e1c113173 Compress scripts/styles: 3.4-alpha-20066.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 00:00:20 +00:00
nacin db15a20fb1 New wp_die_app_handler context in wp_die() for APP requests. Introduces _scalar_wp_die_handler() as a generic handler that wraps die(), for use by plugins. Move deprecated function to the end of the wp-app.php file (same as xmlrpc.php). see #20042.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 21:35:15 +00:00
ryan 3dd02adc17 wp-app.php cleanup:
* Put the atom server class in class-wp-atom-server.php
* Remove log_api calls
* Update the query filter
* Replace exit calls with wp_die() for unit test compat
* Add override handler for wp_die()
* Allow plugins to replace the atom class
* Whitespace cleanup

Props kurtpayne. fixes #20042


git-svn-id: http://svn.automattic.com/wordpress/trunk@20062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 21:15:44 +00:00
bumpbot 2fa6df8637 Compress scripts/styles: 3.4-alpha-20061.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 19:00:20 +00:00
ryan 4f47fe6e31 Introduce jQuery Masonry. Use it to arrange header thumbnails on custom header screen. Props aaroncampbell. fixes #17242
git-svn-id: http://svn.automattic.com/wordpress/trunk@20060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 18:57:28 +00:00
azaozz dd45b9c2ca Don't pass non-existing rtl stylesheet to TinyMCE, update phpdoc for add_editor_style(), see #19437
git-svn-id: http://svn.automattic.com/wordpress/trunk@20059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 00:18:26 +00:00
koopersmith db721d86c7 Theme Customizer: Use wp_loaded for customize setting registration. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 00:14:51 +00:00
koopersmith ea9d2e26af Theme Customizer: Use home_url instead of get_home_url. props nacin, fixes #20137, see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 23:28:13 +00:00
bumpbot 8c1c5bc112 Compress scripts/styles: 3.4-alpha-20056.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 23:15:21 +00:00
koopersmith 2f229d3b7c Theme Customizer: Use a late priority when registering customize settings to ensure we catch any theme settings added earlier on init (such as nav menus). see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 23:09:38 +00:00
azaozz 839edd2e27 Improve adding more css classes to the editor body, add "rtl", "ie7", "ie8", "ie9" so they can be targeted in editor-style.css, see #19437
git-svn-id: http://svn.automattic.com/wordpress/trunk@20054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 23:06:24 +00:00
nacin 71aa5ca72a Strict comparisons for the $allowed arg for wp_get_themes(). Otherwise 'network' does == true. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 23:04:25 +00:00
koopersmith cba9bc1cfb Theme Customizer: Load the preview iframe with the same scheme as the admin to prevent security warnings. props ocean90. fixes #20137, see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 22:43:12 +00:00
bumpbot 89b3c4f3b1 Compress scripts/styles: 3.4-alpha-20050.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 22:30:20 +00:00
koopersmith cc784490da Theme Customizer: Bind the preview iframe load event when triggering refresh instead of when creating the iframe. see #19910.
The loaded event should only fire when we've actually triggered a refresh. If loaded is bound when the iframe is created, sometimes the blank iframe will fire a 'load' event before a refresh is triggered (this occurred with relative frequency in firefox). By binding the loaded event in the refresh function, we prevent this from occurring.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 22:24:46 +00:00
nacin 814d899e88 Add widget_comments_args and widget_post_args filters. props ramiy, fixes #16159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 21:56:24 +00:00
nacin a48a695ba7 Use correct variable; return correct value for get_screenshot() when value is uncached. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:46:41 +00:00
nacin 8570f2dcd2 Remove debug cruft. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:41:01 +00:00
nacin 8ba92a52f8 Have WP_Theme::get_screenshot() default to an absolute URI. Allow 'relative' to be requested. see #20103, see #19816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:31:56 +00:00
nacin 5a4f7349e8 Can haz recursion? get_current_theme() is deprecated in favor of wp_get_theme(), not itself. props duck_. see #20138.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:22:16 +00:00
nacin 0dc52c8043 Translate page template names! Have WP_Theme::get_page_templates() return templates keyed by filename, not by template name, as it makes more sense. Flip this in get_page_templates() to be compatible. fixes #6007.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:18:53 +00:00
nacin a8d45a288f Deprecate get_current_theme(). Use (string) wp_get_theme() to get the translated name of the theme. Keep the current_theme option for now. see #20103, see #20138.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:07:22 +00:00
nacin bf97881f98 (string) WP_Theme is now the theme name, translated. Good replacement for get_current_theme(); better than wp_get_theme()->display('Name'). see #20103, see #20138.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 19:27:54 +00:00
bumpbot a9b4a2fe6c Compress scripts/styles: 3.4-alpha-20036.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 06:31:00 +00:00
koopersmith 0f960750b0 Theme Customizer: Don't switch themes and update settings when the enter key is pressed. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 06:28:02 +00:00
koopersmith b198c61062 Theme Customizer: Trigger UI updates only when necessary.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 06:18:17 +00:00