Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2021-05-19 17:21:38

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,419
Website GitHub

[Done] <txp:search_result_date>: remove?

Why do we have this tag? All it does is call <txp:posted /> internally.

Any objections if we kill it off?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#2 2021-05-19 20:14:31

etc
Developer
Registered: 2010-11-11
Posts: 5,134
Website GitHub

Re: [Done] <txp:search_result_date>: remove?

No objections.

Offline

#3 2021-05-19 21:07:25

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,419
Website GitHub

Re: [Done] <txp:search_result_date>: remove?

Cool. Since it’s so easy to do I might just add a deprecation warning in 4.8.6. I doubt anyone’s using the tag anyway and I’ve amended the tag docs to remove reference to it today. Hopefully that will mean nobody uses it going forward.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2021-05-20 04:08:56

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,071
Website GitHub Mastodon Twitter

Re: [Done] <txp:search_result_date>: remove?

Will the posted tag work in the search context?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2021-05-20 06:28:10

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,419
Website GitHub

Re: [Done] <txp:search_result_date>: remove?

Posted is posted is posted. The date of posting doesn’t change whether you navigate to an article or search for it. So, yes.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#6 2021-05-20 08:02:19

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,419
Website GitHub

Re: [Done] <txp:search_result_date>: remove?

Deprecated in 4.8.6 onward. Use <txp:posted /> instead.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#7 2021-05-20 10:59:29

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,071
Website GitHub Mastodon Twitter

Re: [Done] <txp:search_result_date>: remove?

Should the tag example be updated to have just posted?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#8 2021-05-20 11:20:47

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,419
Website GitHub

Re: [Done] <txp:search_result_date>: remove?

Maybe. I was going to leave it there so people know it does the same thing. Maybe that should be stated: I’ll do that.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB