Scott Taylor
9bb9ea8185
Cron: clarify descriptions for Cron API functions.
...
Props johnbillion.
Fixes #37769 .
git-svn-id: https://develop.svn.wordpress.org/trunk@38357 602fd350-edb4-49c9-b593-d223f7449a82
2016-08-26 09:21:33 +00:00
Sergey Biryukov
ad09174df2
Docs: In wp_schedule_single_event()
, add a note about scheduling an event to occur within 10 minutes of another event with the same action hook.
...
Props medariox.
Fixes #37455 .
git-svn-id: https://develop.svn.wordpress.org/trunk@38148 602fd350-edb4-49c9-b593-d223f7449a82
2016-07-25 12:22:21 +00:00
Sergey Biryukov
920f29616a
Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong()
, _deprecated_function()
, _deprecated_argument()
, and _deprecated_file()
throughout core.
...
Props metodiew.
Fixes #36495 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37985 602fd350-edb4-49c9-b593-d223f7449a82
2016-07-06 12:39:01 +00:00
Drew Jaynes
bd1d3f0a8c
Docs: Apply inline @see
tags to hooks referenced in DocBlocks in a variety of wp-includes/* files.
...
Applying these specially-crafted `@see` tags allows the Code Reference parser to recognize and link these elements as actions and filters.
See #36921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37542 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 18:58:48 +00:00
Drew Jaynes
d11f7ed391
Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37518 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:49:05 +00:00
Drew Jaynes
520ed6b725
Docs: Remove/replace invalid inline @link
tags in DocBlocks in wp-includes/*.
...
Fixes #36910 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37487 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 17:39:00 +00:00
Drew Jaynes
740cab2a4b
Docs: Adjust formatting for an added-parameter changelog entry in the hook doc for the cron_request
filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36299 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-14 17:29:04 +00:00
Eric Andrew Lewis
5c7043593b
Cron: Add the cron lock timestamp to the 'cron_request' filter arguments.
...
Fixes #31307
git-svn-id: https://develop.svn.wordpress.org/trunk@36228 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-08 23:53:10 +00:00
Drew Jaynes
a2f5cdb5bb
Docs: Add a missing notation for the $gmt_time
parameter in the DocBlock for spawn_cron()
.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36022 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 08:19:54 +00:00
Scott Taylor
daa01c703b
Cron: In spawn_cron()
, when using ALTERNATE_WP_CRON
, return early for any non-GET
, instead of naively checking ! empty( $_POST )
.
...
Props johnbillion, markoheijnen.
Fixes #27447 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34576 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-26 04:50:06 +00:00
Sergey Biryukov
f4f1ed43e7
Document @return
value for wp_unschedule_event()
.
...
See #33475 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34044 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-11 11:34:52 +00:00
Scott Taylor
a4a469d887
After [33843], update the location of some files in This filter is documented in
docs
...
Props dimadin.
See #33413 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33954 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-08 22:16:57 +00:00
Dion Hulse
95b3edd4ce
Cron: Reject events when the provided $timestamp
is not a valid timestamp.
...
Invalid timestamps were previously accepted by the scheduling functions but would never be run due to our implementation which caused the cron option to forever contain the events.
This rejects such events which most likely only occur due to developer error.
Props utkarshpatel, wonderboymusic, SergeyBiryukov.
See #33423 , Fixes #33475
git-svn-id: https://develop.svn.wordpress.org/trunk@33936 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-07 02:38:12 +00:00
Scott Taylor
8e3c811b64
Alter some @return
doc blocks for cron.php
.
...
See #32444 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32588 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-24 21:10:00 +00:00
Drew Jaynes
eb60152449
Improve inline documentation for the cron lock behavior.
...
Props ericlewis.
Fixes #32478 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32580 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-24 17:25:52 +00:00
Dominik Schilling (ocean90)
b0d6757918
Use HTTPS URLs for codex.wordpress.org.
...
see #27115 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32116 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-12 21:28:58 +00:00
Scott Taylor
4d46475b3d
Improve various @param
docs for src/wp-includes/*
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30681 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 01:33:34 +00:00
Drew Jaynes (DrewAPicture)
ccc5f88887
Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented.
...
Affects DocBlocks for the following core elements:
* Backtick-escapes a `<link>` tag in a parameter description for the `embed_oembed_discover` hook
* Inline code fixes in the summary and return description for `WP_List_Table::get_table_classes()`
* Removes HTML markup from the summary for `WP_List_Table::display_rows_or_placeholder()`
* Backtick-escapes a `<tr>` tag in a parameter description for `WP_Users_List_Table::single_row()`
* Converts non-DocBlocks into multi-line comments in `WP_Dependencies::do_items()`
* Removes HTML markup from the summary for the `comment_form_top` hook.
* Inline code and snippet fixes in the description for `wp_get_schedules()`
Props rarst for the initial patch.
See #30473 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30537 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-24 04:57:17 +00:00
Scott Taylor
be59c5009e
wp_schedule_single_event()
should not prevent scheduling a future duplicate event. It should only reject an event as a duplicate if there is already a similar event scheduled within 10 minutes of the given timestamp.
...
Adds unit tests, fixes existing cron test.
Props tellyworth.
See [9181], #6966 .
Fixes #28213 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29939 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-17 19:16:26 +00:00
Sergey Biryukov
2becf84579
Skip ALTERNATE_WP_CRON redirect when performing XML-RPC requests.
...
props markoheijnen.
fixes #27447 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29732 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-11 14:01:04 +00:00
Sergey Biryukov
4b55c3d722
Avoid an undefined index notice in wp_reschedule_event().
...
props paulschreiber.
fixes #29077 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29349 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-01 20:56:11 +00:00
John Blackbourn
036c2b5fca
Remove SSL verification by default for requests to wp-cron.php. Props sivel, rhurling. Fixes #12609 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28781 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-19 22:52:35 +00:00
Dion Hulse
457e59656a
Cron: Fix a case where a cache inconsistency can cause wp_clear_scheduled_hook() to enter an infinite loop. This unravels the function from using other cron api functions to looping over the cron array directly. See #25773
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26782 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 09:12:51 +00:00
Dominik Schilling (ocean90)
a0f913563c
Cron Request: Fix incorrect use of add_query_arg() arguments.
...
props datafeedrcom, dimadin.
see [26267].
fixes #26218 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26365 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 21:48:32 +00:00
Drew Jaynes
41f46d5e85
Inline documentation for hooks in wp-includes/cron.php.
...
Props tmtoy for the initial patch.
Fixes #25475 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26267 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 05:00:39 +00:00
Andrew Nacin
b43712e0f7
New develop.svn.wordpress.org repository based on the old core.svn repository.
...
* All WordPress files move to a src/ directory.
* New task runner (Grunt), configured to copy a built WordPress to build/.
* svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
* Remove Akismet external from develop.svn. Still exists in core.svn.
* Drop minified files from src/. The build process will now generate these.
props koop.
see #24976 .
and see http://wp.me/p2AvED-1AI .
git-svn-id: https://develop.svn.wordpress.org/trunk@25001 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 05:25:25 +00:00