WordPress.org

Plugin Directory

Changeset 1426487


Ignore:
Timestamp:
05/30/16 00:23:42 (18 months ago)
Author:
dejanmarkovic
Message:

Version: 16.0.1 added Freemius support

Location:
tweet-old-custom-post
Files:
111 added
8 edited

Legend:

Unmodified
Added
Removed
  • tweet-old-custom-post/.idea/.name

    r990643 r1426487  
    1 tweet-old-custom-post 
     1tocp_wp.org 
  • tweet-old-custom-post/.idea/misc.xml

    r990994 r1426487  
    22<project version="4"> 
    33  <component name="PhpXdebugProxy" ide_key="netbeans-xdebug" host="localhost" /> 
     4  <component name="ProjectLevelVcsManager" settingsEditedManually="false"> 
     5    <OptionsSetting value="true" id="Add" /> 
     6    <OptionsSetting value="true" id="Remove" /> 
     7    <OptionsSetting value="true" id="Checkout" /> 
     8    <OptionsSetting value="true" id="Update" /> 
     9    <OptionsSetting value="true" id="Status" /> 
     10    <OptionsSetting value="true" id="Edit" /> 
     11    <ConfirmationsSetting value="0" id="Add" /> 
     12    <ConfirmationsSetting value="0" id="Remove" /> 
     13  </component> 
    414  <component name="ProjectRootManager" version="2" /> 
    515  <component name="SvnBranchConfigurationManager"> 
     
    717  </component> 
    818</project> 
    9  
  • tweet-old-custom-post/.idea/modules.xml

    r990643 r1426487  
    33  <component name="ProjectModuleManager"> 
    44    <modules> 
    5       <module fileurl="file://$PROJECT_DIR$/.idea/tweet-old-custom-post.iml" filepath="$PROJECT_DIR$/.idea/tweet-old-custom-post.iml" /> 
     5      <module fileurl="file://$PROJECT_DIR$/.idea/tocp_wp.org.iml" filepath="$PROJECT_DIR$/.idea/tocp_wp.org.iml" /> 
    66    </modules> 
    77  </component> 
    88</project> 
    9  
  • tweet-old-custom-post/.idea/vcs.xml

    r990994 r1426487  
    55  </component> 
    66</project> 
    7  
  • tweet-old-custom-post/.idea/workspace.xml

    r990994 r1426487  
    22<project version="4"> 
    33  <component name="ChangeListManager"> 
    4     <list default="true" id="bd068134-14e5-42f7-8df6-eddce60527bf" name="Default" comment=""> 
    5       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/Include/DigiCertHighAssuranceEVRootCA.crt" /> 
    6       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/Include" /> 
    7       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/css" /> 
    8       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/images" /> 
    9       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/lib" /> 
    10       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/screenshot-1.png" /> 
    11       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/screenshot-2.png" /> 
    12       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/images/twitter.png" /> 
    13       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/Include/cacert.pem" /> 
    14       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/lib/helpers.php" /> 
    15       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/readme.txt" /> 
    16       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/tocp-admin.php" /> 
    17       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/tocp-core.php" /> 
    18       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/Include/tocp-debug.php" /> 
    19       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/tocp-excludepost.php" /> 
    20       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/Include/tocp-oauth.php" /> 
    21       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/tweet-old-cpost.php" /> 
    22       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/css/tweet-old-post.css" /> 
    23       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/uninstall.php" /> 
    24       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/xml.php" /> 
     4    <list default="true" id="fe5861cf-7ea0-48e2-aac9-3716029a1a04" name="Default" comment=""> 
     5      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/Email campaign v6 - May13-2016.pdf" /> 
     6      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk/Exceptions" /> 
     7      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/css/admin" /> 
     8      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/admin" /> 
     9      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets" /> 
     10      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/css" /> 
     11      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/debug" /> 
     12      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/debug" /> 
     13      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities" /> 
     14      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius" /> 
     15      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/img" /> 
     16      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes" /> 
     17      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/js" /> 
     18      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/managers" /> 
     19      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/img/plugin-icon.png" /> 
     20      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/plugin-info" /> 
     21      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss" /> 
     22      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk" /> 
     23      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/supplements" /> 
     24      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates" /> 
     25      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php" /> 
     26      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk/Exceptions/EmptyArgumentException.php" /> 
     27      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk/Exceptions/Exception.php" /> 
     28      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk/Freemius.php" /> 
     29      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk/FreemiusBase.php" /> 
     30      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk/Exceptions/InvalidArgumentException.php" /> 
     31      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/LICENSE.txt" /> 
     32      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk/LICENSE.txt" /> 
     33      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/sdk/Exceptions/OAuthException.php" /> 
     34      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/README.md" /> 
     35      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/_colors.scss" /> 
     36      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/_functions.scss" /> 
     37      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/_load.scss" /> 
     38      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/_mixins.scss" /> 
     39      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/_start.scss" /> 
     40      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/_vars.scss" /> 
     41      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/css/admin/account.css" /> 
     42      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/account.php" /> 
     43      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/admin/account.scss" /> 
     44      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/css/admin/add-ons.css" /> 
     45      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/add-ons.php" /> 
     46      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/admin/add-ons.scss" /> 
     47      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/admin-notice.php" /> 
     48      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/all-admin-notice.php" /> 
     49      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/debug/api-calls.php" /> 
     50      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/checkout.php" /> 
     51      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/class-freemius-abstract.php" /> 
     52      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/class-freemius.php" /> 
     53      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/managers/class-fs-admin-menu-manager.php" /> 
     54      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/managers/class-fs-admin-notice-manager.php" /> 
     55      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/class-fs-api.php" /> 
     56      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/managers/class-fs-cache-manager.php" /> 
     57      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/debug/class-fs-debug-bar-panel.php" /> 
     58      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-entity.php" /> 
     59      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/managers/class-fs-key-value-storage.php" /> 
     60      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/managers/class-fs-license-manager.php" /> 
     61      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/class-fs-logger.php" /> 
     62      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/managers/class-fs-option-manager.php" /> 
     63      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/managers/class-fs-plan-manager.php" /> 
     64      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-plugin-info.php" /> 
     65      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-plugin-license.php" /> 
     66      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/managers/class-fs-plugin-manager.php" /> 
     67      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-plugin-plan.php" /> 
     68      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-plugin-tag.php" /> 
     69      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/class-fs-plugin-updater.php" /> 
     70      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-plugin.php" /> 
     71      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-pricing.php" /> 
     72      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-scope-entity.php" /> 
     73      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/class-fs-security.php" /> 
     74      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-site.php" /> 
     75      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-subscription.php" /> 
     76      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/entities/class-fs-user.php" /> 
     77      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/css/common.css" /> 
     78      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/css/admin/common.css" /> 
     79      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/admin/common.scss" /> 
     80      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/composer.json" /> 
     81      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/config.php" /> 
     82      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/css/admin/connect.css" /> 
     83      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/connect.php" /> 
     84      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/admin/connect.scss" /> 
     85      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/contact.php" /> 
     86      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/deactivation-feedback-modal.php" /> 
     87      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/css/admin/deactivation-feedback.css" /> 
     88      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/admin/deactivation-feedback.scss" /> 
     89      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/debug/debug-bar-start.php" /> 
     90      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/css/admin/debug.css" /> 
     91      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/debug.php" /> 
     92      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/scss/admin/debug.scss" /> 
     93      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/plugin-info/description.php" /> 
     94      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/email.php" /> 
     95      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/plugin-info/features.php" /> 
     96      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/firewall-issues-js.php" /> 
     97      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/fs-core-functions.php" /> 
     98      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/supplements/fs-essential-functions-1.1.7.1.php" /> 
     99      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/fs-essential-functions.php" /> 
     100      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/fs-plugin-info-dialog.php" /> 
     101      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/includes/i18n.php" /> 
     102      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/js/jquery.ba-postmessage.js" /> 
     103      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/js/jquery.ba-postmessage.min.js" /> 
     104      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/debug/logger.php" /> 
     105      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/js/nojquery.ba-postmessage.js" /> 
     106      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/js/nojquery.ba-postmessage.min.js" /> 
     107      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/plugin-icon.php" /> 
     108      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/debug/plugins-themes-sync.php" /> 
     109      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/assets/js/postmessage.js" /> 
     110      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/powered-by.php" /> 
     111      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/pricing.php" /> 
     112      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/debug/scheduled-crons.php" /> 
     113      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/plugin-info/screenshots.php" /> 
     114      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/start.php" /> 
     115      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/trunk/freemius/templates/sticky-admin-notice-js.php" /> 
     116      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/.name" afterPath="$PROJECT_DIR$/.idea/.name" /> 
    25117      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" /> 
     118      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/modules.xml" afterPath="$PROJECT_DIR$/.idea/modules.xml" /> 
     119      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/trunk/readme.txt" afterPath="$PROJECT_DIR$/trunk/readme.txt" /> 
     120      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/trunk/tocp-admin.php" afterPath="$PROJECT_DIR$/trunk/tocp-admin.php" /> 
     121      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/trunk/tweet-old-cpost.php" afterPath="$PROJECT_DIR$/trunk/tweet-old-cpost.php" /> 
    26122      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/vcs.xml" afterPath="$PROJECT_DIR$/.idea/vcs.xml" /> 
    27123      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> 
    28124    </list> 
    29     <ignored path="tweet-old-custom-post.iws" /> 
     125    <ignored path="tocp_wp.org.iws" /> 
    30126    <ignored path=".idea/workspace.xml" /> 
     127    <ignored path=".idea/dataSources.local.xml" /> 
     128    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> 
    31129    <option name="TRACKING_ENABLED" value="true" /> 
    32130    <option name="SHOW_DIALOG" value="false" /> 
     
    39137    <option name="PATCH_PATH" value="" /> 
    40138  </component> 
    41   <component name="DaemonCodeAnalyzer"> 
    42     <disable_hints /> 
    43   </component> 
    44139  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" /> 
    45140  <component name="FavoritesManager"> 
    46     <favorites_list name="tweet-old-custom-post" /> 
     141    <favorites_list name="tocp_wp.org" /> 
    47142  </component> 
    48143  <component name="FileEditorManager"> 
    49144    <leaf> 
    50       <file leaf-file-name="xml.php" pinned="false" current="true" current-in-tab="true"> 
     145      <file leaf-file-name="xml.php" pinned="false" current-in-tab="false"> 
    51146        <entry file="file://$PROJECT_DIR$/trunk/xml.php"> 
    52147          <provider selected="true" editor-type-id="text-editor"> 
    53             <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.05944056" vertical-offset="51" max-vertical-offset="2295"> 
     148            <state vertical-scroll-proportion="-0.0"> 
     149              <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> 
     150              <folding /> 
     151            </state> 
     152          </provider> 
     153        </entry> 
     154      </file> 
     155      <file leaf-file-name="tweet-old-cpost.php" pinned="false" current-in-tab="true"> 
     156        <entry file="file://$PROJECT_DIR$/trunk/tweet-old-cpost.php"> 
     157          <provider selected="true" editor-type-id="text-editor"> 
     158            <state vertical-scroll-proportion="-1.5309569"> 
     159              <caret line="6" column="0" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="15" /> 
     160              <folding /> 
     161            </state> 
     162          </provider> 
     163        </entry> 
     164      </file> 
     165      <file leaf-file-name="readme.txt" pinned="false" current-in-tab="false"> 
     166        <entry file="file://$PROJECT_DIR$/trunk/readme.txt"> 
     167          <provider selected="true" editor-type-id="text-editor"> 
     168            <state vertical-scroll-proportion="0.0"> 
     169              <caret line="1" column="60" selection-start-line="1" selection-start-column="60" selection-end-line="1" selection-end-column="60" /> 
    54170              <folding /> 
    55171            </state> 
     
    59175    </leaf> 
    60176  </component> 
    61   <component name="FindManager"> 
    62     <FindUsagesManager> 
    63       <setting name="OPEN_NEW_TAB" value="false" /> 
    64     </FindUsagesManager> 
     177  <component name="IdeDocumentHistory"> 
     178    <option name="CHANGED_PATHS"> 
     179      <list> 
     180        <option value="$PROJECT_DIR$/tweet-old-custom-post/tweet-old-custom-post/tweet-old-cpost.php" /> 
     181        <option value="$PROJECT_DIR$/tweet-old-custom-post/tweet-old-custom-post/readme.txt" /> 
     182        <option value="$PROJECT_DIR$/trunk/readme.txt" /> 
     183      </list> 
     184    </option> 
     185  </component> 
     186  <component name="JsBuildToolGruntFileManager" detection-done="true" /> 
     187  <component name="JsGulpfileManager"> 
     188    <detection-done>true</detection-done> 
     189  </component> 
     190  <component name="NamedScopeManager"> 
     191    <order /> 
    65192  </component> 
    66193  <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" interpreter_name="PHP" /> 
    67194  <component name="ProjectFrameBounds"> 
    68     <option name="x" value="1358" /> 
    69     <option name="y" value="-290" /> 
    70     <option name="width" value="1696" /> 
    71     <option name="height" value="1066" /> 
     195    <option name="x" value="-8" /> 
     196    <option name="y" value="-8" /> 
     197    <option name="width" value="1382" /> 
     198    <option name="height" value="744" /> 
    72199  </component> 
    73200  <component name="ProjectLevelVcsManager" settingsEditedManually="true"> 
     
    81208    <ConfirmationsSetting value="0" id="Remove" /> 
    82209  </component> 
    83   <component name="ProjectReloadState"> 
    84     <option name="STATE" value="0" /> 
    85   </component> 
    86210  <component name="ProjectView"> 
    87     <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5"> 
     211    <navigator currentView="ProjectPane" proportions="" version="1"> 
    88212      <flattenPackages /> 
    89213      <showMembers /> 
     
    98222    <panes> 
    99223      <pane id="Scope" /> 
     224      <pane id="Scratches" /> 
    100225      <pane id="ProjectPane"> 
    101226        <subPane> 
    102227          <PATH> 
    103228            <PATH_ELEMENT> 
    104               <option name="myItemId" value="tweet-old-custom-post" /> 
     229              <option name="myItemId" value="tocp_wp.org" /> 
    105230              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> 
    106231            </PATH_ELEMENT> 
     
    108233          <PATH> 
    109234            <PATH_ELEMENT> 
    110               <option name="myItemId" value="tweet-old-custom-post" /> 
     235              <option name="myItemId" value="tocp_wp.org" /> 
    111236              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> 
    112237            </PATH_ELEMENT> 
    113238            <PATH_ELEMENT> 
    114               <option name="myItemId" value="tweet-old-custom-post" /> 
     239              <option name="myItemId" value="tocp_wp.org" /> 
    115240              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> 
    116241            </PATH_ELEMENT> 
     
    122247          <PATH> 
    123248            <PATH_ELEMENT> 
    124               <option name="myItemId" value="tweet-old-custom-post" /> 
     249              <option name="myItemId" value="tocp_wp.org" /> 
    125250              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> 
    126251            </PATH_ELEMENT> 
    127252            <PATH_ELEMENT> 
    128               <option name="myItemId" value="tweet-old-custom-post" /> 
     253              <option name="myItemId" value="tocp_wp.org" /> 
    129254              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> 
    130255            </PATH_ELEMENT> 
     
    144269  <component name="RecentsManager"> 
    145270    <key name="CopyFile.RECENT_KEYS"> 
    146       <recent name="C:\xampp\htdocs\tweet-old-custom-post\trunk" /> 
     271      <recent name="C:\xampp\htdocs\tocp_wp.org\trunk" /> 
    147272    </key> 
    148273  </component> 
    149274  <component name="RunManager"> 
     275    <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug"> 
     276      <method /> 
     277    </configuration> 
    150278    <configuration default="true" type="PHPUnitRunConfigurationType" factoryName="PHPUnit"> 
    151279      <TestRunner /> 
    152280      <method /> 
    153281    </configuration> 
     282    <configuration default="true" type="PhpBehatConfigurationType" factoryName="Behat"> 
     283      <BehatRunner /> 
     284      <method /> 
     285    </configuration> 
    154286    <configuration default="true" type="PhpLocalRunConfigurationType" factoryName="PHP Console"> 
    155287      <method /> 
    156288    </configuration> 
    157     <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug" singleton="true"> 
    158       <method /> 
    159     </configuration> 
    160289    <configuration default="true" type="PhpUnitRemoteRunConfigurationType" factoryName="PHPUnit on Server"> 
    161290      <method /> 
    162291    </configuration> 
    163     <list size="0" /> 
     292    <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js"> 
     293      <method /> 
     294    </configuration> 
    164295  </component> 
    165296  <component name="ShelveChangesManager" show_recycled="false" /> 
    166   <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="true" SSL_PROTOCOLS="all"> 
    167     <option name="USER" value="" /> 
    168     <option name="PASSWORD" value="" /> 
    169     <option name="mySSHConnectionTimeout" value="30000" /> 
    170     <option name="mySSHReadTimeout" value="30000" /> 
    171     <option name="LAST_MERGED_REVISION" /> 
    172     <option name="MERGE_DRY_RUN" value="false" /> 
    173     <option name="MERGE_DIFF_USE_ANCESTRY" value="true" /> 
    174     <option name="UPDATE_LOCK_ON_DEMAND" value="false" /> 
    175     <option name="IGNORE_SPACES_IN_MERGE" value="false" /> 
    176     <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" /> 
    177     <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" /> 
    178     <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" /> 
    179     <option name="FORCE_UPDATE" value="false" /> 
    180     <option name="IGNORE_EXTERNALS" value="false" /> 
    181     <configuration useDefault="true">C:\Users\LPAC006013\AppData\Roaming\Subversion</configuration> 
    182     <myIsUseDefaultProxy>false</myIsUseDefaultProxy> 
     297  <component name="SvnConfiguration" myUseAcceleration="nothing" cleanupOnStartRun="true"> 
     298    <configuration>C:\Users\LPAC006013\AppData\Roaming\Subversion</configuration> 
    183299  </component> 
    184300  <component name="SvnFileUrlMappingImpl"> 
     
    186302      <list> 
    187303        <SvnCopyRootSimple> 
    188           <option name="myVcsRoot" value="C:\xampp\htdocs\tweet-old-custom-post" /> 
    189           <option name="myCopyRoot" value="C:\xampp\htdocs\tweet-old-custom-post" /> 
     304          <option name="myVcsRoot" value="C:\xampp\htdocs\tocp_wp.org" /> 
     305          <option name="myCopyRoot" value="C:\xampp\htdocs\tocp_wp.org" /> 
    190306        </SvnCopyRootSimple> 
    191307        <SvnCopyRootSimple> 
    192           <option name="myVcsRoot" value="C:\xampp\htdocs\tweet-old-custom-post\.idea" /> 
    193           <option name="myCopyRoot" value="C:\xampp\htdocs\tweet-old-custom-post\.idea" /> 
     308          <option name="myVcsRoot" value="C:\xampp\htdocs\tocp_wp.org\.idea" /> 
     309          <option name="myCopyRoot" value="C:\xampp\htdocs\tocp_wp.org\.idea" /> 
    194310        </SvnCopyRootSimple> 
    195311      </list> 
     
    198314      <list> 
    199315        <SvnCopyRootSimple> 
    200           <option name="myVcsRoot" value="C:\xampp\htdocs\tweet-old-custom-post" /> 
    201           <option name="myCopyRoot" value="C:\xampp\htdocs\tweet-old-custom-post" /> 
     316          <option name="myVcsRoot" value="C:\xampp\htdocs\tocp_wp.org" /> 
     317          <option name="myCopyRoot" value="C:\xampp\htdocs\tocp_wp.org" /> 
    202318        </SvnCopyRootSimple> 
    203319      </list> 
     
    206322  <component name="TaskManager"> 
    207323    <task active="true" id="Default" summary="Default task"> 
    208       <changelist id="bd068134-14e5-42f7-8df6-eddce60527bf" name="Default" comment="" /> 
    209       <created>1410870236533</created> 
    210       <updated>1410870236533</updated> 
     324      <changelist id="fe5861cf-7ea0-48e2-aac9-3716029a1a04" name="Default" comment="" /> 
     325      <created>1464566595893</created> 
     326      <option name="number" value="Default" /> 
     327      <updated>1464566595893</updated> 
    211328    </task> 
    212329    <servers /> 
    213330  </component> 
    214331  <component name="ToolWindowManager"> 
    215     <frame x="1358" y="-290" width="1696" height="1066" extended-state="6" /> 
    216     <editor active="false" /> 
     332    <frame x="-8" y="-8" width="1382" height="744" extended-state="6" /> 
     333    <editor active="true" /> 
    217334    <layout> 
    218       <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> 
    219       <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 
     335      <window_info id="Remote Host" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 
     336      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.31316188" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> 
     337      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> 
     338      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> 
     339      <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 
     340      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 
     341      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 
     342      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> 
    220343      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 
    221       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> 
    222       <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 
    223       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> 
    224       <window_info id="Remote Host" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 
    225       <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2045177" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> 
    226       <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 
    227344      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> 
    228       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> 
    229       <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> 
    230       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 
    231345      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> 
    232346      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> 
     347      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> 
     348      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> 
     349      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> 
     350      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> 
     351      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> 
    233352      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> 
    234       <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> 
    235       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> 
    236       <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> 
    237       <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> 
     353      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 
    238354    </layout> 
    239   </component> 
    240   <component name="Vcs.Log.UiProperties"> 
    241     <option name="RECENTLY_FILTERED_USER_GROUPS"> 
    242       <collection /> 
    243     </option> 
    244355  </component> 
    245356  <component name="VcsContentAnnotationSettings"> 
     
    247358  </component> 
    248359  <component name="VcsManagerConfiguration"> 
    249     <option name="myTodoPanelSettings"> 
    250       <TodoPanelSettings /> 
    251     </option> 
     360    <MESSAGE value="Version: 16.0.1 added Freemius support" /> 
     361    <option name="LAST_COMMIT_MESSAGE" value="Version: 16.0.1 added Freemius support" /> 
    252362  </component> 
    253363  <component name="XDebuggerManager"> 
    254364    <breakpoint-manager /> 
     365    <watches-manager /> 
    255366  </component> 
    256367  <component name="editorHistoryManager"> 
    257368    <entry file="file://$PROJECT_DIR$/trunk/xml.php"> 
    258369      <provider selected="true" editor-type-id="text-editor"> 
    259         <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.05944056" vertical-offset="51" max-vertical-offset="2295"> 
     370        <state vertical-scroll-proportion="0.0"> 
     371          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> 
    260372          <folding /> 
    261373        </state> 
    262374      </provider> 
    263375    </entry> 
     376    <entry file="file://$PROJECT_DIR$/trunk/readme.txt"> 
     377      <provider selected="true" editor-type-id="text-editor"> 
     378        <state vertical-scroll-proportion="0.0"> 
     379          <caret line="1" column="60" selection-start-line="1" selection-start-column="60" selection-end-line="1" selection-end-column="60" /> 
     380          <folding /> 
     381        </state> 
     382      </provider> 
     383    </entry> 
     384    <entry file="file://$PROJECT_DIR$/trunk/tweet-old-cpost.php"> 
     385      <provider selected="true" editor-type-id="text-editor"> 
     386        <state vertical-scroll-proportion="-1.5309569"> 
     387          <caret line="6" column="0" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="15" /> 
     388          <folding /> 
     389        </state> 
     390      </provider> 
     391    </entry> 
    264392  </component> 
    265393</project> 
    266  
  • tweet-old-custom-post/trunk/readme.txt

    r1200447 r1426487  
    11=== Tweet Old Custom Post === 
    2 Contributors: dejanmarkovic,nytogroup 
     2Contributors: hypestudio, nytogroup, dejanmarkovic, freemius 
    33Tags:Tweet Old Custom Post, Tweet old post, Tweets, Promote old posts by tweeting them, Promote old custom posts,Tweet custom posts, Tweet cpt's,  Twitter, Auto Tweet, Hashtags, Twitter Hashtags, Tweet Posts, Tweet, Post Tweets, Wordpress Twitter Plugin, Twitter Plugin, Tweet Selected Posts, Twitter, Promote Posts, Tweet Random Post, Share Post, Promote Post, Post Tweets, Wordpress Twitter, Drive Traffic, Tweet Selected Posts 
    44Requires at least: 2.7 
    5 Tested up to: 4.2 
     5Tested up to: 4.5.2 
    66Stable tag: trunk 
    77Donate Link: : http://nytogroup.com/tweet-old-custom-post/ 
    88License: GPLv2 or later 
    9  
     9License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    1010 
    1111Plugin that automatically tweets your old posts (including custom posts) which helps you increase the traffic on your website. 
  • tweet-old-custom-post/trunk/tocp-admin.php

    r1200447 r1426487  
    55require_once( 'xml.php' ); 
    66require_once( 'Include/tocp-debug.php' ); 
     7 
     8 
    79 
    810function tocp_admin() { 
  • tweet-old-custom-post/trunk/tweet-old-cpost.php

    r1200447 r1426487  
    55Description: Wordpress Plugin that automatically tweets your old posts (including custom posts) in order to get more traffic and keep the old posts alive. It also helps you to promote your content. You can set time and number of tweets to post to drive more traffic. For questions, comments, or feature requests, contact us! <a href="http://nytogroup.com/contact/">NYTO Group</a>. 
    66Author:  Dejan Markovic, NYTO Group 
    7 Version: 15.0.1 
     7Version: 16.0.1 
    88Author URI: http://www.dejanmarkovic.com/ 
    99*/ 
     
    2727//tocp_is_debug_enabled(); 
    2828//$tocp_debug->enable( true ); 
    29 define ( 'tocp_opt_1_HOUR', 60 * 60 ); 
    30 define ( 'tocp_opt_2_HOURS', 2 * tocp_opt_1_HOUR ); 
    31 define ( 'tocp_opt_4_HOURS', 4 * tocp_opt_1_HOUR ); 
    32 define ( 'tocp_opt_8_HOURS', 8 * tocp_opt_1_HOUR ); 
    33 define ( 'tocp_opt_6_HOURS', 6 * tocp_opt_1_HOUR ); 
    34 define ( 'tocp_opt_12_HOURS', 12 * tocp_opt_1_HOUR ); 
    35 define ( 'tocp_opt_24_HOURS', 24 * tocp_opt_1_HOUR ); 
    36 define ( 'tocp_opt_48_HOURS', 48 * tocp_opt_1_HOUR ); 
    37 define ( 'tocp_opt_72_HOURS', 72 * tocp_opt_1_HOUR ); 
    38 define ( 'tocp_opt_168_HOURS', 168 * tocp_opt_1_HOUR ); 
    39 define ( 'tocp_opt_INTERVAL', 4 ); 
    40 define ( 'tocp_opt_AGE_LIMIT', 30 ); // 120 days 
    41 define ( 'tocp_opt_MAX_AGE_LIMIT', 60 ); // 120 days 
    42 define ( 'tocp_opt_OMIT_CATS', "" ); 
    43 define ( 'tocp_opt_OMIT_CUSTOM_CATS', "" ); 
     29define( 'tocp_opt_1_HOUR', 60 * 60 ); 
     30define( 'tocp_opt_2_HOURS', 2 * tocp_opt_1_HOUR ); 
     31define( 'tocp_opt_4_HOURS', 4 * tocp_opt_1_HOUR ); 
     32define( 'tocp_opt_8_HOURS', 8 * tocp_opt_1_HOUR ); 
     33define( 'tocp_opt_6_HOURS', 6 * tocp_opt_1_HOUR ); 
     34define( 'tocp_opt_12_HOURS', 12 * tocp_opt_1_HOUR ); 
     35define( 'tocp_opt_24_HOURS', 24 * tocp_opt_1_HOUR ); 
     36define( 'tocp_opt_48_HOURS', 48 * tocp_opt_1_HOUR ); 
     37define( 'tocp_opt_72_HOURS', 72 * tocp_opt_1_HOUR ); 
     38define( 'tocp_opt_168_HOURS', 168 * tocp_opt_1_HOUR ); 
     39define( 'tocp_opt_INTERVAL', 4 ); 
     40define( 'tocp_opt_AGE_LIMIT', 30 ); // 120 days 
     41define( 'tocp_opt_MAX_AGE_LIMIT', 60 ); // 120 days 
     42define( 'tocp_opt_OMIT_CATS', "" ); 
     43define( 'tocp_opt_OMIT_CUSTOM_CATS', "" ); 
    4444define( 'tocp_opt_TWEET_PREFIX', "" ); 
    4545define( 'tocp_opt_ADD_DATA', "false" ); 
     
    5757add_action( 'init', 'tocp_tweet_old_post' ); 
    5858add_action( 'admin_init', 'tocp_authorize', 1 ); 
     59 
     60 
     61// Create a helper function for easy SDK access. 
     62function tocp_fs() { 
     63    global $tocp_fs; 
     64 
     65    if ( ! isset( $tocp_fs ) ) { 
     66        // Include Freemius SDK. 
     67        require_once dirname(__FILE__) . '/freemius/start.php'; 
     68 
     69        $tocp_fs = fs_dynamic_init( array( 
     70            'id'                => '297', 
     71            'slug'              => 'tweet-old-custom-post', 
     72            'public_key'        => 'pk_47f5a490529093c368d84badec470', 
     73            'is_premium'        => false, 
     74            'has_addons'        => false, 
     75            'has_paid_plans'    => false, 
     76            'menu'              => array( 
     77                'slug'       => 'TweetOldCustomPost', 
     78                'account'    => false, 
     79            ), 
     80        ) ); 
     81    } 
     82 
     83    return $tocp_fs; 
     84} 
     85 
     86// Init Freemius. 
     87tocp_fs(); 
     88 
     89function tocp_fs_uninstall_cleanup() { 
     90    if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { 
     91        exit(); 
     92    } 
     93//delete options from tocp 
     94    delete_option( 'top_settings' ); 
     95    delete_option( 'top_opt_admin_url' ); 
     96    delete_option( 'top_opt_last_update' ); 
     97    delete_option( 'top_opt_omit_cats' ); 
     98    delete_option( 'top_opt_omit_cust_cats' ); 
     99    delete_option( 'top_opt_max_age_limit' ); 
     100    delete_option( 'top_opt_age_limit' ); 
     101    delete_option( 'top_opt_excluded_post' ); 
     102    delete_option( 'top_opt_post_type' ); 
     103    delete_option( 'top_opt_no_of_tweet' ); 
     104    delete_option( 'top_opt_tweeted_posts' ); 
     105    delete_option( 'top_opt_tweet_type' ); 
     106    delete_option( 'top_opt_add_text' ); 
     107    delete_option( 'top_opt_add_text_at' ); 
     108    delete_option( 'top_opt_include_link' ); 
     109    delete_option( 'top_opt_custom_hashtag_option' ); 
     110    delete_option( 'top_opt_custom_hashtag_field' ); 
     111    delete_option( 'top_opt_hashtags' ); 
     112    delete_option( 'top_opt_url_shortener' ); 
     113    delete_option( 'top_opt_custom_url_option' ); 
     114    delete_option( 'top_opt_use_url_shortner' ); 
     115    delete_option( 'top_opt_use_inline_hashtags' ); 
     116    delete_option( 'top_opt_hashtag_length' ); 
     117    delete_option( 'top_opt_custom_url_field' ); 
     118    delete_option( 'top_opt_bitly_key' ); 
     119    delete_option( 'top_opt_bitly_user' ); 
     120    delete_option( 'top_opt_interval' ); 
     121    delete_option( 'top_settings' ); 
     122    delete_option( 'top_enable_log' ); 
     123    delete_option( 'top_opt_add_text' ); 
     124    delete_option( 'top_opt_add_text_at' ); 
     125    delete_option( 'top_opt_use_inline_hashtags' ); 
     126    delete_option( 'top_opt_use_url_shortner' ); 
     127    delete_option( 'top_reauthorize' ); 
     128//delete options from tocp 
     129    delete_option( 'tocp_settings' ); 
     130    delete_option( 'tocp_opt_admin_url' ); 
     131    delete_option( 'tocp_opt_last_update' ); 
     132    delete_option( 'tocp_opt_omit_cats' ); 
     133    delete_option( 'tocp_opt_omit_cust_cats' ); 
     134    delete_option( 'tocp_opt_max_age_limit' ); 
     135    delete_option( 'tocp_opt_age_limit' ); 
     136    delete_option( 'tocp_opt_excluded_post' ); 
     137    delete_option( 'tocp_opt_post_type' ); 
     138    delete_option( 'tocp_opt_no_of_tweet' ); 
     139    delete_option( 'tocp_opt_tweeted_posts' ); 
     140    delete_option( 'tocp_opt_tweet_type' ); 
     141    delete_option( 'tocp_opt_add_text' ); 
     142    delete_option( 'tocp_opt_add_text_at' ); 
     143    delete_option( 'tocp_opt_include_link' ); 
     144    delete_option( 'tocp_opt_custom_hashtag_option' ); 
     145    delete_option( 'tocp_opt_custom_hashtag_field' ); 
     146    delete_option( 'tocp_opt_hashtags' ); 
     147    delete_option( 'tocp_opt_url_shortener' ); 
     148    delete_option( 'tocp_opt_custom_url_option' ); 
     149    delete_option( 'tocp_opt_use_url_shortner' ); 
     150    delete_option( 'tocp_opt_use_inline_hashtags' ); 
     151    delete_option( 'tocp_opt_hashtag_length' ); 
     152    delete_option( 'tocp_opt_custom_url_field' ); 
     153    delete_option( 'tocp_opt_bitly_key' ); 
     154    delete_option( 'tocp_opt_bitly_user' ); 
     155    delete_option( 'tocp_opt_interval' ); 
     156    delete_option( 'tocp_settings' ); 
     157    delete_option( 'tocp_enable_log' ); 
     158    delete_option( 'tocp_opt_add_text' ); 
     159    delete_option( 'tocp_opt_add_text_at' ); 
     160    delete_option( 'tocp_opt_use_inline_hashtags' ); 
     161    delete_option( 'tocp_opt_use_url_shortner' ); 
     162    delete_option( 'tocp_reauthorize' ); 
     163} 
     164 
     165add_action( 'after_uninstall', 'tocp_fs_uninstall_cleanup' ); 
     166 
     167 
    59168function tocp_authorize() { 
    60169    if ( isset ( $_GET['page'] ) ) { 
Note: See TracChangeset for help on using the changeset viewer.