Andrew Nacin
d41c30be7a
Network Admin: Hide the bulk actions checkbox for the main site.
...
props ericlewis.
fixes #24463 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25125 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 18:45:30 +00:00
Andrew Nacin
42dee6ccf0
Add post-type-$post_type and taxonomy-$taxonomy admin body classes.
...
props johnbillion.
fixes #19247 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25124 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 18:17:23 +00:00
Sergey Biryukov
a679d43131
Add 'taxonomy_parent_dropdown_args' filter for the parent dropdown on taxonomy term editing screens. props leewillis77. fixes #18166 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25123 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 17:30:46 +00:00
Ryan Boren
71793b661c
Don't show the "Get Shortlink" button for pages with a ?page_id=x permalink.
...
Props sillybean
fixes #14760
git-svn-id: https://develop.svn.wordpress.org/trunk@25122 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 16:05:46 +00:00
Sergey Biryukov
5615aef0bf
Avoid an undefined index notice when submitting a comment with JavaScript disabled. fixes #24752 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25121 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 15:39:12 +00:00
Andrew Nacin
512c12ba55
Network Admin toolbar menu: Add Plugins and Themes, remove Visit Network.
...
props Ipstenu, SergeyBiryukov.
fixes #21674 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25120 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 15:21:42 +00:00
Sergey Biryukov
65d047cde2
Make in_category() an alias of has_category(). fixes #16718 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25119 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-24 22:53:39 +00:00
Sergey Biryukov
6edecc378d
Avoid displaying multiple instances of the same feature pointers on a single screen. props nacin. fixes #25022 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25117 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-24 22:33:51 +00:00
Sergey Biryukov
bcd97dac0a
Remove 'admin' as a fallback for username in install. props tivnet, DrewAPicture. fixes #24078 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25115 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-24 13:56:47 +00:00
Sergey Biryukov
d2a1a80683
Avoid a fatal error in WP_Http::request() if $response is a WP_Error instance. props dllh, nacin. fixes #24987 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25114 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-24 03:10:16 +00:00
Sergey Biryukov
086c5a8ab8
Deprecate $network_id argument in get_blog_count(). props jeremyfelt. fixes #25129 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25113 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-24 02:41:11 +00:00
Andrew Nacin
4839f01305
Have wp-signup.php match the proper default for the 'registration' network option.
...
props wpmuguru.
fixes #18186 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25112 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 22:59:09 +00:00
Andrew Nacin
3f130cd103
Correct phpdoc for WP_Query::$post. props lgedeon, fixes #25130 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25110 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 22:01:59 +00:00
Andrew Ozz
a380ed51f7
User state settings:
...
- Allow empty cookie value to be saved.
- Use get_current_user_id() instead of wp_get_current_user().
- Use is_user_member_of_blog().
- Sanitize both name and value in wp_set_all_user_settings().
- Some var names and code formatting cleanup.
Fixes #24921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25109 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 21:42:23 +00:00
Scott Taylor
46c24c3cf2
Use reset()
to grab the first taxonomy in an array, not by numerical index. Cleans up whitespace. Props webord, nbachiyski. Fixes #23506 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25108 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 21:28:34 +00:00
Andrew Ozz
961bbcb780
Logging in: when the Remember Me checkbox is checked, make sure the browser continues to send the expired cookies so the "login grace period" for POST and AJAX requests works. Fixes #24735 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25107 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 21:26:58 +00:00
Scott Taylor
39171d7527
Check term_id
against the $term
object, not the non-existent var $args
. Props rboren. Fixes #12729 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25106 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 21:04:22 +00:00
Sergey Biryukov
ad94ffb64d
Use correct variable. see #22922 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25105 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 20:56:50 +00:00
Andrew Nacin
1f24e6d76b
Add filters to the recipients of emails sent by wp_notify_postauthor() and wp_notify_moderator().
...
The new filters are called comment_notification_recipients and comment_moderation_recipients.
Add the context of $comment_id to the comment_moderation_headers filter, to match the comment_notification_headers filter.
props chipbennett.
fixes #22922 , #20353 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25104 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 19:35:04 +00:00
Andrew Nacin
9211de7232
Add network name to <title> tags in the network admin and user admin (global dashboard).
...
props johnbillion.
fixes #19753 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25103 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 18:57:33 +00:00
Helen Hou-Sandi
08cf55b76a
Actually display customizer section descriptions in a meaningful way. props obenland, helen. fixes #24392 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25102 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 16:17:48 +00:00
Sergey Biryukov
d6ea70e296
Add description for _wp_timezone_choice_usort_callback(). props neoxx. fixes #25125 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25101 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 13:56:35 +00:00
Sergey Biryukov
b449f5bbb8
Correct phpdoc for wp-admin/menu.php. props neoxx. fixes #25124 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25100 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 13:52:12 +00:00
Sergey Biryukov
2a3c60f37d
Remove redundant context for Child Themes link. fixes #25079 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25099 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 00:30:50 +00:00
Sergey Biryukov
107d2b8716
Remove unused variable. props jeremyfelt. fixes #25121 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25098 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 00:18:48 +00:00
Sergey Biryukov
2bbbc466eb
Fix typo in phpdoc. props jamescollins. fixes #25092 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25097 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 23:47:56 +00:00
Andrew Nacin
f57bd31f2d
Fix various typos in inline documentation. props nofearinc, fixes #25119 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25094 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 22:00:41 +00:00
Andrew Nacin
d5c7150913
Format WordPress in <title> tags produced by wp_title().
...
props evansolomon.
fixes #19211 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25093 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 21:58:30 +00:00
Andrew Nacin
e99047ff95
Multisite: Add a filter to get_space_allowed() and increase its internal default value to the network default.
...
props jkudish for initial patch.
fixes #23650 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25092 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 20:54:09 +00:00
Andrew Nacin
0c24a916d4
In the admin, do not use auto-generated Gravatar images for comment authors.
...
This makes it easier to recognize Gravatars (or lack thereof) when moderating comments.
props solarissmoke.
fixes #7054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25091 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 20:07:51 +00:00
Lance Willett
463fde4ec0
Twenty Fourteen: widgetize the Post Format front page so other widgets can be used there, and the special Post Format content can be used in other widget areas. Props obenland, see #25028 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25090 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 18:05:56 +00:00
Lance Willett
dbe8b7300e
Twenty Fourteen: remove searchform.php and use core markup. Props obenland, closes #25095 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25089 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 17:11:32 +00:00
Lance Willett
345fc78f4d
Twenty Fourteen: Align post format handling with Twenty Thirteen. Props Frank Klein and obenland, see #24877 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25088 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 17:02:34 +00:00
Lance Willett
29b85dcc6b
Twenty Fourteen: Use HTML5 comment markup, props obenland. Fixes #25045 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25087 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 17:00:36 +00:00
Andrew Nacin
562b65d822
PHPDoc for WP_Post properties. fixes #25092 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25086 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 15:57:31 +00:00
Ryan Boren
c8889d984f
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25085 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 15:55:07 +00:00
Helen Hou-Sandi
5ea9e40fed
Add more descriptive classes to submit meta box sections. props nofearinc. fixes #22333 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25083 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 15:23:41 +00:00
Dion Hulse
2ceaba8b30
Theme Installer/Updater: Handle custom Theme directories when updating themes, and installing new themes. Fixes #22501
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25082 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 04:49:06 +00:00
Dion Hulse
ddad24c82c
Sanitize the plugin path in _get_plugin_data_markup_translate()
to a WP_PLUGIN_DIR-relative path. The function is designed in mind for receiving relative paths, but may be used with a absolute path.
...
This change makes the function path-agnostic, and can accept either relative or absolute (converting to relative internally). Fixes #20813
git-svn-id: https://develop.svn.wordpress.org/trunk@25081 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 04:02:13 +00:00
Sergey Biryukov
8af525762c
Declare args as a local variable. props greuben. fixes #25078 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25080 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 02:11:00 +00:00
Sergey Biryukov
a38af28d35
Use correct order of arguments when calling edit_term_link() from edit_tag_link(). Correct $tag parameter description. props pbiron. fixes #25116 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25079 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 00:48:09 +00:00
Andrew Ozz
27e5aea61e
Heartbeat: better queue functionality: improve enqueue() and isQueued(), introduce dequeue() and getQueuedItem(). Props evansolomon, fixes #25047 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25078 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 22:54:09 +00:00
Sergey Biryukov
0fd35a7e7d
Update phpdoc for get_permalink(). props tivnet. fixes #25115 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25077 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 22:12:01 +00:00
Scott Taylor
20fa8b87b4
Improve inline docs for function params that can be serialized when non-scalar. Fixes #18488 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25076 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 21:10:23 +00:00
Jon Cave
790f9feb68
Pass false returned for timed out transients through transient_$transient filter.
...
This brings the same behaviour as external object caches to the default database
backend.
Props johnbillion. Fixes #24685 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25075 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 19:13:35 +00:00
Andrew Nacin
d71f11bdd7
Remove sourceMappingURL from jquery.min.js.
...
props Jayjdk.
fixes #24994 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25072 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 15:40:35 +00:00
Dion Hulse
ead4efa78a
Add a note that the FTP Password will not be stored on the server to the FTP credentials page. Fixes #16492
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25071 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 07:06:12 +00:00
Dion Hulse
b4f0fbd985
Add a filter on the Plugin and Theme installers table listing API args, this allows for plugins to hook in and add custom args to plugins_api() and themes_api() for the Plugin/Theme listing tabls. Fixes #18169
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25070 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 06:51:51 +00:00
Lance Willett
16415b2f94
Twenty Fourteen: load Genericons correctly, and add comments to other CSS enqueue calls. Props obenland, fixes #25085 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25068 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 18:09:51 +00:00
Lance Willett
b2150ba33b
Twenty Fourteen: accessibility changes to add focus styles to match the hover style on tag links. Props sabreuse, see #25054 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25067 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 17:59:00 +00:00