Commit Graph

25633 Commits

Author SHA1 Message Date
Drew Jaynes 4853f99a2a Inline documentation for hooks in wp-admin/network/upgrade.php.
Props miyauchi for the initial patch.
Fixes #25881.


git-svn-id: https://develop.svn.wordpress.org/trunk@26914 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-07 04:22:14 +00:00
Drew Jaynes dc8b571bfb Inline documentation for hooks in wp-admin/network/admin.php.
Props Hanni.
Fixes #26216.


git-svn-id: https://develop.svn.wordpress.org/trunk@26913 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-07 04:04:18 +00:00
Drew Jaynes 707e91c1e8 Add inline documentation for the 'show_admin_column' argument added to `register_taxonomy()` in 3.5.
Also adds a 'show_admin_column' value to the defaults array.

Props johnbillion.
Fixes #26707.


git-svn-id: https://develop.svn.wordpress.org/trunk@26912 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-07 02:12:03 +00:00
Drew Jaynes 2fc50487ea Improve inline documentation for `add_post_type_support()`.
Props philiparthurmoore.
Fixes #26683.


git-svn-id: https://develop.svn.wordpress.org/trunk@26911 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-07 02:04:16 +00:00
Andrew Nacin ac39123beb Tests: Add a placeholder file to the broken-theme directory so it isn't removed when synced to git.
git-svn-id: https://develop.svn.wordpress.org/trunk@26910 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-06 18:26:07 +00:00
Andrew Nacin 007e4ef160 Tracs are now forced SSL.
git-svn-id: https://develop.svn.wordpress.org/trunk@26909 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-06 18:09:12 +00:00
Drew Jaynes 00f318650d Inline documentation for hooks in wp-admin/includes/media.php.
Props kpdesign, DrewAPicture.
Fixes #25375.


git-svn-id: https://develop.svn.wordpress.org/trunk@26908 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-06 05:47:51 +00:00
Drew Jaynes ec71eefa59 Fix a copy/paste error in the 'show_user_profile' hook description in wp-admin/user-edit.php.
Props neoxx.
Fixes #26597.


git-svn-id: https://develop.svn.wordpress.org/trunk@26907 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-05 18:57:43 +00:00
Drew Jaynes 82f55e9838 Inline documentation improvements for get_*_template() functions in wp-includes/template.php.
* Adds `@see` references for `get_query_template()` or similar
* Adds complete `@return` descriptions
* Clarifies which dynamic hooks can be used to filter specific template types

Props UmeshSingla for the initial patches. Props SergeyBiryukov, DrewAPicture.
Fixes #26742.


git-svn-id: https://develop.svn.wordpress.org/trunk@26906 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-05 17:54:07 +00:00
Sergey Biryukov 18c545905b Change 'Width' to 'Layout' to match the hard-coded list of translatable theme features in get_theme_feature_list().
props janrenn.
fixes #26777 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26905 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-05 17:15:14 +00:00
Sergey Biryukov b71b3231ce Correct 'found_users_query' filter description. see #25533.
git-svn-id: https://develop.svn.wordpress.org/trunk@26904 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 18:49:30 +00:00
Sergey Biryukov 5dae0e834a Correct @since values. see #26253.
git-svn-id: https://develop.svn.wordpress.org/trunk@26903 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 18:08:59 +00:00
Drew Jaynes 2959521871 Inline documentation for hooks in wp-includes/feed.php.
Props stevenkword, kpdesign, DrewAPicture.
Fixes #26253.


git-svn-id: https://develop.svn.wordpress.org/trunk@26902 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 06:21:14 +00:00
Drew Jaynes 38d078c7d2 Inline documentation for hooks in wp-includes/user.php.
Props stephenharris, kpdesign.
Fixes #25533.


git-svn-id: https://develop.svn.wordpress.org/trunk@26901 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 06:17:18 +00:00
Andrew Ozz a18943fd1b TinyMCE: 'wpdialogs' plugin, don't add the (external) UI dialogs element to the internal windows array, fix .close(). See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26900 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 01:27:59 +00:00
Andrew Ozz f6d42a08e9 TinyMCE: back-compat, refresh and re-enable the 'wpdialogs' plugin, and mark it as deprecated. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26899 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-03 02:33:00 +00:00
Andrew Ozz 9bf024f8f3 Thickbox is needed for the media modal back-compat. Are there plugins that still use this? Also needed for PressThis. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26898 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 22:49:00 +00:00
Andrew Ozz 1fb853d24a TinyMCE: add stub for the missing editor.controlManager to the compat3x plugin. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26897 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 07:02:52 +00:00
Andrew Ozz 17f36f016a DFW: fix buttons and the title width, make the fade out/in when opening and closing a bit faster. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26896 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 04:17:28 +00:00
Drew Jaynes c06d7145bc Inline documentation for hooks in wp-admin/edit-tag-form.php.
Props nicolealleyinteractivecom, kpdesign.
Fixes #25448.


git-svn-id: https://develop.svn.wordpress.org/trunk@26895 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 04:01:12 +00:00
Drew Jaynes 9ad991985e Inline documentation for hooks in wp-admin/update-core.php.
Props JoshuaAbenazer, kpdesign.
Fixes #25991.


git-svn-id: https://develop.svn.wordpress.org/trunk@26894 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 03:06:36 +00:00
Drew Jaynes 74df859ebf Inline documentation for hooks in wp-admin/menu-header.php.
Props piontkowski, kpdesign.
Fixes #26051.


git-svn-id: https://develop.svn.wordpress.org/trunk@26893 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 02:45:29 +00:00
Drew Jaynes ad6e9d6b7a Inline documentation for hooks in wp-includes/class-wp-customize-section.php.
Props leewillis77, kpdesign.
Fixes #26196.


git-svn-id: https://develop.svn.wordpress.org/trunk@26892 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 02:06:55 +00:00
Drew Jaynes 01a99608e0 Inline documentation for hooks in wp-includes/class-wp-theme.php.
Props richard2222, kpdesign.
Fixes #26217.


git-svn-id: https://develop.svn.wordpress.org/trunk@26891 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 01:53:29 +00:00
Andrew Ozz b707874fa9 TinyMCE: add stubs for the missing tinymce.util.Cookie, windowManager.onOpen and windowManager.onClose to the compat3x plugin. See #24067, fixes #26750.
git-svn-id: https://develop.svn.wordpress.org/trunk@26890 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 01:06:58 +00:00
Andrew Ozz 608cd6de80 Comment moderation shortcuts:
- Fix "toggle checkboxes" (shift+x).
- Add noDisable selector and use it to stop disabling the shortcuts when a select-comment checkbox is focused.
See #26755.

git-svn-id: https://develop.svn.wordpress.org/trunk@26889 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 00:10:20 +00:00
Sergey Biryukov ad92fab892 Force LTR direction for code and plugin/theme editors.
props SergeyBiryukov, nivijah.
fixes #26666 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26888 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 11:03:59 +00:00
Sergey Biryukov 15470535c3 Fix incorrect -mox prefixes in CSS.
props morganestes.
fixes #26702 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26887 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:52:42 +00:00
Sergey Biryukov 6f00e4be7e Remove invalid min-width property.
props jorbin.
fixes #26563 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26886 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:47:51 +00:00
Sergey Biryukov d0b542ffac Add missing id attribute to "Search Installed Themes" input.
fixes #26599 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26885 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:43:39 +00:00
Sergey Biryukov 0b3022708b Use correct example of a Dashicons helper class in add_menu_page() and register_post_type() docs.
props Rarst.
fixes #26617 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26884 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:32:18 +00:00
Sergey Biryukov 9dae1af97c Make sure "UPDATE LOG" in debug emails matches the underlining when translated.
fixes #26621.

git-svn-id: https://develop.svn.wordpress.org/trunk@26883 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:26:37 +00:00
Andrew Ozz 83509b3969 TinyMCE:
- Fix removing leftovers from broken captions.
- Better filter for line breaks and <br> tags when editing captions.
See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@26882 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 03:09:34 +00:00
Andrew Ozz 6409324446 Set wpActiveEditor as soon as any editor associated button is clicked, including Add Media, switching Text to Visual, etc. Fixes #26747.
git-svn-id: https://develop.svn.wordpress.org/trunk@26881 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-30 19:16:49 +00:00
Andrew Ozz c37a101100 TinyMCE:
- Fix toolbar icons in IE9.
- Remove background gradients in IE < 10.
- Lint our plugins.
- Add draggable attribute to the caption wrapper and make the captioned images non-draggable in Chrome.
See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@26880 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-30 01:53:25 +00:00
Sergey Biryukov 2f8c1ccffc Update the readme to 3.9. props kworthington. fixes #26739.
git-svn-id: https://develop.svn.wordpress.org/trunk@26879 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-29 08:22:08 +00:00
Sergey Biryukov 71954e1f44 Always show Background Image section heading and the opening table tag on Custom Background screen, to make in consistent with Custom Header and avoid broken markup.
props obenland.
fixes #26731.

git-svn-id: https://develop.svn.wordpress.org/trunk@26878 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-29 08:05:50 +00:00
Andrew Ozz 401a3d8f47 Bump the TinyMCE version, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26877 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-29 04:21:04 +00:00
Andrew Ozz 14ace125ee TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@26876 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-28 23:52:04 +00:00
Sergey Biryukov 3852dd4936 Add unit test for [26874]. see #26728.
git-svn-id: https://develop.svn.wordpress.org/trunk@26875 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-28 05:24:32 +00:00
Scott Taylor f8338aa3c3 In `WP_Query::get_queried_object()`, move the check for `$query['terms']` to a place where `$query` is actually set. This should be included if [26864] makes it into 3.8.1.
Props SergeyBiryukov.
See #26728, [26864], #26634, #26627.




git-svn-id: https://develop.svn.wordpress.org/trunk@26874 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 19:29:39 +00:00
Sergey Biryukov af9a2ca5e5 Add @ticket reference. see #26627.
git-svn-id: https://develop.svn.wordpress.org/trunk@26873 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 19:02:55 +00:00
Andrew Nacin 51756ce0e1 Always do an HTTP request on credits.php when running a development version of WordPress.
fixes #26727.


git-svn-id: https://develop.svn.wordpress.org/trunk@26872 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 15:11:19 +00:00
Andrew Nacin 2105b8683d Test runner: Extend WP_PHPUnit_Util_Getopt instead of PHPUnit_TextUI_Command to parse incoming options.
props wawco.
fixes #26725.


git-svn-id: https://develop.svn.wordpress.org/trunk@26871 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 15:07:07 +00:00
Sergey Biryukov 329672c70d Being consistent is the gist, no single @since should have been missed.
see #26713.

git-svn-id: https://develop.svn.wordpress.org/trunk@26869 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-25 01:59:22 +00:00
Drew Jaynes bd39e26032 First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.
Props JustinSainton, SergeyBiryukov, DrewAPicture.
Fixes #26713.


git-svn-id: https://develop.svn.wordpress.org/trunk@26868 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-24 18:56:05 +00:00
Drew Jaynes e119b7e3df Remove some @uses references to `apply_filters` and `do_action` rendered redundant by hook documentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@26867 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-24 16:42:54 +00:00
Sergey Biryukov ef8e214888 Add comments for temporary hooks. see #26661.
git-svn-id: https://develop.svn.wordpress.org/trunk@26866 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-23 00:47:59 +00:00
Sergey Biryukov 27352b4e86 Add temporary hooks for the widgets feature team to wp_widget_control().
props westonruter.
see #26661.

git-svn-id: https://develop.svn.wordpress.org/trunk@26865 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-23 00:44:33 +00:00
Scott Taylor 5cb2ad494e Fix a regression for `get_queried_object()` by checking for `category_name` when `cat` isn't set - mainly `is_category()` being true for Uncategorized or when queried object is accessed in `pre_get_posts`. Also check for `$query['terms']` when trying to assign a term as the queried object when `is_tax()` is true. Adds a unit test. See [26007] for how I originally broke this while fixing a bigger issue.
Props Chouby, jeremyfelt.
Fixes #26634, #26627.



git-svn-id: https://develop.svn.wordpress.org/trunk@26864 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-22 18:30:09 +00:00