Skip to content

Commit

Permalink
prepare release 1.1.2. #123 should be all fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanstegall committed Nov 20, 2017
1 parent 10f809b commit e58ebc5
Show file tree
Hide file tree
Showing 18 changed files with 8,100 additions and 8,067 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ php:

env:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=4.9 WP_MULTISITE=0
- WP_VERSION=4.8 WP_MULTISITE=0
- WP_VERSION=4.7 WP_MULTISITE=0
- WP_VERSION=4.6 WP_MULTISITE=0
Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

* 1.1.2 (2017-11-20)
* Clarify the documentation, and the code, for the following developer hooks:
* `object_sync_for_salesforce_add_more_wordpress_types`
* `object_sync_for_salesforce_remove_wordpress_types`
* `object_sync_for_salesforce_wordpress_object_data`
* Thanks to WordPress user @justanothercoder for asking about this, leading to the fix.

* 1.1.1 (2017-11-17)
* This release removes the `screen_icon()` method from admin.php. It has been deprecated apparently since 3.8, but in 4.9 it officially throws PHP Notice messages in `WP_DEBUG` mode.

Expand Down
12 changes: 6 additions & 6 deletions docs/code/class-Object_Sync_Sf_Admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h1>Class Object_Sync_Sf_Admin</h1>



<b>Located at</b> <a href="source-class-Object_Sync_Sf_Admin.html#12-1754" title="Go to source code">admin.php</a>
<b>Located at</b> <a href="source-class-Object_Sync_Sf_Admin.html#12-1753" title="Go to source code">admin.php</a>
<br>
</div>

Expand Down Expand Up @@ -1341,7 +1341,7 @@ <h4>Parameters</h4>

<td class="name"><div>
<a class="anchor" href="#_tabs">#</a>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1649-1681" title="Go to source code">tabs</a>( <span>array <var>$tabs</var></span>, <span>string <var>$tab</var> = <span class="php-quote">''</span> </span> )</code>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1649-1680" title="Go to source code">tabs</a>( <span>array <var>$tabs</var></span>, <span>string <var>$tab</var> = <span class="php-quote">''</span> </span> )</code>

<div class="description short">
<p>Render tabs for settings pages in admin</p>
Expand Down Expand Up @@ -1378,7 +1378,7 @@ <h4>Parameters</h4>

<td class="name"><div>
<a class="anchor" href="#_clear_schedule">#</a>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1683-1696" title="Go to source code">clear_schedule</a>( <span> <var>$schedule_name</var> = <span class="php-quote">''</span> </span> )</code>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1682-1695" title="Go to source code">clear_schedule</a>( <span> <var>$schedule_name</var> = <span class="php-quote">''</span> </span> )</code>

<div class="description short">
<p>Clear schedule
Expand Down Expand Up @@ -1410,7 +1410,7 @@ <h4>Parameters</h4>

<td class="name"><div>
<a class="anchor" href="#_get_schedule_count">#</a>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1698-1705" title="Go to source code">get_schedule_count</a>( <span> <var>$schedule_name</var> = <span class="php-quote">''</span> </span> )</code>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1697-1704" title="Go to source code">get_schedule_count</a>( <span> <var>$schedule_name</var> = <span class="php-quote">''</span> </span> )</code>

<div class="description short">

Expand Down Expand Up @@ -1440,7 +1440,7 @@ <h4>Parameters</h4>

<td class="name"><div>
<a class="anchor" href="#_schedule">#</a>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1707-1718" title="Go to source code">schedule</a>( <span> <var>$schedule_name</var></span> )</code>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1706-1717" title="Go to source code">schedule</a>( <span> <var>$schedule_name</var></span> )</code>

<div class="description short">
<p>Load the schedule class</p>
Expand Down Expand Up @@ -1470,7 +1470,7 @@ <h4>Parameters</h4>

<td class="name"><div>
<a class="anchor" href="#_create_object_map">#</a>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1720-1752" title="Go to source code">create_object_map</a>( <span>integer <var>$wordpress_id</var></span>, <span>string <var>$wordpress_object</var></span>, <span>string <var>$salesforce_id</var></span>, <span>string <var>$action</var> = <span class="php-quote">''</span> </span> )</code>
<code><a href="source-class-Object_Sync_Sf_Admin.html#1719-1751" title="Go to source code">create_object_map</a>( <span>integer <var>$wordpress_id</var></span>, <span>string <var>$wordpress_object</var></span>, <span>string <var>$salesforce_id</var></span>, <span>string <var>$action</var> = <span class="php-quote">''</span> </span> )</code>

<div class="description short">
<p>Create an object map between a WordPress object and a Salesforce object</p>
Expand Down
10 changes: 5 additions & 5 deletions docs/code/class-Object_Sync_Sf_Salesforce_Push.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h1>Class Object_Sync_Sf_Salesforce_Push</h1>



<b>Located at</b> <a href="source-class-Object_Sync_Sf_Salesforce_Push.html#12-1041" title="Go to source code">salesforce_push.php</a>
<b>Located at</b> <a href="source-class-Object_Sync_Sf_Salesforce_Push.html#12-1042" title="Go to source code">salesforce_push.php</a>
<br>
</div>

Expand Down Expand Up @@ -821,7 +821,7 @@ <h4>Parameters</h4>

<td class="name"><div>
<a class="anchor" href="#_salesforce_push_object_crud">#</a>
<code><a href="source-class-Object_Sync_Sf_Salesforce_Push.html#316-440" title="Go to source code">salesforce_push_object_crud</a>( <span>string <var>$object_type</var></span>, <span>object <var>$object</var></span>, <span>integer <var>$sf_sync_trigger</var></span>, <span>boolean <var>$manual</var> = <span class="php-keyword1">false</span> </span> )</code>
<code><a href="source-class-Object_Sync_Sf_Salesforce_Push.html#316-441" title="Go to source code">salesforce_push_object_crud</a>( <span>string <var>$object_type</var></span>, <span>object <var>$object</var></span>, <span>integer <var>$sf_sync_trigger</var></span>, <span>boolean <var>$manual</var> = <span class="php-keyword1">false</span> </span> )</code>

<div class="description short">
<p>Push objects to Salesforce.
Expand Down Expand Up @@ -864,7 +864,7 @@ <h4>Parameters</h4>

<td class="name"><div>
<a class="anchor" href="#_schedule">#</a>
<code><a href="source-class-Object_Sync_Sf_Salesforce_Push.html#442-450" title="Go to source code">schedule</a>( )</code>
<code><a href="source-class-Object_Sync_Sf_Salesforce_Push.html#443-451" title="Go to source code">schedule</a>( )</code>

<div class="description short">

Expand Down Expand Up @@ -894,7 +894,7 @@ <h4>Parameters</h4>

<td class="name"><div>
<a class="anchor" href="#_salesforce_push_sync_rest">#</a>
<code><a href="source-class-Object_Sync_Sf_Salesforce_Push.html#452-994" title="Go to source code">salesforce_push_sync_rest</a>( <span>string <var>$object_type</var></span>, <span>object <var>$object</var></span>, <span>object <var>$mapping</var></span>, <span>integer <var>$sf_sync_trigger</var></span> )</code>
<code><a href="source-class-Object_Sync_Sf_Salesforce_Push.html#453-995" title="Go to source code">salesforce_push_sync_rest</a>( <span>string <var>$object_type</var></span>, <span>object <var>$object</var></span>, <span>object <var>$mapping</var></span>, <span>integer <var>$sf_sync_trigger</var></span> )</code>

<div class="description short">
<p>Sync WordPress objects and Salesforce objects using the REST API.</p>
Expand Down Expand Up @@ -939,7 +939,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_create_object_map">#</a>
<code><a href="source-class-Object_Sync_Sf_Salesforce_Push.html#996-1039" title="Go to source code">create_object_map</a>( <span>array <var>$wordpress_object</var></span>, <span>string <var>$id_field_name</var></span>, <span>string <var>$salesforce_id</var></span>, <span>array <var>$field_mapping</var></span>, <span> <var>$pending</var> = <span class="php-keyword1">false</span> </span> )</code>
<code><a href="source-class-Object_Sync_Sf_Salesforce_Push.html#997-1040" title="Go to source code">create_object_map</a>( <span>array <var>$wordpress_object</var></span>, <span>string <var>$id_field_name</var></span>, <span>string <var>$salesforce_id</var></span>, <span>array <var>$field_mapping</var></span>, <span> <var>$pending</var> = <span class="php-keyword1">false</span> </span> )</code>

<div class="description short">
<p>Create an object map between a WordPress object and a Salesforce object</p>
Expand Down
16 changes: 8 additions & 8 deletions docs/code/class-Object_Sync_Sf_WordPress_Transient.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h1>Class Object_Sync_Sf_WordPress_Transient</h1>



<b>Located at</b> <a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2388-2473" title="Go to source code">wordpress.php</a>
<b>Located at</b> <a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2394-2479" title="Go to source code">wordpress.php</a>
<br>
</div>

Expand All @@ -124,7 +124,7 @@ <h1>Class Object_Sync_Sf_WordPress_Transient</h1>

<td class="name"><div>
<a class="anchor" href="#___construct">#</a>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2395-2403" title="Go to source code">__construct</a>( <span>string <var>$name</var></span> )</code>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2401-2409" title="Go to source code">__construct</a>( <span>string <var>$name</var></span> )</code>

<div class="description short">
<p>Constructor which sets cache options and the name of the field that lists this plugin's cache keys.</p>
Expand Down Expand Up @@ -159,7 +159,7 @@ <h4>Parameters</h4>

<td class="name"><div>
<a class="anchor" href="#_all_keys">#</a>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2405-2412" title="Go to source code">all_keys</a>( )</code>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2411-2418" title="Go to source code">all_keys</a>( )</code>

<div class="description short">
<p>Get the transient that lists all the other transients for this plugin.</p>
Expand Down Expand Up @@ -193,7 +193,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_set">#</a>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2414-2432" title="Go to source code">set</a>( <span>string <var>$cachekey</var></span>, <span>mixed <var>$value</var></span>, <span>integer <var>$cache_expiration</var> = <span class="php-num">0</span> </span> )</code>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2420-2438" title="Go to source code">set</a>( <span>string <var>$cachekey</var></span>, <span>mixed <var>$value</var></span>, <span>integer <var>$cache_expiration</var> = <span class="php-num">0</span> </span> )</code>

<div class="description short">
<p>Set individual transient, and add its key to the list of this plugin's transients.</p>
Expand Down Expand Up @@ -236,7 +236,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_get">#</a>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2434-2444" title="Go to source code">get</a>( <span>string <var>$cachekey</var></span> )</code>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2440-2450" title="Go to source code">get</a>( <span>string <var>$cachekey</var></span> )</code>

<div class="description short">
<p>Get the individual cache value</p>
Expand Down Expand Up @@ -275,7 +275,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_delete">#</a>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2446-2456" title="Go to source code">delete</a>( <span>string <var>$cachekey</var></span> )</code>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2452-2462" title="Go to source code">delete</a>( <span>string <var>$cachekey</var></span> )</code>

<div class="description short">
<p>Delete the individual cache value</p>
Expand Down Expand Up @@ -314,7 +314,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_flush">#</a>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2458-2471" title="Go to source code">flush</a>( )</code>
<code><a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2464-2477" title="Go to source code">flush</a>( )</code>

<div class="description short">
<p>Delete the entire cache for this plugin</p>
Expand Down Expand Up @@ -358,7 +358,7 @@ <h4>Returns</h4>
</code></td>

<td class="name">
<a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2393" title="Go to source code"><var>$name</var></a>
<a href="source-class-Object_Sync_Sf_WordPress_Transient.html#2399" title="Go to source code"><var>$name</var></a>

<div class="description short">

Expand Down
Loading

0 comments on commit e58ebc5

Please sign in to comment.