Skip to content

Commit

Permalink
Update docs link in datetime.php (#7405)
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark authored Feb 27, 2025
2 parents 2ca7d26 + ebd9796 commit b63dd64
Show file tree
Hide file tree
Showing 2 changed files with 487 additions and 486 deletions.
10 changes: 5 additions & 5 deletions classes/fields/datetime.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function options() {
'default' => '',
'type' => 'text',
'help' => sprintf(
'<a href="https://docs.pods.io/fields/date-time-fields/datetime/" target="_blank" rel="noopener noreferrer">%1$s</a>',
'<a href="https://docs.pods.io/fields/datetime/" target="_blank" rel="noopener noreferrer">%1$s</a>',
esc_html__( 'Date / Time field documentation', 'pods' )
),
),
Expand All @@ -90,7 +90,7 @@ public function options() {
'default' => '',
'type' => 'text',
'help' => sprintf(
'<a href="https://docs.pods.io/fields/date-time-fields/datetime/" target="_blank" rel="noopener noreferrer">%1$s</a><br />%2$s',
'<a href="https://docs.pods.io/fields/datetime/" target="_blank" rel="noopener noreferrer">%1$s</a><br />%2$s',
esc_html__( 'Date / Time field documentation', 'pods' ),
esc_html__( 'Leave empty to auto-generate from PHP format.', 'pods' )
),
Expand Down Expand Up @@ -139,7 +139,7 @@ public function options() {
'default' => '',
'type' => 'text',
'help' => sprintf(
'<a href="https://docs.pods.io/fields/date-time-fields/datetime/" target="_blank" rel="noopener noreferrer">%1$s</a>',
'<a href="https://docs.pods.io/fields/datetime/" target="_blank" rel="noopener noreferrer">%1$s</a>',
esc_html__( 'Date / Time field documentation', 'pods' )
),
),
Expand All @@ -150,7 +150,7 @@ public function options() {
'default' => '',
'type' => 'text',
'help' => sprintf(
'<a href="https://docs.pods.io/fields/date-time-fields/datetime/" target="_blank" rel="noopener noreferrer">%1$s</a><br />%2$s',
'<a href="https://docs.pods.io/fields/datetime/" target="_blank" rel="noopener noreferrer">%1$s</a><br />%2$s',
esc_html__( 'Date / Time field documentation', 'pods' ),
esc_html__( 'Leave empty to auto-generate from PHP format.', 'pods' )
),
Expand Down Expand Up @@ -194,7 +194,7 @@ public function options() {
'default' => '',
'type' => 'text',
'help' => sprintf(
'%1$s<br /><a href="https://docs.pods.io/fields/date-time-fields/datetime/" target="_blank" rel="noopener noreferrer">%2$s</a>',
'%1$s<br /><a href="https://docs.pods.io/fields/datetime/" target="_blank" rel="noopener noreferrer">%2$s</a>',
sprintf(
esc_html__( 'Example: %1$s for specifying a hard coded year range or %2$s for the last and next 10 years.', 'pods' ),
'<code>2010:2030</code>',
Expand Down
Loading

0 comments on commit b63dd64

Please sign in to comment.