Skip to content

Commit b82d6f4

Browse files
authored
Merge pull request #81 from stellarwp/tweak/version-bump
Replace TBDs
2 parents 45a14b6 + 38424ca commit b82d6f4

File tree

11 files changed

+23
-23
lines changed

11 files changed

+23
-23
lines changed

src/Uplink/Admin/Asset_Manager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function register_assets(): void {
2727
/**
2828
* Filters the JS source for the admin.
2929
*
30-
* @since TBD
30+
* @since 2.0.0
3131
*
3232
* @param string $js_src The JS source.
3333
*/
@@ -41,7 +41,7 @@ public function register_assets(): void {
4141
/**
4242
* Filters the CSS source for the admin.
4343
*
44-
* @since TBD
44+
* @since 2.0.0
4545
*
4646
* @param string $css_src The CSS source.
4747
*/

src/Uplink/Admin/Fields/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function get_render_html(): string {
8888
/**
8989
* Filters the form HTML.
9090
*
91-
* @since TBD
91+
* @since 2.0.0
9292
*
9393
* @param string $html The form HTML.
9494
*/

src/Uplink/Admin/License_Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* Class License_Field
1212
*
13-
* @deprecated TBD Use the Fields\Field and Fields\Form classes instead.
13+
* @deprecated 2.0.0 Use the Fields\Field and Fields\Form classes instead.
1414
*/
1515
class License_Field extends Field {
1616

src/Uplink/Auth/Authorizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function can_auth(): bool {
2020
/**
2121
* Filters if the current user can perform an action.
2222
*
23-
* @since TBD
23+
* @since 2.0.0
2424
*
2525
* @param bool $can_auth Whether the current user can perform an action.
2626
*/

src/Uplink/Auth/Token/Contracts/Token_Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function get( Resource $plugin ): ?string;
5454
/**
5555
* Retrieve all store tokens, indexed by their slug.
5656
*
57-
* @since TBD
57+
* @since 2.0.0
5858
*
5959
* @note If a legacy token previously existed, it will be indexed by the key `legacy`.
6060
*

src/Uplink/Auth/Token/Token_Manager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function validate( string $token ): bool {
6666
/**
6767
* Store the token.
6868
*
69-
* @since TBD Added $plugin param.
69+
* @since 2.0.0 Added $plugin param.
7070
*
7171
* @param string $token The token to store.
7272
* @param Resource $plugin The Product to store the token for.
@@ -93,7 +93,7 @@ public function store( string $token, Resource $plugin ): bool {
9393
/**
9494
* Get the token.
9595
*
96-
* @since TBD Added $plugin param.
96+
* @since 2.0.0 Added $plugin param.
9797
*
9898
* @note This will fallback to the legacy token, if it exists.
9999
*
@@ -112,7 +112,7 @@ public function get( Resource $plugin ): ?string {
112112
*
113113
* @note Legacy tokens are stored as a string, and will be returned with the `legacy` slug.
114114
*
115-
* @since TBD
115+
* @since 2.0.0
116116
*
117117
* @return array<string, string>
118118
*/

src/Uplink/Register.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Register {
1010
* Register a plugin resource.
1111
*
1212
* @since 1.0.0
13-
* @since TBD Added oAuth parameter.
13+
* @since 2.0.0 Added oAuth parameter.
1414
*
1515
* @param string $slug Resource slug.
1616
* @param string $name Resource name.
@@ -30,7 +30,7 @@ public static function plugin( $slug, $name, $version, $path, $class, $license_c
3030
* Register a service resource.
3131
*
3232
* @since 1.0.0
33-
* @since TBD Added oAuth parameter.
33+
* @since 2.0.0 Added oAuth parameter.
3434
*
3535
* @param string $slug Resource slug.
3636
* @param string $name Resource name.

src/Uplink/Resources/License.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function get_key( $type = 'any' ) {
165165
*
166166
* Accepts the resource's slug dynamically.
167167
*
168-
* @since TBD
168+
* @since 2.0.0
169169
*
170170
* @param string|null $key The license key.
171171
* @param Resource $resource The resource instance.
@@ -393,7 +393,7 @@ public function set_key( string $key, string $type = 'local' ): bool {
393393
/**
394394
* Sets the key status based on the key validation check results.
395395
*
396-
* @since TBD
396+
* @since 2.0.0
397397
*
398398
* @param int $valid 0 for invalid, 1 or 2 for valid.
399399
*

src/Uplink/Resources/Resource.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ abstract class Resource {
116116
/**
117117
* Is the plugin using OAuth?
118118
*
119-
* @since TBD
119+
* @since 2.0.0
120120
*
121121
* @var bool
122122
*/
@@ -126,7 +126,7 @@ abstract class Resource {
126126
* Constructor.
127127
*
128128
* @since 1.0.0
129-
* @since TBD Added oAuth parameter.
129+
* @since 2.0.0 Added oAuth parameter.
130130
*
131131
* @param string $slug Resource slug.
132132
* @param string $name Resource name.
@@ -163,7 +163,7 @@ public function delete_license_key( $type = 'local' ): bool {
163163
/**
164164
* Get if the plugin is using oAuth.
165165
*
166-
* @since TBD
166+
* @since 2.0.0
167167
*
168168
* @return bool
169169
*/
@@ -219,7 +219,7 @@ public function get_download_args() {
219219
/**
220220
* Get the Resource's oAuth token.
221221
*
222-
* @since TBD
222+
* @since 2.0.0
223223
*
224224
* @return ?string
225225
*/
@@ -230,7 +230,7 @@ public function get_token(): ?string {
230230
/**
231231
* Store the Resource's oAuth token.
232232
*
233-
* @since TBD
233+
* @since 2.0.0
234234
*
235235
* @param string $token The token to store.
236236
*
@@ -450,7 +450,7 @@ abstract public static function register( $name, $slug, $path, $class, $version,
450450
* Register a resource and add it to the collection.
451451
*
452452
* @since 1.0.0
453-
* @since TBD Added oAuth parameter.
453+
* @since 2.0.0 Added oAuth parameter.
454454
*
455455
* @param string $resource_class Resource class.
456456
* @param string $slug Resource slug.

src/views/admin/fields/field.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* Fires before the field.
1414
*
15-
* @since TBD
15+
* @since 2.0.0
1616
*/
1717
do_action( 'stellarwp/uplink/' . Config::get_hook_prefix(). '/license_field_before_field', $field->get_slug() );
1818
?>
@@ -56,6 +56,6 @@ class="regular-text stellarwp-uplink__settings-field"
5656
/**
5757
* Fires after the field.
5858
*
59-
* @since TBD
59+
* @since 2.0.0
6060
*/
6161
do_action( 'stellarwp/uplink/' . Config::get_hook_prefix(). '/license_field_after_field', $field->get_slug() );

0 commit comments

Comments
 (0)