Drew Jaynes
44cd294f64
Add missing phpdoc block for export_date_options()
.
...
Props siobhan for the initial patch. See #20425
git-svn-id: https://develop.svn.wordpress.org/trunk@25490 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-19 02:08:53 +00:00
Sergey Biryukov
15265acec5
Update inline documentation for wp_insert_term().
...
props DrewAPicture.
fixes #22801 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25489 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-19 01:56:16 +00:00
Sergey Biryukov
a30670afc6
Introduce 'offset' parameter for wp_get_sites().
...
props jamescollins.
see #14511 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25488 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-19 01:46:03 +00:00
Sergey Biryukov
ec7af133a5
Use wp_parse_id_list() to parse the 'network_id' parameter in wp_get_sites().
...
props jamescollins.
see #14511 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25487 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-19 01:19:56 +00:00
Sergey Biryukov
a4f3fc3489
Update inline documentation for hooks in wp-admin/includes/ms.php.
...
props jamescollins.
see #25229 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25486 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-19 00:04:16 +00:00
Sergey Biryukov
53d0201b7f
Make the arguments of 'wp_audio_shortcode_override' and 'wp_video_shortcode_override' more consistent with the ones of 'img_caption_shortcode' and 'post_gallery' filters.
...
see #25313 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25485 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 22:05:46 +00:00
Sergey Biryukov
6d8ccb9e36
Replace non-functional 'wp_audio_shortcode_handler' and 'wp_video_shortcode_handler' filters with 'wp_audio_shortcode_override' and 'wp_video_shortcode_override'.
...
props ericlewis, SergeyBiryukov.
fixes #25313 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25484 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 21:19:20 +00:00
Scott Taylor
88639cb9b4
Use wp_parse_args()
again for $args['rewrite']
in register_taxonomy()
.
...
Props SergeyBiryukov.
Fixes #23668 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25483 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 20:38:53 +00:00
Sergey Biryukov
801f56dec2
Clean up the documentation for hooks in wp-admin/includes/plugin.php.
...
props DrewAPicture.
see #25229 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25482 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 19:35:10 +00:00
Sergey Biryukov
8834a52e40
Inline documentation for hooks in wp-admin/includes/ms.php.
...
props enej, DrewAPicture.
see #25229 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25481 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 18:21:46 +00:00
Sergey Biryukov
a0488fb609
Inline documentation for hooks in wp-links-opml.php.
...
props netweb.
see #25229 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25480 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 17:30:23 +00:00
Sergey Biryukov
57413deb42
Inline documentation for hooks in wp-includes/feed-rdf.php.
...
props dustyf.
see #25229 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25479 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 16:16:59 +00:00
Sergey Biryukov
959be34093
Correct @since for hooks in wp-includes/class-wp-admin-bar.php. see #25229 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25478 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 11:57:59 +00:00
Sergey Biryukov
7069b5c47c
Correct @since for hooks in wp-admin/includes/plugin.php. see #25229 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25477 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 11:57:18 +00:00
Peter Westwood
44759b5e1c
Clean up the documentation for add_filter and apply_filters.
...
Fixes #19203 props DrewAPicture, ericlewis
git-svn-id: https://develop.svn.wordpress.org/trunk@25476 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 07:47:31 +00:00
Peter Westwood
5331611baa
Inline documentation for hooks in wp-includes/class-wp-admin-bar.php
...
See #25229 props betzster
git-svn-id: https://develop.svn.wordpress.org/trunk@25475 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 07:41:54 +00:00
Peter Westwood
e71b7b15cf
Inline documentation for hooks in wp-admin/includes/plugin.php
...
See #25229 props dllh
git-svn-id: https://develop.svn.wordpress.org/trunk@25474 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 07:37:39 +00:00
Dion Hulse
c27b6d968e
WP_HTTP: Fix a typo in the naming of WP_HTTP_Streams::verify_ssl_certificate(). Props SergeyBiryukov See #25007
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25473 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-18 01:50:53 +00:00
Sergey Biryukov
89c1b75ada
Deprecate the_attachment_links(), unused since [6910]. props vinod dalvi. fixes #25340 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25472 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-17 09:07:12 +00:00
Sergey Biryukov
48be5948d5
Expect a possible array of post types in get_body_class(). props norcross. fixes #25341 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25471 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-17 08:49:20 +00:00
Sergey Biryukov
8a46168489
Inline documentation for hooks in wp-admin/user-new.php.
...
props bftrick.
see #25229 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25470 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-17 08:32:07 +00:00
Dion Hulse
ea24e2ce0d
WordPress Upgrades: When defining the default filesystem permissions for files/directories, base the value on the existing ABSPATH & index.php file permissions - so as to respect the executable bit (if set) and not set global read if not required.
...
This sets a minimum permission set to 750 and 640 for directories and files, so any systems requring less permission than that will still need to define the constants themselves. Fixes #20069
git-svn-id: https://develop.svn.wordpress.org/trunk@25469 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-17 08:05:23 +00:00
Dion Hulse
ed8f918e4e
WordPress Core Automatic Updates: Remove some debug. See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25468 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-17 04:07:35 +00:00
Dion Hulse
d1dcc8cca3
WordPress Core Automatic Updates: Switch from using a transient for locking the upgrade process, to using a site option. See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25467 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-17 02:27:21 +00:00
Dion Hulse
194f6f75ae
WordPress Core Automatic Updates: Switch to a twicedaily cronjob to match the update check cron jobs, this removes the ability for update checks to continuously re-queue a upgrade job. See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25466 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-17 02:25:17 +00:00
Andrew Nacin
42260988ba
If the script_loader_src filter returns nothing, bail instead of printing <script src="">.
...
props niallkennedy.
fixes #22470 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25465 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 22:11:12 +00:00
Andrew Nacin
b307e1a23f
Add documentation for the new flush_rewrite_rules_hard filter. fixes #23491 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25464 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 21:59:27 +00:00
Helen Hou-Sandi
54c6cd2793
Make sure quick edited non-alternate taxonomy list table rows don't become alternate. props c3mdigital. fixes #25059 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25463 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 21:10:27 +00:00
Andrew Nacin
b5911d622e
Update jQuery Form to 3.37.0 (unused in WP core).
...
props usermrpapa.
fixes #23944 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25462 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 21:05:35 +00:00
Sergey Biryukov
3af290b2c8
Check if the post type supports title. see #24423 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25461 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 20:50:11 +00:00
Andrew Nacin
6f09a65bf9
Allow the value attribute for list items processed by kses.
...
props kraftbj.
fixes #24293 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25460 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 20:48:36 +00:00
Andrew Nacin
fb1759e417
Only focus the title field when it is empty. Remove ancient code that provided for an alternate condition.
...
props scruffian for initial patches.
props helen.
fixes #24423 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25459 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 20:36:35 +00:00
Sergey Biryukov
42de3388f9
Update inline documentation for l10n functions. props CharlesClarkson, DrewAPicture. fixes #16750 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25458 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 20:16:58 +00:00
Sergey Biryukov
7e6d20733e
Clarify a string in Network Dashboard help text. props DrewAPicture. see #23163 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25457 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 20:13:36 +00:00
Andrew Nacin
c89f2e38a8
Add nginx detection to the Permalink Settings screen.
...
Introduces got_url_rewrite() and a corresponding filter, which should now be used in lieu of the got_rewrite filter in got_mod_rewrite().
This does not write or even suggest nginx configuration; rather, it prevents nginx from being considered as either Apache or as an unrecognized server.
props johnbillion.
fixes #25098 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25456 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 20:06:27 +00:00
Sergey Biryukov
17c772d95b
Inline documentation for hooks in wp-includes/load.php.
...
props mordauk.
see #25229 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25455 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 18:29:18 +00:00
Andrew Nacin
fdc9bc6130
Allow callback args to be passed from wp_add_dashboard_widget() to add_meta_box().
...
props jdgrimes.
fixes #25152 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25454 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 18:06:05 +00:00
Andrew Nacin
400e27e71c
Let the wp_redirect to media-new.php from post-new.php?post_type=attachment be canceled using the wp_redirect filter.
...
props DrewAPicture.
fixes #25216 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25453 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 17:51:58 +00:00
Andrew Nacin
e24a1ac0dc
Use get_terms() in the ajax tag search.
...
props Chouby.
fixes #25231 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25452 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 17:50:16 +00:00
Andrew Nacin
80653c01a1
Always pass integer expirations to cache backends.
...
props SergeyBiryukov, andreasnrb.
fixes #25308 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25451 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 17:42:49 +00:00
Andrew Nacin
a58d80bbc1
Introduce post_password_expires filter to control the expiration of the post password cookie.
...
props Viper007Bond for initial patch.
fixes #21466 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25450 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 17:39:30 +00:00
Sergey Biryukov
80b315f740
Update @since for wp_script_is() and wp_style_is(). props jdgrimes. see #25326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25449 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-16 12:45:54 +00:00
Andrew Nacin
1d80307d5d
Multisite blogs table: Convert the archived field from enum to tinyint to match the other status fields. fixes #12832 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25448 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-15 23:11:30 +00:00
Dion Hulse
3ec962dd56
WordPress Core Automatic Updates: Remove an accidental closure which isn't supported in PHP 5.2. See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25447 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-15 01:25:56 +00:00
Andrew Nacin
d06cb2443f
Proper treatment of the 'archived' field in wp_get_sites(). see #14511 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25446 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-14 23:09:59 +00:00
Andrew Nacin
eb2e3536a9
Introduce wp_get_sites(), a long-awaited replacement for get_blog_list().
...
props jeremyfelt.
see #14511 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25445 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-14 21:12:26 +00:00
Andrew Nacin
a2892990f1
Introduce a img_caption_shortcode_width filter for controlling the inline style of the image caption shortcode.
...
props iandunn for the initial patch.
fixes #14380 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25444 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-14 20:44:26 +00:00
Andrew Nacin
730574eeb5
Don't allow critical scripts to be deregistered on wp-login.php, just as we do in the rest of the admin.
...
props atimmer.
fixes #25017 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25443 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-14 20:20:46 +00:00
Andrew Nacin
db7501f3fa
Move to JSON for the plugin and theme update-check API endpoints. see #25311 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25442 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-14 19:57:27 +00:00
Andrew Nacin
e539910e1a
Move to JSON for three api.wordpress.org endpoints. see #25311 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25441 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-14 19:30:44 +00:00